Siebel VB Language Reference > Siebel VB Language Reference >

Sqr Function


This standard VB function returns the square root of a number.

Syntax

Sqr(number)

Argument
Description
number
An expression containing the number whose square root is to be found

Returns

The square root of number.

Usage

The return value is single precision for an integer, currency, or single-precision numeric expression; double precision for a long, variant, or double-precision numeric expression.

Example

For an example that calculates the square root of 2 as a double-precision floating-point value and displays it in scientific notation, read Format Function.

See Also

Exp Function
Fix Function
Int Function
Log Function
Rnd Function
Sgn Function


 Siebel VB Language Reference
 Published: 18 June 2003