abs

Calculate an absolute value

Description

Outputs the absolute (non-negative) value of any given number. Floats will be output only if the argument to abs is a float.

Examples

Output is non-negative........Used here to invert input

Arguments

format [number]

Optional

Float argument forces a float output.

Attributes

Common Box Attributes

annotation [symbol]

Sets the text that will be displayed in the Clue window when the user moves the mouse over the object.

background [int] (default: 0)

Adds or removes the object from the patcher's background layer. background 1 adds the object to the background layer, background 0 removes it. Objects in the background layer are shown behind all objects in the default foreground layer.