NumberFormat Data Type

Abstract Type
Implemented Interfaces
Serializable
Properties
name data type description
minimumIntegerDigits number
numberInstance NumberFormat
maximumFractionDigits number
availableLocales array of string
currency string
roundingMode RoundingMode
instance NumberFormat
parseIntegerOnly boolean
maximumIntegerDigits number
percentInstance NumberFormat
currencyInstance NumberFormat
minimumFractionDigits number
groupingUsed boolean
integerInstance NumberFormat

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "minimumIntegerDigits" : 12345,
  "numberInstance" : {
    "minimumIntegerDigits" : 12345,
    "numberInstance" : { },
    "maximumFractionDigits" : 12345,
    "availableLocales" : [ "...", "..." ],
    "currency" : "...",
    "roundingMode" : "UNNECESSARY",
    "instance" : { },
    "parseIntegerOnly" : true,
    "maximumIntegerDigits" : 12345,
    "percentInstance" : { },
    "currencyInstance" : { },
    "minimumFractionDigits" : 12345,
    "groupingUsed" : true,
    "integerInstance" : { }
  },
  "maximumFractionDigits" : 12345,
  "availableLocales" : [ "...", "..." ],
  "currency" : "...",
  "roundingMode" : "FLOOR",
  "instance" : {
    "minimumIntegerDigits" : 12345,
    "numberInstance" : { },
    "maximumFractionDigits" : 12345,
    "availableLocales" : [ "...", "..." ],
    "currency" : "...",
    "roundingMode" : "DOWN",
    "instance" : { },
    "parseIntegerOnly" : true,
    "maximumIntegerDigits" : 12345,
    "percentInstance" : { },
    "currencyInstance" : { },
    "minimumFractionDigits" : 12345,
    "groupingUsed" : true,
    "integerInstance" : { }
  },
  "parseIntegerOnly" : true,
  "maximumIntegerDigits" : 12345,
  "percentInstance" : {
    "minimumIntegerDigits" : 12345,
    "numberInstance" : { },
    "maximumFractionDigits" : 12345,
    "availableLocales" : [ "...", "..." ],
    "currency" : "...",
    "roundingMode" : "UP",
    "instance" : { },
    "parseIntegerOnly" : true,
    "maximumIntegerDigits" : 12345,
    "percentInstance" : { },
    "currencyInstance" : { },
    "minimumFractionDigits" : 12345,
    "groupingUsed" : true,
    "integerInstance" : { }
  },
  "currencyInstance" : {
    "minimumIntegerDigits" : 12345,
    "numberInstance" : { },
    "maximumFractionDigits" : 12345,
    "availableLocales" : [ "...", "..." ],
    "currency" : "...",
    "roundingMode" : "UP",
    "instance" : { },
    "parseIntegerOnly" : true,
    "maximumIntegerDigits" : 12345,
    "percentInstance" : { },
    "currencyInstance" : { },
    "minimumFractionDigits" : 12345,
    "groupingUsed" : true,
    "integerInstance" : { }
  },
  "minimumFractionDigits" : 12345,
  "groupingUsed" : true,
  "integerInstance" : {
    "minimumIntegerDigits" : 12345,
    "numberInstance" : { },
    "maximumFractionDigits" : 12345,
    "availableLocales" : [ "...", "..." ],
    "currency" : "...",
    "roundingMode" : "UP",
    "instance" : { },
    "parseIntegerOnly" : true,
    "maximumIntegerDigits" : 12345,
    "percentInstance" : { },
    "currencyInstance" : { },
    "minimumFractionDigits" : 12345,
    "groupingUsed" : true,
    "integerInstance" : { }
  }
}