#math

 

2023-07-12

abs

```javascript console.log(Math.abs(-3.14)); // 返回 3.14 ```

2023-07-12

floor

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