Math.floor
From Data Realms Wiki
Revision as of 01:37, 18 May 2009 by Thoughtprocess (Talk)
Function | |
---|---|
Syntax | math.floor( Number ) |
Description: | |
Rounds down a given number to the nearest whole number. | |
Returns | Number |
Example | |
---|---|
Description | Rounds down 1.5. |
Code | |
Output | Prints 1. |