M
migurus
Is it possible to print a float or double and omit the leading zero in
the following fasion:
..123
Code:
float f = 0.1;
printf("%.1f\n", f);
result:
0.1
Is there a trick with format string to get
..1
printed instead?
Regard
Mi
the following fasion:
..123
Code:
float f = 0.1;
printf("%.1f\n", f);
result:
0.1
Is there a trick with format string to get
..1
printed instead?
Regard
Mi