NumberFormat Data Type

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

Example

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