NumberFormat Data Type

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

Example

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