Nodes ▸ Functions ▸ Unary ▸ Rounding

Round

Rounds x to decimals decimal places, element-wise, rounding halves to the nearest even value.

Wraps round.

Roundx

Inputs

PortAcceptsRequiredDescription
x primitive(array) dataset required The array or dataset the function is applied to

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
decimals primitive(number) opt-in
drives decimals
Drives the Decimals parameter while connected

Outputs

datasetprimitive(array)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Target
target
multichoice none values | values_r | values_theta | values_phi | scale_r | scale_theta | scale_phi | points | points_r | points_t | points_p
Decimals
decimals
int 0 ⇄ port

Used by

No stock template or group uses this node.