sqrt()

Scalar. Returns the square root of a given number.

Syntax

sqrt ( value )

Parameters

value

A money or numeric type.

Usage

Returns the square root of a given number. The function takes a numeric type or a money type as its argument, and the function returns a float. If the argument is invalid, the function returns a "Floating-point exception" error.

Example

sqrt (100.0) returns 10.0.