floor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (add to Math Commands)
Line 35: Line 35:
[[Category:Scripting Commands|FLOOR]]
[[Category:Scripting Commands|FLOOR]]
[[Category:Scripting Commands ArmA|FLOOR]]
[[Category:Scripting Commands ArmA|FLOOR]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]

Revision as of 01:48, 31 January 2007

-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:
round

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