Subtract | MATH_SUBTRACT
Syntax
MATH_SUBTRACT( [value], [other] )
Parameters
value
A number.
If the value is not a NUMBER, the FLOAT operation will be used to convert it.
other
A number.
If the value is not a NUMBER, the FLOAT operation will be used to convert it.
Return Value
Returns a number.Description
Subtract a value from another.Examples
MATH_SUBTRACT(1, 2) # returns -1
MATH_SUBTRACT(null, null) # returns 0
MATH_SUBTRACT("-15", "7") # returns -21