Template:Pow
From Wikipedia, the free encyclopedia
[edit]
Template documentation
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

