It can be useful especially in conjunction with conditional statements.
The plugin takes 2 parameter, num1 and num2, which are the numbers you want to do something with
Call
{exp:math:add num1="10" num2="2"}to add 2 and 10 (10+2)
{exp:math:subtract num1="10" num2="2"}to subtract 2 from 10 (10-2)
{exp:math:multiply num1="10" num2="2"}to multiply 10 and 2 (10*2)
{exp:math:divide num1="10" num2="2"}to divide 10 by 2 (10/2)
For more usage examples and some kind of support, please visit EE forum thread
mathematical operations plugin
Posted by runner at 12:09 PM. Filed under: Extending EE • Plugins •