parent
e47799650a
commit
7af90632fd
@ -0,0 +1,6 @@ |
||||
function truncate(number, decdigits) |
||||
number = number * (10 ^ decdigits) |
||||
number = math.floor(number) |
||||
number = number / (10 ^ decdigits) |
||||
return number |
||||
end |
Loading…
Reference in new issue