percent-change
numeric →
percent-change(
previous: numeric
) → numeric
Returns the percentage change from the previous numeric value to the current input value. Returns null when the input or parameter cannot be evaluated or when the previous value is zero.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
previous | numeric | Yes | Specifies the previous numeric value used as the percentage-change baseline. |
Examples
10 | percent-change(8) → 25.00
Kind: Function
Scope: numeric/arithmetic
Aliases: numeric-to-percent-change