![]() |
Page History
Scrollbar | ||
---|---|---|
|
...
Table of Contents | ||
---|---|---|
|
...
More information on the evaluate data macro
Multiexcerpt include | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Observation: The Basic Mathematics example, with the formatting by the java.text.DecimalFormat rules shown in the example from Atlassian, yields the result 5000%. To obtain 50 it was necessary to remove
Code Block |
---|
\% |
which a slash (\) and percent symbol (%) which is the correct percentage markup and shows the percent sign.
...
The evaluate data macro displays the result:
Evaluate Data | name | Result|||
---|---|---|---|---|
| ||||
${Numerator}/${Denominator} |
The evaluate data macro displays the percentage:
Evaluate Data | ||||||
---|---|---|---|---|---|---|
| ||||||
round(${Result} * 100, 0) |
...
The table data macro contains a table with text data for the name and number data for the value. In the Edit Contents view select , click the plus sign to add a row and enter values for each row.
Table Data | ||||||
---|---|---|---|---|---|---|
| ||||||
|
The evaluate data macro calculates the sum of the values in the table:
...
Evaluate Data | ||
---|---|---|
| ||
avgtable("Values", "Value") |
...