abs
The absolute function calculates the absolute value of x.
Syntax
abs(<x>) as <field>
Rules
- The function cannot be nested.
Example
abs(-1.5) as v // v = 1.5
The absolute function calculates the absolute value of x.
abs(<x>) as <field>
abs(-1.5) as v // v = 1.5