A newer version of Max is available. Click here to access the latest version of the documentation

trunc Reference

Round the value down to the next smaller integer (toward zero)

trunc

Examples

Constructors

  • { arguments={value}, inlets={} }
  • { arguments={}, inlets={value} }

Inlets

value

Typefloat

input value

Attributes

Common Box Attributes

See Also

Name Description
ceil
floor
fract