额加
java元转分,分转元
java元转分,分转元java元转分,分转元元转分public static int changeY2F(String amount){BigDecimal bigDecimal =new BigDecimal(amount).setScale(2);//保留两位⼩数return bigDecimal.multiply(new BigDecimal(100)).intValue();}上⾯这种⽅式...
java元转分,分转元java元转分,分转元元转分public static int changeY2F(String amount){BigDecimal bigDecimal =new BigDecimal(amount).setScale(2);//保留两位⼩数return bigDecimal.multiply(new BigDecimal(100)).intValue();}上⾯这种⽅式...