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

number Reference

number box

number

Examples

Inlets

value [number]

Set displayed Number and repeat to Output.

Outlets

output [number]

Output incoming or entered Number.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

initialFormat [enum] (default: float)

initialFormat Possible values:

0 = 'integer'
1 = 'hex'
2 = 'octal'
3 = 'binary'
4 = 'midi'
5 = 'midi_c4'
6 = 'float'

maximum [number]

Maximum

minimum [number]

Minimum

order [symbol]

Preset restore order (a number, 'first' or 'last').

preset [bool] (default: false)

Add this value to the preset.

unit [symbol]

Unit Style

Dynamic Attributes

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

format [number] (default: 6)

format

setup [number]

setup

valin [number]

valin

valout [number]

valout

value [number]

Set displayed Number and repeat to Output.

See Also

Name Description
number Display and output a number
number~ Signal Monitor and Constant Generator.
float
int Store a integer number, bang it out