1
Reply

string to doble problem

george

george

Sep 21 2008 1:46 PM
2.4k

hi i have a string s=5.15

and i wand the 5.15 number of string to convert to doble number

i have try the

dob= Double.Parse(s);

but i get 515 the conversion does not get the decimal . (if i use , then ok the conversion can be done!)

is any way to create this with the . char


Answers (1)