Using fprintf, what is the format-string to output two digits after a decimal separator?
float number = 3.0;
fprintf(pFile, "%10.02f", number);
This always outputs 3 instead of 3.00
How do I fill up the digits after decimal separator with zeros? I want 3.00 written in the output file.