# Abs (Double)

| **Name**    | ***Abs (Real)***                                                               |
| ----------- | ------------------------------------------------------------------------------ |
| Syntax      | Abs (Real number)                                                              |
| Purpose     | To return the absolute value of a given number.                                |
| Description | Returns the absolute value for the given number.                               |
| Return Type | Real                                                                           |
| Parameters  | number \[System.Double] – 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%2FnLBIZ19nI8Z0Y40BmPt4%2F0.png?alt=media)

**Example**

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

Where,

*number* = -1234

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

In the output window, you can see that the absolute value, 1234, 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%2FEkuSdJbDI4LdX5Aqn5ru%2F2.png?alt=media)
