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