wierd format thingy
#2

Lets say the actual float is: 46.230553

%.0f = 46
%.1f = 46.2
%.2f = 46.23

Should get the idea of how this works now :P

So basically this is used only to show the important numbers in the float...
Another example, instead of displaying 100.000000, Using %f.1 will only display 100.0
Reply


Messages In This Thread
wierd format thingy - by ExoSanty - 24.03.2010, 23:57
Re: wierd format thingy - by XGh0stz - 25.03.2010, 02:34
Re: wierd format thingy - by ExoSanty - 25.03.2010, 03:30

Forum Jump:


Users browsing this thread: 2 Guest(s)