Subtract
- Updated2023-02-17
- 2 minute(s) read
Subtract
Computes the difference between numbers, timestamps, or waveforms.
You cannot subtract a timestamp from a numeric value.

Inputs/Outputs

x
The value to subtract from.
This input supports scalar numbers and enumerated type values, and any data type that contains only these data types, such as an array or cluster of numbers.

y
The value to subtract from the other input.
This input supports scalar numbers and enumerated type values, and any data type that contains only these data types, such as an array or cluster of numbers.

x - y
The difference between the two inputs.