Template:Pow/doc
This is a documentation subpage for Template:Pow. It may contain usage information, categories and other content that is not part of the original template page. |
Allows a number be raised to a small integer power.
- Syntax:
- {{Pow|base|power}}
- The base and power can be any valid numeric expression.
- Note:
- Powers greater than 150 are treated as 150.
- Powers less than -150 are treated as -150.
- Any decimals in the power are treated as the next lower integer value (e.g. 17.6 = 17 and -3.1 = -4).
- Example:
- {{Pow|2|5}} = 32
- {{Pow|10|6}} = 1000000
- {{Pow|10|-4}} = 0.0001
- {{Pow|5+5|6-10}} = 0.011764705882353