const NumericalProcessing = (val) => { let num = +val; if (isNaN(num)) num = 0; num = (Math.round(num * 10000) / 10000.0).toFixed(2); return num;};const num = NumericalProcessing(100)console.log(num)