-
Examples

Subtracted as ints... Floats are truncated before subtraction... unless there is a float argument
Arguments
initial [number]
Optional
Sets the initial value to be subtracted from a number received in the left inlet. A float argument causes the numbers to be subtracted as floats.
Attributes
Common Box Attributes
Messages
bang
In left inlet: Performs the subtraction with the numbers currently stored. If there is no argument, - initially holds .
int
Arguments
input
[int]
The number in the right inlet is subtracted from the number, and the result is sent out the outlet.
(inlet1)
Arguments
value
[int]
The number is stored, to be subtracted from, by a number received in the left inlet.
set
Arguments
input
[int]
Sets the number to be subtracted without causing output (
will output it). list
Arguments
input
[list]
In left inlet: The first number is subtracted from the second number, and the result is sent out the outlet.
Output
float
Only if there is an argument with a decimal point.
int
The difference between the two numbers received in the inlets.
See Also
Name | Description |
---|---|
!- | |
expr | |
Max Basic Tutorial 6: Simple Math in Max | Max Basic Tutorial 6: Simple Math in Max |