$Ceiling
From UBot Studio
(Difference between revisions)
Line 2: | Line 2: | ||
This function is an [[Extended Math]] function in the UBot Extended Library.. This command returns the next whole integer. | This function is an [[Extended Math]] function in the UBot Extended Library.. This command returns the next whole integer. | ||
− | '''Number:''' The number being calculated. Can also be a variable, list item, table cell or the [[eval]] function. | + | '''Number:''' The number being calculated. |
+ | |||
+ | Can also be a variable, list item, table cell or the [[eval]] function. | ||
== Example == | == Example == |
Latest revision as of 21:12, 6 February 2017
This function is an Extended Math function in the UBot Extended Library.. This command returns the next whole integer.
Number: The number being calculated.
Can also be a variable, list item, table cell or the eval function.
[edit] Example
alert($ceiling(34.6))
Running the command will run an alert that brings up the next whole integer for the value 34.6, which is 35.