xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
摘要: JavaScript Math.trunc vs Math.floor All In One Math.trunc() 直接截取掉小数部分, 负数不会向下取整 ⚠️ Math.floor() 向下取整, 负数会向下取整 ✅ 阅读全文
posted @ 2024-06-03 00:44 xgqfrms 阅读(3) 评论(0) 推荐(0) 编辑