Loading...
Operator: -
The inversion operator - is applied to a value in order to negate the value. The value can be of the following type:
-
number
duration
This function is SQL compatible. For more information about SQL compatibility, see our .
Returns the inversed (reversed) value of value. When the values before and after the inversion are combined in an addition, the result should be zero.
value
-5 + 5 => 0
-5 + 5
-(5+5) => -10
-(5+5)
-('12d') => 0 seconds (duration on itself cannot be negative)
-('12d')
Today() + (-'12d')