# Abs (Decimal)

| **Name**    | ***Abs (Decimal)***                                                             |
| ----------- | ------------------------------------------------------------------------------- |
| Syntax      | Abs (Decimal number)                                                            |
| Purpose     | To return the absolute value of a given number.                                 |
| Description | Returns the absolute value for the given number.                                |
| Return Type | Decimal                                                                         |
| Parameters  | number \[System.Decimal] – Number for which the absolute value will be returned |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FX1mzGQ4sRi9oCfvfFUnr%2F0.png?alt=media)

**Example**

In this example, we are passing negative decimal value to the function transformation object using a *Variables* object.

Where,

*number* = -1.234

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FTsItA4YnEfd3eBPc1v5C%2F1.png?alt=media)

In the output window, you can see that the absolute value, 1.234, has been returned for the provided *number* value.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FqZpEnr4NqZcKV1tQUuvT%2F2.png?alt=media)
