> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Absolute

> Get absolute value of a number

## Overview

The `absolute` transformation returns the absolute value of a number (removes the sign).

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
absolute(<variable>)
```

## Parameters

| Parameter  | Type   | Required | Description                             |
| ---------- | ------ | -------- | --------------------------------------- |
| `variable` | number | Yes      | The number to get the absolute value of |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
absolute(<variable>)
```

<Note>
  The absolute value of a number is always positive or zero.
</Note>
