Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Boeing747

macrumors member
Original poster
Jul 10, 2011
57
0
In Steve Job's Closet
Hey,
Just wondering if there is a way for me to only show the amount of decimal points there are in a float in my program (instead of 1.5000000 1.5 or 1.000000 to 1.

Thanks,
B747
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.