From WikiChip
Difference between revisions of "mirc/identifiers/$ceil"
< mirc‎ | identifiers

(Created $ceil identifier - mIRC)
(No difference)

Revision as of 09:57, 1 July 2014

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