Posted 25 May 2015 - 10:21 PM
I was messing with a program I made, when I realized that when I tried to format a float, the float wouldn't format.
Then, I opened the in-game lua and typed this
Is it a known issue? What can I do to fix it?
Then, I opened the in-game lua and typed this
print(string.format("%.3f", 3.14159))
And the result was 3.14159 instead of 3.141 (3.142 because it rounds the number).Is it a known issue? What can I do to fix it?
Edited on 25 May 2015 - 08:24 PM