AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS currency Filter

AngularJS currency Filter

 

 

The currency filter is used to format a number to a currency format. By default, the locale currency format is used.

 

Syntax:-

 

{{ number | currency : symbol : fractionsize }}

 

Further Explanation:-

 

Value Description
symbol Optional. The currency symbol is to be displayed. The symbol can be any character or text.
fractionsize Optional. The number of decimals.

Code Explanation

All Tutorials related to AngularJS Filters and Elements

All Sections related to AngularJS