Go to: Related nodes. Attributes.

This node outputs the integer part of the input double.

Note: This node is deprecated in favor of its unitless version "truncate" and may be removed in a future release.

Node nameParentsClassificationMFn typeCompatible function sets
truncateDLnodemathLinear/rounding:utility/scalar:drawdb/shader/operation/truncatekTruncatekBase
kNamedObject
kDependencyNode
kTruncate

Related nodes

roundDL, floorDL, ceilDL, moduloDL, truncate

Attributes (2)

input, output

Long name (short name)TypeDefaultFlags
input (i) distance (double)0.0cmoutputinputconnectablestorablekeyable
A double input
output (o) distance (double)0.0cmoutputconnectable
The integer portion of the input