Spec-Zone.ru › Haxe JavaScript

NumberFormatPartType(String)

package js.lib.intl

import js.lib.intl.NumberFormat

Доступно в js

Переменные

inlineread onlyCurrency:NumberFormatPartType = "currency"

Строка валюты, например, символы "$" и "€" или название "Доллар", "Евро" в зависимости от того, как указано currencyDisplay.

inlineread onlyDecimal:NumberFormatPartType = "decimal"

Строка разделителя десятичных знаков (".")

inlineread onlyFraction:NumberFormatPartType = "fraction"

Число дробной части.

inlineread onlygroup:NumberFormatPartType = "group"

Строка разделителя групп (",").

inlineread onlyinfinity:NumberFormatPartType = "infinity"

Строка бесконечности ("∞").

inlineread onlyinteger:NumberFormatPartType = "integer"

Целое число.

inlineread onlyliteral:NumberFormatPartType = "literal"

Любые строковые литералы или пробелы в отформатированном числе.

inlineread onlyminusSign:NumberFormatPartType = "minusSign"

Строка минуса ("-").

inlineread onlynan:NumberFormatPartType = "nan"

Строка NaN ("NaN").

inlineread onlypercentSign:NumberFormatPartType = "percentSign"

Строка процента ("%").

inlineread onlyplusSign:NumberFormatPartType = "plusSign"

Строка плюса ("+").

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/intl/NumberFormatPartType.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API