Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Atlassian Partner
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
atlassian, confluence administration, confluence admin training, confluence learning path, manage users and permissions, confluence certification, atlassian learning, cloud admin tools, streamline collaboration, confluence admin best practices

New Confluence Admin Learning Path! 🤩

Confidently manage users, permissions, and content in Confluence. This self-paced learning path helps admins streamline collaboration, improve user experience, and apply the best practices to get the most out of Confluence in any cloud environment.

Start Learning Now
AUG Leaders

Atlassian Community Events