我在Android应用程序中做了看似简单的数学运算,但是我不断收到大量的舍入错误.例如.
Float.toString(0.4*0.4*12.5);
我希望得到2作为上述等式的结果.但是我得到2.0000002
android
android ×1