Difference between revisions of "Math.min"
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 minimum in a list of one or more values</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''v1''': (number) <translate>firs value</translate> <br/> | '''v1''': (number) <translate>firs 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>smallest number of all provided numbers</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>smallest number of all provided numbers</translate><br/> |
Revision as of 07:30, 24 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