How to remove useless "0" in a float
#1

How can I turn 0.500000 to 0.5 ?
Reply
#2

Just do instead of %f do %.1f
Reply
#3

thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)