Possible Duplicate:
Reading a double value from a string
I have a problem with converting my String into a double, I always get strange results. I want to convert the following string:
string Test = "17828.571428571";
I tried it like this (because it normally works):
Double _Test = Convert.ToDouble(Test);
Result is: 17828571428571 (without the dot, lol)
I need it as a double, to Math.Round() afterwards, so I have 17828 in my example. My second idea was to split the string, but is that really the best method? :S
Thanks for helping me!
Finn