function myRound(v, n = 0) { let t = Math.pow(10, n); return Math.round(v*t)/t; } function test(v) { console.log(myRound(v, 3)); console.log( ...
確定! 回上一頁