Question : lua math floor
Answered by : marnixah
> = math.floor(0.5)
0
> = math.ceil(0.5)
1
> = math.floor(-0.5)
-1
> = math.ceil(-0.5)
-0
Source : http://lua-users.org/wiki/MathLibraryTutorial | Last Update : Wed, 27 Oct 21
Answered by : marnixah
> = math.floor(0.5)
0
> = math.ceil(0.5)
1
> = math.floor(-0.5)
-1
> = math.ceil(-0.5)
-0
Source : http://lua-users.org/wiki/MathLibraryTutorial | Last Update : Wed, 27 Oct 21