public static void ceil(){
Float i = (float) 521.52; System.err.println("要提现:"+i); Float j= (float) (i*0.06);//收取百分之六手续费 Float b=(float)(Math.round(j*100)/100.0); System.err.println("手续费是:"+b); Float v= i-b; Float c=(float)(Math.round(v*100)/100.0); System.err.println("实际到账:"+c); }