How to regulate the number of digits to appear after the decimal-level character for your double variable? two Jerry CoffinJerry Coffin 493k8383 gold badges652652 silver badges1.1k1.1k bronze badges 7 twelve Observe that g++ rejects %lf when compiling with -Wall -Werror -pedantic: mistake: ISO C++ does not guidance the ‘%lf’ gnu_printf https://marcosdmta.blogrelation.com/43285826/the-smart-trick-of-acoustic-secondary-glazing-that-nobody-is-discussing