Difference between revisions of "Math.max"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>returns maximum in a list of one or more values</translate>
 
<translate>returns maximum in a list of one or more values</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = math.max(v1,...)
 
(number) = math.max(v1,...)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''v1''': (number) <translate>first value</translate> <br/>
 
'''v1''': (number) <translate>first value</translate> <br/>
 
'''...''': (multiple) <translate>more optional numbers</translate> '''optional'''<br/>
 
'''...''': (multiple) <translate>more optional numbers</translate> '''optional'''<br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>highest number of all provided numbers</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>highest number of all provided numbers</translate><br/>

Revision as of 07:26, 24 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