en-us_products:mpino_studio2:box_functions:arithmetic:floor
Table of Contents
FLOOR Box Function
Floor
Category: Arithmetic Box Functions
Behavior
Stores the greatest integer that is not larger than the source. For example, 12.8 becomes 12 and -1.2 becomes -2.
Syntax and Arguments
Syntax: FLOOR R0 R1
- 1st = source: address or constant to round down
- 2nd = destination: address that stores the result
Behavior Example
Cautions
- Make sure the result stays within the value range of the destination memory.
Box Functions in the Same Category
- ADD View details — Add
- SUB View details — Subtract
- MUL View details — Multiply
- DIV View details — Divide
- MOD View details — Modulo
- INC View details — Increment
- DEC View details — Decrement
- SCALE View details — Scale (Linear Interpolation)
- SQRT View details — Square Root
en-us_products/mpino_studio2/box_functions/arithmetic/floor.txt · Last modified: by 127.0.0.1
