var amount = 44000; var roundedAmount = parseFloat(amount.toFixed(2)) roundedAmount.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 })