Difference between revisions of "Math.max"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | returns maximum in a list of one or more values | + | <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 === | === Parameters === | ||
− | '''v1''': (number) first value <br/> | + | '''v1''': (number) <translate>first value</translate> <br/> |
− | '''...''': (multiple) more optional numbers '''optional'''<br/> | + | '''...''': (multiple) <translate>more optional numbers</translate> '''optional'''<br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (number) highest number of all provided numbers<br/> | + | '''Returns''' (number) <translate>highest number of all provided numbers</translate><br/> |
Revision as of 13:32, 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