# Abs

Jump to navigation
Jump to search

The `abs`

function returns the absolute value of the given number.

### Arguments

Parameter Name | Default Value | Meaning |
---|---|---|

x | 0 | number to take the absolute value of |

## Example

```
abs(-42) // returns 42
```