---
title: abs
card_id: 51285
---

# abs

```
the abs of [ph:number]
```

Value returned: number equal to the absolute value of `[ph:number]`

## Examples

```
the abs of -7
the abs of -7 + 3 -- returns 10
the abs of (-7 + 3) -- returns 4
```

## Related Topics

* [Arithmetic operators](/HyperTalkReference/operatorsandconstants/Arithmetic-operators)
