JAVA强制类型转换不是四舍五入

xiaoxiao2021-02-28  114

如下图,如果需要四舍五入,需要引入decimalformat,如图2

转载请注明原文地址: https://www.6miu.com/read-34410.html

最新回复(0)