subtract
numeric →
subtract(
value: numeric,
times: integer
) → numeric
Returns the difference between the argument number and the parameter value.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value | numeric | Yes | The value to be subtracted to the argument value. |
times | integer | Yes | An integer between 0 and +Infinity, indicating the number of times to repeat the subtraction. |
Examples
10 | subtract(5, 2) → 0
Kind: Function
Scope: numeric/arithmetic
Aliases: numeric-to-subtract