WebSphere Message Brokers
File: ak05300_
Writer: Bill Oppenheimer

Reference topic

This build: July 31, 2007 21:31:49

ABS and ABSVAL functions

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

Syntax

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
Related concepts
ESQL overview
Related tasks
Developing ESQL
Related reference
Syntax diagrams: available types
ESQL numeric functions
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:31:49

ak05300_ This topic's URL is: