CDbl Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को डबल टाइप में बदलता है.

Syntax


IsDate (Expression)

वापसी मूल्य:

दोगुना

पैरामीटर

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.

Error codes:

5 Invalid procedure call

उदाहरण:


Sub ExampleCountryConvert
    MsgBox CDbl(1234.5678)
    MsgBox CInt(1234.5678)
    MsgBox CLng(1234.5678)
End Sub

Please support us!