现有类似如下语句:
double a = 0;
double b = -0.002456;
a += b;
当这段程序执行完后,发现a的值仍为0,现在不知从何下手,还请前辈指点,谢谢。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
现有类似如下语句:
double a = 0;
double b = -0.002456;
a += b;
当这段程序执行完后,发现a的值仍为0,现在不知从何下手,还请前辈指点,谢谢。