Template:Pow/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Pow (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Allows a number be raised to a power. Implemented with the #expr parser function.

Syntax:
{{Pow|base|power}}
  • The base and power can be any valid numeric expression.
  • If base or power is not a valid expression, the template outputs "NaN".
Example:
  • {{Pow|2|5}} = 32
  • {{Pow|10|6}} = 1.0E+6
  • {{Pow|10|-4}} = 0.0001
  • {{Pow|5+5|6-10}} = 0.0001