Developer Documentation Library > UNICOM Intelligence Function Library > Mathematical functions > MaxOf
 
MaxOf
Returns the highest value from a list of values.
Syntax
MaxOf(<value>[, <value>] ...])
Parameters
<value>
Type: None
Data value. Separate multiple values by using a comma.
(return)
Type: None
The maximum of all values.
Notes
The MaxOf function compares non-null values and returns the highest value. If all values are null, the return value is null. For values of type Object, the value of the object's default property is used.
Example
The following mrScriptBasic example uses the MaxOf function to get the highest of a number of values:
MaxOf(8, 9.2, 24, 1.75)
See also
Mathematical functions