Skip to main content
Documentation
Node Editor

Rounding Nodes

Floor, ceiling, round, and truncate operations for controlling numeric precision.

Floor, ceiling, round, and truncate operations for controlling numeric precision.

This category contains 10 nodes.

Nodes

Ceil

Rounds up to the nearest whole number. 2.1 becomes 3, -1.9 becomes -1.

Inputs: Any number.

NameTypeRangeDefault
ValueNumberany0

Outputs: Whole number rounded up.

NameTypeRange
NumberNumberint

Ceiling Vector

Rounds each component up to the nearest whole number.

Inputs: 3D vector.

NameTypeRangeDefault
VectorVectorvec[0, 0, 0]

Outputs: Vector with rounded-up components.

NameTypeRange
VectorVectorvec

Floor

Rounds down to the nearest whole number. 2.9 becomes 2, -1.1 becomes -2.

Inputs: Any number.

NameTypeRangeDefault
ValueNumberany0

Outputs: Whole number rounded down.

NameTypeRange
NumberNumberint

Floor Vector

Rounds each component down to the nearest whole number. Creates stepping or grid effects.

Inputs: 3D vector.

NameTypeRangeDefault
VectorVectorvec[0, 0, 0]

Outputs: Vector with rounded-down components.

NameTypeRange
VectorVectorvec

Fractional Part

Gets the decimal part only (strips the whole number). Useful for repeating patterns and wrapping values.

Inputs: Any number.

NameTypeRangeDefault
ValueNumberany0

Outputs: Just the decimal portion (always 0 to 1).

NameTypeRange
NumberNumber0-1

Fractional Part Vector

Keeps only the decimal part of each component. Creates repeating patterns in each axis.

Inputs: 3D vector.

NameTypeRangeDefault
VectorVectorvec[0, 0, 0]

Outputs: Vector with decimal portions only (0-1 each).

NameTypeRange
VectorVector0-1

Round

Rounds to the nearest whole number. 2.4 becomes 2, 2.6 becomes 3.

Inputs: Any number.

NameTypeRangeDefault
ValueNumberany0

Outputs: Nearest whole number.

NameTypeRange
NumberNumberint

Round Vector

Rounds each component to the nearest whole number.

Inputs: 3D vector.

NameTypeRangeDefault
VectorVectorvec[0, 0, 0]

Outputs: Vector with rounded components.

NameTypeRange
VectorVectorvec

Truncate

Removes the decimal part, keeping only the whole number. 3.7 becomes 3, -2.9 becomes -2.

Inputs: Any number.

NameTypeRangeDefault
ValueNumberany0

Outputs: Whole number part.

NameTypeRange
NumberNumberint

Truncate Vector

Removes the decimal part from each component. 3.7 becomes 3, -2.9 becomes -2.

Inputs: 3D vector.

NameTypeRangeDefault
VectorVectorvec[0, 0, 0]

Outputs: Vector with whole number components.

NameTypeRange
VectorVectorvec