How to change angularjs currency format? I need to change that 2.543.128,76. The default format is angularjs $254,312,876.00.
2.543.128,76
$254,312,876.00
you just need to add the correct local one, for example <script src="i18n/angular-locale_tr-tr.js"></script>
<script src="i18n/angular-locale_tr-tr.js"></script>
supported locales are here: https://github.com/angular/angular.js/tree/master/src/ngLocale
You can also do this with a digital filter:
{{(produce.price | number:2) + "₺"}}
Source: https://habr.com/ru/post/1651798/More articles:Laravel 5.2 How to use "OR LIKE" in the condition "AND" - phpChanging axial discontinuities without determining the sequence - ggplot - rThird-party library (ng2-page-scroll) does not work in Angular -Cli project - angularHow to find which method hangs with async / wait? - debuggingCan I see how long I have been working on the Xcode project? - xcodeКак ресурсы группируются в s в файле .csproj - c#Azure SQL DW data loading takes time - azureHow to add non-standard sql functions to spring boot application? - spring-bootWhich data type to choose json or jsonb or text - jsonFast generic function saved as varaible - genericsAll Articles