> For the complete documentation index, see [llms.txt](https://shedmate.gitbook.io/shedmate-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shedmate.gitbook.io/shedmate-help/setting-up-shedmate/costing-database-and-pricing-calculations/variables/mathematical-functions/abs.md).

# ABS

The ABS function in Shedmate returns the absolute value of a number. The absolute value is the magnitude of a number without considering its sign (positive or negative).

### Syntax:

```
abs(number)
```

### Parameters:

```
number (required): The number that will have its value as absolute.
```

### Usage example:

<figure><img src="https://lh7-us.googleusercontent.com/CrCrRTFpYZf_oyGb-AiL6N3OGmGAUcTGxrdY3EJyLtNV89T4MtKg4GPEu5W-uHQ8qpXwu0Gw9eTxQIr-m001wM7TQD_GbSJWMvZVG9pV_yG8cUOeBwIZha_wuFfuYzjFEtT3qH7G7fxDQtPlDaZC22E" alt=""><figcaption></figcaption></figure>
