Difference between revisions of "Math.floor"

From GiderosMobile
Line 6: Line 6:
 
(number) = math.floor(v)
 
(number) = math.floor(v)
 
</source>
 
</source>
'''v''': (number) value to floor ''''''<br/>
+
=== Parameters ===
 +
'''v''': (number) value to floor <br/>
 +
=== Return values ===
 
'''Returns''' (number) floored value<br/>
 
'''Returns''' (number) floored value<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description

returns largest integer <= v

(number) = math.floor(v)

Parameters

v: (number) value to floor

Return values

Returns (number) floored value