Math.floor

From Data Realms Wiki

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