Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Math calculation]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
This template is used to solve math equations (simple multiplication, division, addition, subtraction equations). Unlike just using #expr, this shows both the equation and the result, so you don't have to write the equation twice for the same effect.
Use {{math calculation|equation}} .
Sample output
{{math calculation|(3*8)+(3/8)-(3/8)}} gives...
$ (3*8)+(3/8)-(3/8) $ = 24
Community content is available under CC-BY-SA unless otherwise noted.