round~ Reference

Round to nearest integer or multiple of a given value

round~

Inlets

Value [auto]

The value to be rounded

Nearest [auto]

Round to the nearest this

Outlets

Output [signal]

The rounded value

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [auto]

The value to be rounded

in2 [auto]

Round to the nearest this

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
floor Round an input value down to the next lower integer (toward negative infinity)
ceil Round an input value up to the next higher integer (toward positive infinity)
trunc Round the value down to the next smaller integer (toward zero)