Simplifying mathematical operations in EE

I wrote a small plugin that enables the usage of basic mathematical (arithmetic) operations (e.g. + - * / )

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

save mathematical operations plugin

Name:

Email:

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below: