# decimal.abs · Rell standard library · Chromia Docs (concept)

> pure function abs(): decimal Returns the absolute value of this decimal; i.e. the decimal itself if it's positive or its negation
if it's negative. Since 0

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/decimal/abs/

FUNCTION

# decimal.abs

```signature
pure function abs(): decimal
```

Returns the absolute value of this decimal; i.e. the decimal itself if it's positive or its negation
if it's negative.

Since 0.9.1

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/decimal/abs.html)Generated API reference, mirrored from the live docs
