Difference between revisions of "Math.ceil"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
returns smallest integer &gt;= v
+
<translate>returns smallest integer &gt;= v</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = math.ceil(v)
 
(number) = math.ceil(v)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''v''': (number) value to ceil <br/>
+
'''v''': (number) <translate>value to ceil</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) ceiled value<br/>
+
'''Returns''' (number) <translate>ceiled value</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2011.6

Description

returns smallest integer >= v

(number) = math.ceil(v)

Parameters

v: (number) value to ceil

Return values

Returns (number) ceiled value