Floor

From WikiManual
Jump to: navigation, search

Holds a number above another number.

In this syntax: A B FLOOR

If A < B

Operators:

Advanced Commands:

angle
dist
ceil
floor
sqr pow
pyth

The following commands are not supported in versions earlier 2.46:

anglecmp
root
logx
sin
cos

Examples:

200 400 add 500 floor .shoot store

stores 600 in .shoot .

100 100 add 500 floor .shoot store

stores 500 in .shoot .