2020年9月30日
摘要: 除数取整: 1.只保留整数部分:parseInt(5/2) 2.向上取整,有小数就整数部分加1:Math.ceil(5/2) 3,四舍五入:Math.round(9/2) 4,向下取整:Math.floor(5/2) 大小写: 1.使字符串全部变为小写:toLowerCase() \ toLocal 阅读全文
posted @ 2020-09-30 10:52 JoeYoung 阅读(5218) 评论(0) 推荐(2) 编辑