Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Sqr FunctionThis standard VB function returns the square root of a number. SyntaxReturnsUsageThe 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. ExampleFor 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 AlsoExp Function |
Siebel VB Language Reference |