Hi,
I'm trying to convert a string value to a single number.
Considering the following:
dim a as string = "00.1851"
dim b as single = csng(a)
I get b= 1851.0 where I expected b= 0.1851.
Does anybody know the right way to do this?
Thanks a lot!
Jordi
I'm trying to convert a string value to a single number.
Considering the following:
dim a as string = "00.1851"
dim b as single = csng(a)
I get b= 1851.0 where I expected b= 0.1851.
Does anybody know the right way to do this?
Thanks a lot!
Jordi