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