floor

 

2023-07-12

1
console.log(Math.floor(5.95)); // 返回 5