abs()

Function group Execute on client Platform(s)
Number YES All

Syntax

abs(number)

Description

Returns the magnitude of a real number ignoring its positive or negative sign.

Example

Calculate lResult as abs(1002)
; returns 1002


Calculate lResult as abs('-203.45')
; returns 203.45


Calculate lResult as abs('12ABC')
; returns 0