Input string was not in a correct format #2

后端 未结 10 1283
一向
一向 2020-12-03 21:24
double temp;
temp = (double)Convert.ToDouble(\"1234.5678\");

Hey Lads and Ladies, I can\'t for the life of me figure out why the above line isn\'t

10条回答
  •  难免孤独
    2020-12-03 22:01

    You may be somehow using a european local. In some countries the . and , in numbers is reversed.

提交回复
热议问题