WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

ABS and ABSVAL functions

The ABS and ABSVAL numeric functions return the absolute value of a supplied number.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-ABS----+--(--source_number--)-----------------------------><
   '-ABSVAL-'                        

The absolute value of the source number is a number with the same magnitude as the source but without a sign. The parameter must be a numeric value. The result is of the same type as the parameter unless it is NULL, in which case the result is NULL.

For example:
ABS( -3.7 )
returns 3.7
ABS( 3.7 )
returns 3.7
ABS( 1024 )
returns 1024
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:11


Reference topicReference topic | Version 8.0.0.7 | ak05300_