Truncate node
Access: Nodes > Math > Truncate
Removes the fractional part of the input per channel by rounding toward zero.
| Input (RGB) | Output (RGB) |
| 1.99, 1.99, 1.99 | 1.0, 1.0, 1.0 |
| -1.99, -1.99, -1.99 | -1.0, -1.0, -1.0 (truncates towards zero, unlike floor) |
| 0.85, 0.85, 0.85 | 0.0, 0.0, 0.0 |
Truncate node inputs
|
Input |
The input values to be truncated. |
Truncate node outputs
|
Output |
The input value with its fractional decimal component removed (rounds towards zero). Differs from Floor in that negative values round toward zero rather than toward negative infinity. |