Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference > Siebel VB Language Reference >
Sqr Function
This standard VB function returns the square root of a number.
Syntax
Sqr(number)
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
Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference Published: 18 June 2003 |