terraform/website/docs/language/functions/pow.mdx

18 lines
285 B
Plaintext
Raw Normal View History

2021-12-15 03:41:17 +01:00
---
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
```
> pow(3, 2)
9
> pow(4, 0)
1
```