+1 vote
in Angular by

How will you convert a string into a currency?

1 Answer

0 votes
by

currency filter is used to convert the input string to currency format.

In below example, we've added currency filter to an expression using pipe character. Here property value will be converted to currency format.

<div> 

   The currency of this Tutorial is {{newValue | currency}}

</div> 

Related questions

0 votes
asked Feb 11, 2021 in Python by SakshiSharma
0 votes
asked Dec 22, 2019 in Python by rajeshsharma
...