John Smith
john@example.com
---
title: "abs"
excerpt: "Computes the absolute value of a number."
layout: manual
Computes the absolute value of a number.
```js
abs(num: number) -> number
```
### Examples
const myVar = abs(-4)
### Arguments
* `num`: `number` (REQUIRED)
### Returns
`number`