|
| 28 Feb 2016 05:01 PM |
i'm subtracting numbers in my script by really small amounts soooo
my text becomes unreadable because it turns into 1.0000000000000000323 or something
how can i keep it to 1:21 or so? math.floor would make it 1 and i've done this before but i forgot how |
|
|
| Report Abuse |
|
DevDays
|
  |
| Joined: 16 Dec 2015 |
| Total Posts: 112 |
|
|
| 28 Feb 2016 05:05 PM |
math.floor(num*100)/100
here.
|
|
|
| Report Abuse |
|
| |