From WikiChip
mirc/identifiers/$floor
< mirc‎ | identifiers
Revision as of 09:59, 1 July 2014 by Zmodem (talk | contribs) (Created $floor identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $floor identifier will calculate and return a numerical value rounded to the next lowest integer.

Synopsis

$floor(N)

Parameters

N The number to be rounded down. Decimals cause the value to round down, while integers are returned the same.

Example

Echo to the active window 9.318 rounded to the next lowest integer:

//echo -a $floor(9.318)

Compatibility

Added: mIRC v6.1

Added On: 29/08/2003

See Also