Product SiteDocumentation Site

7.4.2. ABS (Absolute Value)


>>-ABS(number)-------------------------------------------------><

Returns the absolute value of number. The result has no sign and is formatted according to the current NUMERIC settings.
Here are some examples:

Example 7.6. Builtin function ABS

ABS("12.3")       ->    12.3
ABS(" -0.307")    ->    0.307