> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ABS

> The ABS function calculates the absolute value of a number and works across multiple YiDA scenarios, including Forms, workflow design, and integration & automation. Call it using the format ABS(number), where number is a required parameter. This function returns an absolute value of the Numerical type.

## Supported Product Scenarios

The ABS function is supported in the following YiDA scenarios:

* Form (main table field)
* Form (business association rules)
* Form (validation)
* workflow design (validation rules)
* workflow design (association action)
* integration & automation
* Workflow - Node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
ABS(number)
```

## Attribute Description

| Attribute | Required | Description                                                         |
| --------- | -------- | ------------------------------------------------------------------- |
| number    | Yes      | Number type. The number whose absolute value you want to Calculate. |

## Back Value

| Back value Type | Description                                    |
| --------------- | ---------------------------------------------- |
| Numerical       | The absolute value obtained through Calculate. |

## Usage Example

As shown in the figure below, use the `ABS()` function to obtain the absolute value of a number.

## Experience

When the Numerical value is negative, Back the absolute value of this number.
