From WikiChip
$ceil Identifier - mIRC
< mirc‎ | identifiers

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


Synopsis[edit]

$ceil(N)

Parameters[edit]

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

You can use the letter 'e' or 'd' as *10^N, $ceil(5e6) = $ceil($calc(5*10^6))

Example[edit]

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

//echo -a $ceil(3.14)

Compatibility[edit]

Added: mIRC v6.1
Added on: 29 Aug 2003
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list