Difference between revisions of "Math.max"

From GiderosMobile
Line 6: Line 6:
 
(number) = math.max(v1,...)
 
(number) = math.max(v1,...)
 
</source>
 
</source>
'''v1''': (number) first value ''''''<br/>
+
=== Parameters ===
 +
'''v1''': (number) first value <br/>
 
'''...''': (multiple) more optional numbers '''optional'''<br/>
 
'''...''': (multiple) more optional numbers '''optional'''<br/>
 +
=== Return values ===
 
'''Returns''' (number) highest number of all provided numbers<br/>
 
'''Returns''' (number) highest number of all provided numbers<br/>

Revision as of 10:38, 23 August 2018

Available since: Gideros 2011.6

Description

returns maximum in a list of one or more values

(number) = math.max(v1,...)

Parameters

v1: (number) first value
...: (multiple) more optional numbers optional

Return values

Returns (number) highest number of all provided numbers