ran npm run tdd & generated TDD
This commit is contained in:
1
test/round/round.js
Normal file
1
test/round/round.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = (n, decimals = 0) => Number(`${Math.round(`${n}e${decimals}`)}e-${decimals}`);
|
||||
Reference in New Issue
Block a user