Math.round(11.5)等於多少?Math.round(-11.5)等於多少?

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/04 11:56:03

Math.round(11.5)等於多少?Math.round(-11.5)等於多少?

Math.round(11.5)返回(long)12,Math.round(-11.5)返回(long)-11;