floor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA ver)
(added example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| The floor value of x. |= Description
| Returns the next lowest integer in relation to x. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 14:
|p1= x [[Number]] |= Parameter 1
|p1= x [[Number]] |= Parameter 1


| [[Number]] |= Return value
| [[Integer]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>floor 5.25 , result is 5</pre> |= Example 1
|x1= <pre>floor 5.25 , result is 5</pre> |= Example 1
|x2= <pre>floor -5.25 , result is -6</pre> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:15, 10 December 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the next lowest integer in relation to x.
Groups:
Uncategorised

Syntax

Syntax:
floor
Parameters:
x Number
Return Value:
Integer

Examples

Example 1:
floor 5.25 , result is 5
Example 2:
floor -5.25 , result is -6

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section