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?
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)
Hello,
For any calculations you may useĀ CelesteCS Math for Confluence. Please contact me directly on any question on this plugin.
Thanks!
It looks like you're new here. Sign in or register to get started.