# Exponentiation/Power

**URL:** <https://community.silverfin.com/t/exponentiation-power/697>\
**Category:** Cases\
**Tags:** math, operators\
**Created:** [March 2, 2018, 11:43am UTC](https://community.silverfin.com/t/exponentiation-power/697 "2018-03-02T11:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamVanEenoo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/samvaneenoo/32/134_2.png) [@SamVanEenoo](https://community.silverfin.com/u/SamVanEenoo)\
**Post date:** [March 2, 2018, 11:43am UTC](https://community.silverfin.com/t/exponentiation-power/697/1 "2018-03-02T11:43:57Z")

</div>

When you want to exponentiate 2 numbers in the silverfin templating language, you can do this by using `**`. For example:

> {% assign x = 2 %}  
> {% assign y = 3 %  
> {% assign power = x\*\*y %}  
> {{ power }}

The above code will print 8
