Function subtracts the value in input b from the value in input a. The result of the operation is passed to the output y.
Example in Python
y = a - b
| Function menu | Block diagram |
|---|---|
![]() |
![]() |
| Name | Type | Description |
|---|---|---|
a |
float, int32 | Minuend |
b |
float, int32 | Subtrahend |
| Name | Type | Description |
|---|---|---|
y |
see note | Difference |
Type of the value at the output
ycorresponds to the type of the value at the inputb.
Not available