UNPKG
check-ethereum-scanner
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Safety checks for new Ethereum tokens
check-ethereum-scanner
/
Ethereum-Renounced-Contract-Scanner
/
node_modules
/
ext
/
docs
/
math
/
round-10.md
11 lines
(7 loc)
•
177 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
# `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
```