yjryu / UI_Layout star
File name
Commit message
Commit date
yjryu 2024-01-10 04f3565 240110 류윤주 commit UNIX

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