terraform/website/docs/configuration/functions/pow.html.md

306 B

layout page_title sidebar_current description
functions pow function docs-funcs-numeric-pow The pow function raises a number to a power.

pow Function

pow raises a number to a given power. That is, it calcluates the exponent.

Examples

> pow(3, 2)
9
> pow(4, 0)
1