Currency pipe formats wrong tg locale
See original GitHub issueWhich @angular/* package(s) are the source of the bug?
common
Is this a regression?
Yes
Description
When use tg (Tajikistan) locale currency symbol should be ‘сомонӣ’ and number formatting with . for fraction part. Example: Should be: 11 111.98 сомонӣ
I get : 11 111,98 сом.
Also in russian and english locale symbol should be ‘сомони’ and ‘somoni’ from right side. But I get from left side.
Russian locale currency TJS should be: 11 111.98 сомони I get:
11 111,98 TJS (should be dot not comma)
English locale should be : 11,111.98 somoni
But I get: TJS11,111.98
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version
)
Angular CLI: 13.3.7
Node: 16.15.0
Package Manager: yarn 1.22.18
OS: win32 x64
Angular: 13.3.10
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1303.7
@angular-devkit/build-angular 13.3.7
@angular-devkit/core 13.3.7
@angular-devkit/schematics 13.3.7
@angular/cdk 13.3.8
@angular/cli 13.3.7
@schematics/angular 13.3.7
rxjs 6.6.7
typescript 4.6.3
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
angular - Currency pipe wrong format - Stack Overflow
Using this : providers: [{provide: LOCALE_ID, useValue: 'it-IT'}] formats correctly the currency but I don't want a default LOCALE. So Why this ...
Read more >CurrencyPipe - Angular
Transforms a number to a currency string, formatted according to locale rules that determine group sizing and separator, decimal-point character, ...
Read more >Angular currency Filter - W3Schools
The currency filter formats a number to a currency format. By default, the locale currency format is used. Syntax. {{ number | currency...
Read more >angular 4 Currency pipe don't format numbers correctly ...
[Solved]-angular 4 Currency pipe don't format numbers correctly-angular.js. Search. score:1. You can set the locale-id which you could add to the providers
Read more >Currency filter - djangosnippets
Formats a number in the local currency format. ... from django import template import locale locale.setlocale(locale.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your answer, It seems problem relies on repo you using. I will write there.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.