vba string to double code example
Example 1: vba string to double
' String to Double:
myDouble = CDbl ("1,2345")
Example 2: vba string to long
MsgBox CInt("7,55") ' Integer -> 8
MsgBox CLng("7,55") ' Long -> 8
MsgBox CDbl("7,55") ' Double -> 7,55