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
The following are the list of keys which this supplier will return 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. e.g.: "my:value > + 10".FROM V2.0.0 |
- [X] | Numbers | Number | Subtracts X from the current value. e.g.: "my:value > -5.6". FROM V2.0.0 |
* [X] | Numbers | Number | Multiplies the current value by X. Eg "my:value > *2.5". |
/ [X] | Numbers | Number | Divides the current value by X. e.g.: "my:value > / 2.5". FROM V2.0.0 |
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
|