Anyone know why this isn't working... (my first time trying to use it so i probably using it wrong..)
shouldn't a number like 54
be outputed as 5400
or 0054 instead it just outputs 54
shouldn't this take 54 and ouput
?? am i doing something wrong? gives me an error saying # sign not right.. and a number like 5432.34 will turn into 543234 if it runs through the first format function... i'm confused
I've never used that method, I always do this and it works:
In your printf() or cprintf() or whatever you are using:
Where 2 is the number of digits you want after the .
printf("blah blah %f.2 blah blah", size_list->Strings[a]);
If that doesn't work, try %.2f, one of them works for sure.