Math.floor

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Thoughtprocess (Talk)
(Lua function example.)

Latest revision as of 01:37, 18 May 2009

Function
Syntaxmath.floor( Number )
Description:
Rounds down a given number to the nearest whole number.
ReturnsNumber




Example
DescriptionRounds down 1.5.
Code
OutputPrints 1.
Personal tools