### ----------------------------------------------------
### -- PDF::ISO_32000_2
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000_2/Table_268-Entries_in_a_number_format_dictionary.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 268 — Entries in a number format dictionary",
    "head": [
      "Key",
      "Type",
      "Value"
    ],
    "rows": [
      [
        "Type",
        "name",
        "(Optional) The type of PDF object that this dictionary describes; is NumberFormat for a number format dictionary."
      ],
      [
        "U",
        "text string",
        "(Required) A text string specifying a label for displaying the units represented by this dictionary in a user interface; the label uses a universally recognised abbreviation."
      ],
      [
        "C",
        "number",
        "(Required) The conversion factor used to multiply a value in partial units of the previous number format array element to obtain a value in the units of this dictionary. When this entry is in the first number format dictionary in the array, its meaning (that is, what it is multiplied by) depends on which entry in the rectilinear measure dictionary (see \"Table 267 — Additional entries in a rectilinear measure dictionary\") references the number format array."
      ],
      [
        "F",
        "name",
        "(Optional; meaningful only for the last dictionary in a number format array) A name indicating whether and in what manner to display a fractional value from the result of converting to the units of this dictionary by means of the C entry. Valid values is:\nD Show as decimal to the precision specified by the D entry.\nF Show as a fraction with denominator specified by the D entry.\nR No fractional part; round to the nearest whole unit.\nT No fractional part; truncate to achieve whole units.\nDefault value: D."
      ],
      [
        "D",
        "integer",
        "(Optional; meaningful only for the last dictionary in a number format array) A positive integer that specifies the precision or denominator of a fractional amount:\nWhen the value of F is D, this entry is the precision of a decimal display; it is a multiple of 10. Low-order zeros may be truncated unless FD is true. Default value: 100 (hundredths, corresponding to two decimal digits).\nWhen the value of F is F, this entry is the denominator of a fractional display. The fraction may be reduced unless the value of FD is true.\nDefault value: 16."
      ],
      [
        "FD",
        "boolean",
        "(Optional; meaningful only for the last dictionary in a number format array) If true, a fractional value formatted according to the D entry may not have its denominator reduced or low-order zeros truncated.\nDefault value: false."
      ],
      [
        "RT",
        "text string",
        "(Optional) Text that is used between orders of thousands in display of numerical values. An empty string indicates that no text is added.\nDefault value: COMMA (2Ch)."
      ],
      [
        "RD",
        "text string",
        "(Optional) Text that is used as the decimal position in displaying numerical values. An empty string indicates that the default is used.\nDefault value: PERIOD (2Eh)."
      ],
      [
        "PS",
        "text string",
        "(Optional) Text that is concatenated to the left of the label specified by U. An empty string indicates that no text is added.\nDefault value: A single ASCII SPACE character (20h)."
      ],
      [
        "SS",
        "text string",
        "(Optional) Text that is concatenated after the label specified by U. An empty string indicates that no text is added.\nDefault value: A single ASCII SPACE character (20h)."
      ],
      [
        "O",
        "name",
        "(Optional) A name indicating the position of the label specified by U with respect to the calculated unit value. Valid values is:\nS The label is a suffix to the value.\nP The label is a prefix to the value.\nThe characters specified by PS and SS is concatenated before considering this entry.\nDefault value: S."
      ]
    ]
  }
}


