subtract¶
Signature¶
subtract(any, any)
Description¶
Does arithmetic subtraction of two specified values of numbers, quantities, and durations.
Examples¶
With numbers¶
subtract(`2`, `1`) == `1`
With durations¶
subtract('2h', '1h') == '1h'
With quantities¶
subtract('2Mi', '1Mi') == '1Mi'