How to use math.floor with small numbers

Im trying to make a print 0.007, but its printing 0.006999999999999. When i trying to use math floor its 0

script

print(.005*(1.25+.15))

1 Like

the math does work, however i believe math.floor takes the number and rounds it to the nearest whole number, so i dont think math.floor would be suitable

what do i need to use? to get my problem solved

A custom rounding function including decimal places

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.