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

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

Synopsis

$ceil(N)

Parameters

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

Example

Echo to the active window 3.14 rounded to the next highest integer:

//echo -a $ceil(3.14)

Compatibility

Added: mIRC v6.1

Added On: 29/08/2003

See Also