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

> pure function abs(): integer Returns the absolute value of this integer; i.e. the integer 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/integer/abs/

FUNCTION

# integer.abs

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

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

Since 0.6.0

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