Difference between revisions of "$floor"
From Scriptwiki
Line 3: | Line 3: | ||
$floor(N) | $floor(N) | ||
− | * ''N'' is the number you want | + | * ''N'' is the number you want to round down to its next integer. |
== Examples == | == Examples == |
Revision as of 13:02, 5 September 2005
Returns N rounded to the next lowest integer.
$floor(N)
- N is the number you want to round down to its next integer.
Examples
$floor($pi) - will return 3 $floor(-4,99) - will return -5