# ABS
URL: https://docs.valsight.ai/abs/
Description: Returns the absolute value for each value in the input node. Use this when you need to remove the sign from negative values.
**Category:** [Math & numeric](/math-numeric/)

## Overview

The **ABS** function **returns the absolute value** for each value in the input node.

Use this function when you need to remove the sign from negative values.

## Syntax

`ABS('Node')`

## Parameters

| Parameter | Description                                                                  | Type           | Required |
| --------- | ---------------------------------------------------------------------------- | -------------- | -------- |
| **Node**  | Input node, specified using the node name in single quotes (e.g. `'Profit'`) | Node reference | Yes      |

## Example

### Absolute value of positive, negative, and zero

This example shows that negative values become positive, while positive values and zero remain unchanged.

**Input node:** `'DecimalNode'`

| Year | Value |
| ---- | ----- |
| 2025 | -24.5 |
| 2026 | 95    |
| 2027 | 0     |

**Formula:** `ABS('DecimalNode')`

| Year | ABS Result |
| ---- | ---------- |
| 2025 | 24.5       |
| 2026 | 95         |
| 2027 | 0          |
