1
Answer

string to doble problem

Photo of george

george

16y
2.6k
1

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)