mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-24 04:36:31 +00:00
11 lines
170 B
Markdown
11 lines
170 B
Markdown
# `Math.floor10` _(ext/math/floor-10)_
|
|
|
|
Decimal floor
|
|
|
|
```javascript
|
|
const floor10 = require("ext/math/floor-10");
|
|
|
|
floor10(55.59, -1); // 55.5
|
|
floor10(59, 1); // 50
|
|
```
|