Math.floor

From Data Realms Wiki

Revision as of 01:37, 18 May 2009 by Thoughtprocess (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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