TypeScript/tests/cases/compiler/numberFormatCurrencySign.ts

2 lines
127 B
TypeScript
Raw Normal View History

const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' }).format(999999);