Difference between revisions of "Math.ceil"

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 smallest integer &gt;= v</translate>
 
<translate>returns smallest integer &gt;= v</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = math.ceil(v)
 
(number) = math.ceil(v)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''v''': (number) <translate>value to ceil</translate> <br/>
 
'''v''': (number) <translate>value to ceil</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>ceiled value</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>ceiled value</translate><br/>

Revision as of 07:27, 24 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