george

george

  • NA
  • 23
  • 46.1k

string to doble problem

Sep 21 2008 1:46 PM

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)