Thanks guys,
I had a problem with my computer culture, because my O.S is spanish, so switching to english culture when program starts solved the problem.
Thanks fr replying,
Jordi
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.