There is no way to pass parameter to toLocaleString and remove currency symbol. so use this function instead.
var convertedNumber = num.toLocaleString('de-DE', { minimumFractionDigits: 2 });
There is no way to pass parameter to toLocaleString and remove currency symbol. so use this function instead.
var convertedNumber = num.toLocaleString('de-DE', { minimumFractionDigits: 2 });