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...")
 
Line 4: Line 4:
 
returns largest integer &lt;= v
 
returns largest integer &lt;= v
 
<source lang="lua">
 
<source lang="lua">
(number), = math.floor(v,)
+
(number) = math.floor(v)
 
</source>
 
</source>
'''v:''' (number) value to floor ''''''<br/>
+
'''v''': (number) value to floor ''''''<br/>
 
'''Returns''' (number) floored value<br/>
 
'''Returns''' (number) floored value<br/>

Revision as of 10:20, 23 August 2018

Available since: Gideros 2011.6

Description

returns largest integer <= v

(number) = math.floor(v)

'v: (number) value to floor '
Returns (number) floored value