$Max

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " This function is an Extended Math function in the UBot Extended Library. This command return the larger of 2 numbers. '''Number:''' The first number being compared. Can ...")
 
 
Line 4: Line 4:
 
'''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.
  
'''Number:''' The second 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.
  
 
== Example ==
 
== Example ==

Latest revision as of 23:32, 10 June 2015

This function is an Extended Math function in the UBot Extended Library. This command return the larger 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($max(.65,56))


Running the command will run an alert that pops up the max of the two numbers, which is 56.

Max.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox