Number Supplier
Overview
Provides information about numbers.
Details
Name: | Number Supplier |
---|---|
Prefix: | number(optional) |
Supported Content: | Numbers |
Provided By: | Reporting for Confluence FROM v1.3 |
Supported Keys
List of keys that this supplier returns a value for.
Key | Content Types | Return Type | Description |
---|---|---|---|
type | Numbers | The name of the number type (Integer, Double, etc). | |
is whole | Numbers | Returns true if the number is a 'whole' number, or an integer. Returns true if number does not have any decimal places. | |
is decimal | Numbers | Returns true if the number has a decimal point. | |
is nan | Numbers | Is true if the current value is not a valid number.FROM v2.0.0 | |
+ [X] | Numbers | Number | Adds X to the current value. FROM v2.0.0 For example
|
- [X] | Numbers | Number | Subtracts X from the current value. FROM v2.0.0 For example
|
* [X] | Numbers | Number | Multiplies the current value by X. For example
|
/ [X] | Numbers | Number | Divides the current value by X. FROM v2.0.0 For example
|
mod [X] | Numbers | Number | Outputs the 'mod' value of two numbers. FROM v2.0.0
|
equals [X] | Numbers | Compares the current number with the supplied number.FROM v2.0.0 For example
| |
less than [X] | Numbers | Is true if the current number is less than X. FROM v2.0.0 For example
| |
greater than [X] | Numbers | Is true if the current value is greater than X. FROM v2.0.0 For example
| |
abs | Numbers | Number | Outputs the absolute (or positive) value of the supplied number. FROM v3.3.0 |
to date | Numbers | Converts the number to a date value, using the number as the number of milliseconds since January 1, 1970, UMT. FROM v3.4.0 | |
number format | Numbers | All other values are interpreted as formatted numbers. For example
|