Difference between revisions of "Math.ceil"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns smallest integer >= v <source lang="lua"> (number), = math.ceil(v,) </source> '''v:''' (num...")
 
Line 4: Line 4:
 
returns smallest integer &gt;= v
 
returns smallest integer &gt;= v
 
<source lang="lua">
 
<source lang="lua">
(number), = math.ceil(v,)
+
(number) = math.ceil(v)
 
</source>
 
</source>
'''v:''' (number) value to ceil ''''''<br/>
+
'''v''': (number) value to ceil ''''''<br/>
 
'''Returns''' (number) ceiled value<br/>
 
'''Returns''' (number) ceiled value<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2011.6

Description

returns smallest integer >= v

(number) = math.ceil(v)

'v: (number) value to ceil '
Returns (number) ceiled value