how to convert the number into million formats with two decimal points I tried with this code.
My Input is milFormate(1000);
milFormate(value){
var nf = new Intl.NumberFormat();
return nf.format(value).toLocaleString();
}
my output is 10,100
I expected should be 10,100.00
how can I achieve this