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


SQRT function

The SQRT numeric function returns the square root of a given number.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-SQRT--(--source_number--)-----------------------------------><

SQRT returns the square root of source_number. The parameter can be any built-in numeric data type. The result is a FLOAT. If the parameter is NULL, the result is NULL.

For example:
SQRT(4)
returns 2E+1
SQRT(2)
returns 1.414213562373095E+0
SQRT(-1)
throws an exception.

ak05390_.htm | Last updated 2019-07-13 08:12:51