双输入 = 2147483647.2147483647;
预期双输出 = 2147483647.21
我写了以下代码:
Double dbNew =Double.parseDouble(String.format("%.2f", db));
我得到了:
2.14748364721E9
请帮忙