1) 格式化整数(把浮点数转化为整数) NumberFormat nf = NumberFormat.getIntegerInstance(); NumberFormat nf = 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交