You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/website/content/docs/templates/hcl_templates/functions/numeric/pow.mdx

18 lines
298 B

---
page_title: pow - Functions - Configuration Language
description: The pow function raises a number to a power.
---
# `pow` Function
`pow` calculates an exponent, by raising its first argument to the power of the second argument.
## Examples
```shell-session
> pow(3, 2)
9
> pow(4, 0)
1
```