📜  精度 java 代码示例

📅  最后修改于: 2022-03-11 14:52:40.793000             🧑  作者: Mango

代码示例1
for(int i = 2; i < 9; i++){
            System.out.println("10000 at " + i + "%"  + " interest = " +   String.format("%.2f",calculateInterst(10000,i)));
        }