Lua Math Floor

[Solved] Lua Math Floor | Lua - Code Explorer | yomemimo.com
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

Answers related to lua math floor

Code Explorer Popular Question For Lua