摘要: 有时候数据库数据为BigDecimal,而我们需要的是Integer类型,则要将数据进行转换,以 变量num为例 》先将BigDecimal转换为String类型 String str=num.toString(); 》再将String类型转换为Integer类型 Integer integer=I 阅读全文
posted @ 2019-09-26 09:38 Demetris 阅读(22447) 评论(0) 推荐(0)