I want to print numbers with commas as thousands
, lacs
, crores
separators. for e.g:
10,000 - ten thousand
1,00,000 - 1 lakh
10,00,000 - 10 lakh
1,00,00,000 - 1 crore
I have used angular's number pipe to implement comma separated values but not getting proper output it displays like this 1,000,000 - 10 lakh
.
How can i implement above functionality using angular/javascript or is there any pipe for this in angular?