mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
17 lines
251 B
Text
17 lines
251 B
Text
---
|
|
sidebar_label: pow
|
|
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
|
|
```
|