$Floor
From UBot Studio
(Difference between revisions)
(Created page with " This function is an Advanced Math function in the UBot Extended Library. This command returns the previous whole integer. '''Number:''' The number being calculated. Can ...") |
|||
Line 1: | Line 1: | ||
− | This function is an [[ | + | This function is an [[Extended Math]] function in the UBot Extended Library. This command returns the previous whole integer. |
'''Number:''' The number being calculated. Can also be a variable, list item, table or the [[eval]] function. | '''Number:''' The number being calculated. Can also be a variable, list item, table or the [[eval]] function. |
Revision as of 22:14, 10 June 2015
This function is an Extended Math function in the UBot Extended Library. This command returns the previous whole integer.
Number: The number being calculated. Can also be a variable, list item, table or the eval function.
Example
alert($floor(34.6))
Running the command will run an alert that brings up the previous whole integer for the value 34.6, which is 34.