Difference between revisions of "Math.max"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns maximum in a list of one or more values <source lang="lua"> (number), = math.max(v1...,) </sou...") |
|||
Line 4: | Line 4: | ||
returns maximum in a list of one or more values | returns maximum in a list of one or more values | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = math.max(v1,...) |
</source> | </source> | ||
− | '''v1 | + | '''v1''': (number) first value ''''''<br/> |
− | '''... | + | '''...''': (multiple) more optional numbers '''optional'''<br/> |
'''Returns''' (number) highest number of all provided numbers<br/> | '''Returns''' (number) highest number of all provided numbers<br/> |
Revision as of 10:16, 23 August 2018
Available since: Gideros 2011.6
Description
returns maximum in a list of one or more values
(number) = math.max(v1,...)
'v1: (number) first value '
...: (multiple) more optional numbers optional
Returns (number) highest number of all provided numbers