R renko Active member Joined Jul 8, 2014 Messages 58 Reaction score 0 Jul 20, 2014 #1 How can i set the precision of a float ? For example i have 0@ = 1.256864 And i want to print only 1.256
How can i set the precision of a float ? For example i have 0@ = 1.256864 And i want to print only 1.256
0x_ Wtf I'm not new.... Staff member Administrator Joined Feb 18, 2013 Messages 1,123 Reaction score 174 Jul 20, 2014 #2 If you do use format some kind of it you can output it with %0.1f - %0.xf Upvote 0 Downvote
springfield God Joined Feb 18, 2005 Messages 2,965 Reaction score 272 Jul 21, 2014 #3 http://ugbase.eu/help-7/damn-float/ Upvote 0 Downvote
R renko Active member Joined Jul 8, 2014 Messages 58 Reaction score 0 Jul 21, 2014 #4 Ok, thank you. Upvote 0 Downvote