Axuda do LibreOffice 7.2
Converte calquera expresión numérica ou de cadea nun tipo duplo.
CDbl (Expresión)
Duplo
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.
Sub ExampleCountryConvert
MsgBox CDbl(1234.5678)
MsgBox CInt(1234.5678)
MsgBox CLng(1234.5678)
End Sub