CDbl Function [Runtime] /text/sbasic/shared/03100400.xhp Sun Microsystems, Inc. converted from old format - fpe
CDbl function CDbl Function [Runtime] Converts any numerical expression or string expression to a double type.
Syntax CDbl (Expression) Return value Double Parameters: Expression: Any string or numeric expression that you want to convert. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system. Example: Sub ExampleCountryConvert Msgbox CDbl(1234.5678) Msgbox CInt(1234.5678) Msgbox CLng(1234.5678) end sub