582 bytes added
, 10:38, 6 June 2007
<includeonly>{{#ifexpr:{{{2}}}>0|{{#expr:{{{1}}}{{loop|{{#expr:{{{2}}}-1}}|*{{{1}}}}}}}}}{{#ifexpr:{{{2}}}=0|1}}{{#ifexpr:{{{2}}}<0|{{#expr:1/({{{1}}}{{loop|{{#expr:{{abs|{{{2}}}}}-1}}|*{{{1}}}}})}}}}</includeonly><noinclude>
Allows a number be raised to an ''integer'' power from -150 to 150. Powers of greater than 150 are treated as 150 and those less than -150 as -150.
<pre>Usage:
{{pow|<base>|<power>}}</pre>
<pre>Example:
{{pow|2|4}}</pre> = {{pow|2|4}}
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]
</noinclude>