等于 -1。round()是四舍五入,注意负数5是舍的,例如:Math.round(1.5)值是2,Math.round(-1.5)值是-1。 Was this helpful? YesNo 0 / 0 上一篇: String 属于基础的数据类型吗? 下一篇: final 在 Java 中有什么作用? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。