FLOORMATH
Rounds a number down to the nearest multiple of significance. For negative numbers, mode controls direction: mode=0 (default) rounds away from zero, mode≠0 rounds toward zero.
| Category | Math |
| Syntax | FLOORMATH(number, [significance], [mode]) |
Parameters
| Parameter | Required | Description |
|---|---|---|
number | Required | The number to round. |
significance | Optional | The multiple to which you want to round. Defaults to 1. |
mode | Optional | 0 (default): negative numbers round away from zero. Non-zero: negative numbers round toward zero. |
Example
FLOORMATH(number, [significance], [mode])
Auto-generated from the EngCanvas function registry.