I know that if you do
printf("Number: %.2f", 1.2345);
The result will be "1.23"
But i'm doing a calculator of big number's, for this project I separe the number in nodes Like (exemple) 123456789 [ 1 ] [ 2345 ] [ 6789 ]
and when I the number is: 100056789 for example I have [ 1 ] [ 0005 ] [ 6789 ]
But when I print I get [ 1 ] [ 5 ] [ 6789 ]
There is a method to see the other 0's before the comma whithout transfer all to a string? like "0005" (string) and print the string? There is a better way of doing that?