摘要: parseInt(123.34)=123(保留整数) Math.ceil(123.34)=124(向上取整) Math.floor(123.34)=123(向下取整) Math.round(123.34)=123,Math.round(123.56)=124四舍五入 123.234.toFixe(2 阅读全文
posted @ 2022-11-10 17:12 木莲 阅读(404) 评论(0) 推荐(0)