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

11 lines
177 B
Markdown
Raw Normal View History

2022-07-06 04:15:11 +00:00
# `Math.round10` _(ext/math/round-10)_
Decimal round
```javascript
const round10 = require("ext/math/round-10");
round10(55.549, -1); // 55.5
round10(1.005, -2); // 1.01
```