katoikia-app/web-ui/web-react/node_modules/ext/docs/math/floor-10.md

11 lines
170 B
Markdown
Raw Normal View History

2022-07-06 04:15:11 +00:00
# `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
```