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

fract~ Reference

Return only the fractional component of the input

fract~

Examples

Inlets

Input [auto]

The input from which the remainder is to be extracted

Outlets

Remainder [signal]

The fractional component (remainder) of the input

Dynamic Attributes

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

in1 [auto]

The input from which the remainder is to be extracted

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
round Round to nearest integer or multiple of a given value
ceil Round an input value up to the next higher integer (toward positive infinity)
floor Round an input value down to the next lower integer (toward negative infinity)
trunc Round the value down to the next smaller integer (toward zero)