Lines Matching refs:NumberFormat
11 …reference/apis-localization-kit/js-apis-intl.md#format-1) API of the [NumberFormat](../reference/a…
18 2. Create a **NumberFormat** object.
20 …The **NumberFormat** constructor allows you to set different number formatting formats by using **…
23 …let numberFormat: intl.NumberFormat = new intl.NumberFormat(locale: string | Array<string>, option…
108 let numberFormat1 = new intl.NumberFormat('zh-CN', {notation: 'scientific', maximumSignificantDigit…
112 let numberFormat2 = new intl.NumberFormat('zh-CN', {notation: 'compact', compactDisplay: 'short'});
116 let numberFormat3 = new intl.NumberFormat('zh-CN', {signDisplay: 'always'});
120 let numberFormat4 = new intl.NumberFormat('zh-CN', {style: 'percent'});
127 Currency and unit formatting is based on number formatting. When creating a **NumberFormat** object…
176 let numberFormat5 = new intl.NumberFormat('zh-CN', {style: 'currency', currency: 'USD'});
180 let numberFormat6 = new intl.NumberFormat('zh-CN', {style: 'currency', currency: 'USD', currencyDis…
184 let numberFormat7 = new intl.NumberFormat('en-GB', {style: 'unit', unit: 'hectare'});
188 let numberFormat8 = new intl.NumberFormat('en-GB', {style: 'unit', unit: 'hectare', unitUsage: 'are…