IBM Integration Bus, Version 10.0.0.1 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


SIGN function

The SIGN numeric function tells you whether a given number is positive, negative, or zero.

Syntax

Read syntax diagramSkip visual syntax diagram
>>---SIGN----(--NumericExpression--)---------------------------><

The SIGN function returns -1, 0, or +1 when the NumericExpression value is negative, zero, or positive respectively. The parameter can be any built-in numeric data type and the result is of the same type as the parameter. If the parameter is NULL, the result is NULL


ak05381_.htm | Last updated 2015-05-28 20:51:18