TypeScript/tests/cases/compiler/numberFormatCurrencySign.ts

2 lines
127 B
TypeScript

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