Avatar of Steve Hougom
Steve Hougom
Flag for United States of America

asked on 

Problem with angular currency pipe

I am using the angular currency pipe and it keeps formatting my input incorrectly.
For example I enter 12303 and its formatting it as $12,303.00 when i really wanted 123.03

Here is my line of code in typescript:  this.formattedAmount = this.currencyPipe.transform(temp, 'USD');
Hope someone can help.
Angular* typescript programming

Avatar of undefined
Last Comment
Julian Hansen

8/22/2022 - Mon