String to double | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

String to double

Hey how can i convert a string value "23.54" to a double value? Because my problem is that the converts method don't knows that the "." is the decimal point...

2nd Sep 2018, 4:49 PM
Daniel
1 Answer
+ 3
You can see my example solution here. https://code.sololearn.com/cN03140tE2KQ/?ref=app
2nd Sep 2018, 5:20 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar