Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > CDbl FunctionThis standard VB function converts an expression to the data type double. SyntaxReturnsThe value of expression as a double-precision number. UsageCDbl accepts any type of expression. Strings that cannot be converted to a double-precision floating point result in a Type Mismatch error. Variants containing null result in an Illegal Use of Null error. ExampleThis example calculates the square root of 2 as a double-precision floating-point value and displays it in scientific notation. Sub Button_Click See AlsoCCur Function |
Siebel VB Language Reference |