Siebel VB Language Reference > VB Language Reference >
Sqr Function
This standard VB function returns the square root of a number. Syntax
Sqr(number)
|
|
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. Related Topics
Exp Function Fix Function Int Function Log Function Rnd Function Sgn Function
|