21 lines
306 B
Markdown
21 lines
306 B
Markdown
|
---
|
||
|
layout: "functions"
|
||
|
page_title: "pow function"
|
||
|
sidebar_current: "docs-funcs-numeric-pow"
|
||
|
description: |-
|
||
|
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
|
||
|
```
|