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

# Math functions

Math functions transform numeric values.

## abs

Returns the absolute value of a number.

```text theme={null}
abs(Actual - Plan)
```

A negative value becomes positive. A positive value stays positive.

## sqrt

Returns the square root of a number.

```text theme={null}
sqrt(Variance)
```

The input must be zero or positive. Use conditional logic if the input can be negative:

```text theme={null}
if(Variance >= 0, sqrt(Variance), 0)
```
