Dim strnumber strnumber = \"0.3\" Dim add add = 0.1 Dim result result = strnumber + add MsgBox result
I want to get 0.4 as result, b
0.4
Following below procedures can help:
example:
dim a,b,c a="10.12" b="5.05" a=Replace(a,".",",") b= Replace(b,".",",") c=Cdbl(a)+Cdbl(b) msgbox c