验证中...
Languages: Java
Latest update 2018-12-09 09:59
BigDecimal.txt
Raw Copy
public class TestDDDDD {
public static void main(String[] args) {
Integer amountInt = 3890;
BigDecimal amount = new BigDecimal(amountInt);
amount = amount.divide(BigDecimal.valueOf(100));
System.out.println("amount的转换值为: " + amount);
}
}

Comment list( 0 )

Sign in for post a comment

Help Search