CDbl Function

Converts any numerical expression or string expression to a double type.

தொடரமைப்பு

CDbl (Expression)

Return value

Double

அளவுருக்கள்:

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.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:

Sub ExampleCountryConvert

    MsgBox CDbl(1234.5678)

    MsgBox CInt(1234.5678)

    MsgBox CLng(1234.5678)

End Sub