Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua math floor

> = math.floor(0.5)
0
> = math.ceil(0.5)
1
> = math.floor(-0.5)
-1
> = math.ceil(-0.5)
-0
Source by lua-users.org #
 
PREVIOUS NEXT
Tagged: #lua #math #floor
ADD COMMENT
Topic
Name
6+8 =