How to round number with two decimals ? const roundedNumber = 12.3456789.toFixed(2); //roundedNumber will be 12.35