Localize truncation
This commit is contained in:
parent
efc5c9354f
commit
c19430548b
@ -348,9 +348,9 @@ do
|
|||||||
|
|
||||||
function trunc.f32(num)
|
function trunc.f32(num)
|
||||||
if num >= 0 then
|
if num >= 0 then
|
||||||
return math.floor(num)
|
return math_floor(num)
|
||||||
else
|
else
|
||||||
return math.ceil(num)
|
return math_ceil(num)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user