21 lines
354 B
Markdown
21 lines
354 B
Markdown
---
|
|
layout: "functions"
|
|
page_title: "pow - Functions - Configuration Language"
|
|
sidebar_current: "docs-funcs-numeric-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
|
|
```
|