Kvlknctk Kvlknctk - 3 months ago 15
AngularJS Question

Angularjs currency format ₺ (Turkish Lira)?

How to change angularjs currency format? I need to change like this

2.543.128,76
. Default angularjs format
$254,312,876.00
.

Answer

you just have to add the right local like <script src="i18n/angular-locale_tr-tr.js"></script>

supported locales are here : https://github.com/angular/angular.js/tree/master/src/ngLocale

you could also do it with number filter :

{{(produce.price | number:2) + "₺"}}
Comments