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

ceil~ Reference

Round an input value up to the next higher integer (toward positive infinity)

ceil~

Inlets

Input [auto]

The value to be rounded up

Outlets

Rounded 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 up

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
round Round to nearest integer or multiple of a given value
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)
This website uses cookies
Clicking "Accept" means you consent to your data being processed and you'll let us use cookies and other technologies to process your personal information to personalize and enhance your experience. Click "Close" to deny consent and continue with technically required cookies that are essential for the website to function.