Difference between revisions of "Math.ceil"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[math]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>returns smallest integer &gt;= v</translate>
+
Returns the smallest integer >= v.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = math.ceil(v)
 
(number) = math.ceil(v)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''v''': (number) <translate>value to ceil</translate> <br/>
+
'''v''': (number) value to ceil<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>ceiled value</translate><br/>
+
'''Returns''' (number) ceiled value<br/>
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023