Subtract

Computes the difference between numbers, timestamps, or waveforms.

You cannot subtract a timestamp from a numeric value.

1378

Inputs/Outputs

datatype_icon

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.

datatype_icon

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.

datatype_icon

x - y

The difference between the two inputs.