#why.. JUST WHY

14 messages · Page 1 of 1 (latest)

deep dove
#

check the screenshot

shadow hazel
#

whats the problem? the 000000001 ?

deep dove
shadow hazel
#

it is normal, those are floats value

#

the value is never exact

deep dove
#

ok

#

then

shadow hazel
#

if you want to get ride of it you can format it

deep dove
#

how can i round it to 0.81

shadow hazel
#

2sec

#
string.format("%.2f ", number)
deep dove
#

ty

shadow hazel
#

here you use string manipulation to format decimal to 2 comma