NumberFormat Data Type

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

Example

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