calculation on macro

Uththira pandi July 16, 2014

How to calculate the values in the template using macro?(for example: adding two numbers inside the template by the macro)

Is here any codings be use?

2 answers

1 vote
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 16, 2014

IF this is in a user macro, thats tricky. If you're using a custom macro, you could either to the maths in the java code and then pass it though, or add MathUtils to the velocity context and then do something like:

$mathUtils.addAndCheck($x, $y)

0 votes
AlexeyM May 29, 2015

Hello,

For any calculations you may use CelesteCS Math for Confluence. Please contact me directly on any question on this plugin.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events