If you don't need last decimal value then you can use number pipe with
₹{{myobject.price | number}}
If you don't need last decimal value but you want to use the inbuilt
currency pipe functionality, then you can create a custom pipe for
currency or you can create a split pipe and use with currency
You can make a filter using
toLocaleString
like :Filter example :
Usage :
In angular, Create a custom filter like this
And then you can
{{data|number|ic}}
For more on pipe, read angular 2+ doc
Indian currency short like if you want to currency view like ₹ 2.5 Lakh, ₹ 3 Cr, ₹12 Lakh etc then use below Pipe. It will work
In HTML Use like
Output
To print the rupee symbol(₹), try like this:
For more formatting, refer this.
Just add currency filter like this.