Calculate
Performs basic math.
Parameters
operator
- One of the 4 basic math operators.
+ - * /
num1
- First number
num2
- Second number
Example
{{ bison:calc operator="*" num1="2" num2="6" }} = 12
{{ bison:calc operator="+" num1="3" num2="2" }} = 5
{{ bison:calc operator="-" num1="5" num2="1" }} = 4
{{ bison:calc operator="/" num1="9" num2="3" }} = 3
Problem with this page? Edit it on Github.