$floor: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Doomie (talk | contribs)
No edit summary
 
Doomie (talk | contribs)
No edit summary
Line 11: Line 11:


== See Also ==
== See Also ==


[[$round]], [[$ceil]] and [[$int]].
[[$round]], [[$ceil]] and [[$int]].


[[Category:Text and Number Identifiers]]
[[Category:Text and Number Identifiers]]

Revision as of 11:54, 5 September 2005

Returns N rounded to the next lowest integer.

$floor(N)
  • N is the number you want the next lowest integer of.

Examples

$floor($pi) - will return 3
$floor(-4,99) - will return -5

See Also

$round, $ceil and $int.