> For the complete documentation index, see [llms.txt](https://ademfox.gitbook.io/anvil/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ademfox.gitbook.io/anvil/core-num.md).

# Core/Num

Core/Num contains many helpers for dealing with numbers!

## Num.average(Array\<Number>)

Num.average requires an array with at least 2 numbers and returns the average of those numbers.

```javascript
Num.average([30, 7, 90, 1]) // Returns 32
```

## Num.cycle(number, range)
