I want to print a float value which has 2 integer digits and 6 decimal digits after the comma. If I just use printf(\"%f\", myFloat) I\'m getting a truncated va
printf(\"%f\", myFloat)
printf("%9.6f", myFloat) specifies a format with 9 total characters: 2 digits before the dot, the dot itself, and six digits after the dot.
printf("%9.6f", myFloat)