!/ Reference

Divide input from a number

!/

Description

Divides a number by the incoming value. Functions like the / object, but the inlets' functions are reversed.

Examples

/ with the inputs swapped

Arguments

divisor [number]

Optional

Sets an initial value for the divisor. If there is no argument, the divisor is set to 1 initially. A float argument causes the numbers to be divided as floats.

Attributes

Common Box Attributes

Messages

bang

In left inlet: Performs the division with the numbers currently stored.

int

Arguments

input [int]
Stores the value as the divisor (the number to be divided into the number in the right inlet) and produces output.

  (inlet1)

Arguments

input [int]
Numbers received in the right inlet are divided by numbers received in the number in the left inlet.

float

Arguments

input [float]
Converted to int, unless !/ has a float argument.

  (inlet1)

Arguments

input [float]
Converted to int, unless !/ has a float argument.

Output

float

Only if there is an argument with a decimal point.

int

The two numbers in the inlets are divided, and the result is sent out the outlet.

See Also

Name Description
/
expr