$Min
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
− | This function is an [[Extended Math]] function in the UBot Extended Library. This command | + | This function is an [[Extended Math]] function in the UBot Extended Library. This command returns the smaller of 2 numbers. |
'''Number:''' The first number being compared. Can also be a variable, list item, table or the [[eval]] function. | '''Number:''' The first number being compared. Can also be a variable, list item, table or the [[eval]] function. |
Latest revision as of 14:17, 24 September 2016
This function is an Extended Math function in the UBot Extended Library. This command returns the smaller of 2 numbers.
Number: The first number being compared. Can also be a variable, list item, table or the eval function.
Number: The second number being compared. Can also be a variable, list item, table cell or the eval function.
[edit] Example
alert($min(.65,56))
Running the command will run an alert that pops up the min of the two numbers, which is .65.