> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/built-in-functions/math/abs.md).

# abs

abs() function is the Standard function available in 200OK.

**Description** : The abs function easily gives you the absolute value of a number without its sign.

**Syntax** :  fx\_abs()

**Example** : fx\_abs(-67) gives you 67. Simplify your numeric tasks with this straightforward and effective function.

Here we go with simple scenario using the above function.

**Scenario**  :  A data scientist is processing a large dataset of temperature fluctuations, using a function to obtain the absolute deviation of temperature values from a reference point, facilitating accurate climate trend analysis.

<br>

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/nFfsvhUHmXRETbaqgUZAZBknC9B913WmqYfQxcPHvptB0Fk25h4lb_qbXt713oBYhIx2uySUYXQjxQ9nNS12bF9xUZzLSBSNdXvNLw_peTIcQwEOCQvtqlIuJroNzkYbbpt0ck7Qn6kOQidS0WMBTwI" alt=""><figcaption><p>Passing the value inside the function.</p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/9nWKmunkDQuMX_OBiQo-TI8WTgK7tE8YBIwCpRy5DV-woEEED1j6RY1l_RAfSu0MGyVyzAXd3Skc-3SHSq5vFvkCl06gyzvKOFO8rfP5UJpTJiuXgZBjLqtTC8d9p392HDKMPdDNQTdIXp4GbEQr4UE" alt=""><figcaption><p><mark style="color:blue;"><strong>Passing the value inside the function using index pattern</strong></mark></p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/OjT6o8e7HgGUwHq7rGlfcSqYDEoeRypifye3n53SVy9bfzEbk6KhaADzzKKn134YGObZ6tKTX9Yy_bsdWCUo6IOAiM4ZdwDK_QKG3heJN0jPCB5I4TjTMiAboYMXQ-JZgRg1aKlBfak5Z9bBD2lZ6Lg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/ok97X3YLRAtcEYpvWY8sIMYyhZn5hPKAZ9SIyywOJbHhZ9aMqsqQR8XMVFjQSiGyoLlgp8Lt1OMf2y9cKdcDq0CCmKIO-nG5hxNJ3cDXwBPwBde6w3lgP5Lisp2IcjYdz7Gs8f5d0m-AtAE8c93Ej4U" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/UNYx5EiKE_d4WbAq9AXdWcmBHsLFc-DYqBZkl6fBZG8-rll_HUmpaAjWgoLr8x55tI90Xb_XvrGE6CXoQtutT8BtQ0UOdOcmtidUhXSdAkgru87QbxWJJ-Lj6PCrMTSWB2FIwq0kzFWsfp9389QFZgo" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/aoQlJ7YJUnm6QZc_cfhp5IWeVs6mNah7nVVwRH6wKSyR6kUyMfkezEpIOykcpnUSOGHsxXNhDyQPqsnSmE9qxApGfn0JX0yQanPSsb9SWx5Now-LbPwaLsdO-fWcPSnRHKjfl-a3o8kaaKBJiLqoON4" alt=""><figcaption></figcaption></figure>
