Questions tagged [currency-pipe]
21 questions
0
votes
1 answer
Angular Currency pipe with decimals
I have my input with currencyPipe, it works, but sometimes i need to add decimals numbers, but with the code that i'm using i can't do it.
this.form.valueChanges.subscribe(res => {
if(res.total_actives_amount){
this.form.patchValue({
…

Alejandro Avalos
- 11
- 3
0
votes
2 answers
How to remove 1000 factor commas from currency pipe in angular
Is there a way to remove the commas when using Currency pipe?
{{balance | currency }}
Output like this - $7,885,412.00
I want like this - $7885412.00

Dimuthu
- 417
- 4
- 12
0
votes
1 answer
How to remove decimal value after the input is formatted based on focus out in angular8
i have used currency pipe for formatting the input, but i get .00, when i come out of the input fields, but i want $1,000,000 (no decimals, including commas as necessary and show $ sign) but now i am getting it like this, if i type 1000000 and it…

Bhrungarajni
- 2,415
- 11
- 44
- 88
0
votes
1 answer
How to show pennies (ones) position with Angular CurrencyPipe?
I am trying to show the ones (pennies) position when my number is formatted through Angular's CurrencyPipe. Here is my CurrencyPipe:
(686.50 | currency:'USD': true: '1.0-2')
The current output is $686.5.
The expected output is $686.50.
My…

Avery Buehler
- 1
- 1
0
votes
1 answer
CurrencyPipe and currencyCode in Ionic3
I'm developing a application where I want currency will be show with currency code depending locale configuration at the device.
I'm trying with globalization native ionic plugin. All works fine if I write in my code the currency Code (e.g. EUR) but…

Goltra
- 113
- 14
0
votes
1 answer
My variable is a number type, but CurrencyPipe still throws an Invalid argument exception
I checked the typeof the variable and it is a number. However, CurrencyPipe still throws the invalid argument exception.
currencyPipe.transform(myNum, 'USD', true, '1.2-2');
Does CurrencyPipe have other restrictions for input than type number?

evereveron
- 199
- 1
- 5
- 17