sanmu

Results 1 comments of sanmu

function tofixedNum(num) { let n=0 numarr.forEach((item,index) => { if(item.toString().includes('.')) { let tem = num.toString().split('.')[1].length if (tem>n) { n = tem } } }) return n; } ((.1+.2).toFixed(tofixedNum([.1,.2])))*1