mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2025-01-28 01:32:24 +00:00
177 B
177 B
Math.round10
(ext/math/round-10)
Decimal round
const round10 = require("ext/math/round-10");
round10(55.549, -1); // 55.5
round10(1.005, -2); // 1.01