Angular2 currency symbol
问题 I'm in Australia trying to show some currency values, I'm doing {{ portfolio.currentValue | currency : 'AUD' : true : '4.0' }} and I'm getting as result A$1,300,000 , I would like to show $1,300,000 (no A) without having to change to 'USD'. Is there a way to customise my currency symbol? 回答1: You can set your locale to Australia and then for AUD currency, it will just display a $. In your app providers add the following: import { LOCALE_ID } from '@angular/core'; ... { provide: LOCALE_ID,