Difference between revisions of "Math.floor"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns largest integer <= v <source lang="lua"> (number), = math.floor(v,) </source> '''v:''' (num...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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 ===
returns largest integer &lt;= v
+
Returns largest integer <= v.
<source lang="lua">
+
<syntaxhighlight lang="lua">
(number), = math.floor(v,)
+
(number) = math.floor(v)
</source>
+
</syntaxhighlight>
'''v:''' (number) value to floor ''''''<br/>
+
 
'''Returns''' (number) floored value<br/>
+
=== Parameters ===
 +
'''v''': (number) value to floor
 +
 
 +
=== Return values ===
 +
'''Returns''' (number) floored value
 +
 
 +
=== See also ===
 +
'''[[Integer Divide Operator]]'''
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023