Whole#

The following table describes the required Whole# format string.

Sub-string Values Description
min-digits(1) + "#" + value(1) + "###" + max-digits(1)

-or-

min-digits(1) + "#" + "[" + value(1) + "]" + "###" + max-digits(1)

Specifies the thousands separator and the range of whole number digits. If min-digits is not used, the default is zero. If max-digits is not used, the default is S. If a ThousandsItem is specified, a Value must be present as the default for the syntax item.
"V" + implied-places Specifies the decimal to be implicit and implied places specifies where the intended decimal separator is to be placed.
value + min-digits(1) + "##" +max-digits(1) Specifies the value of the decimal separator to be required and the range of fraction digits. If min-digits is not used, default is zero. If max-digits is not used, default is S.
"[" + value + min-digits(1) + "##" +max-digits(1) + "]" Specifies the value of the decimal separator to be optional if there is no fractional portion of the number. It also specifies the range of fraction digits. If min-digits is not used, default is zero. If max-digits is not used, default is S.
Examples
####[`.'##] is interpreted as:
  • There is no thousands separator.
  • The decimal separator has the value of a period (.).
  • The decimal separator and fraction are optional.
  • There are no restrictions on the whole number digits, or on fractional digits.

    Value Description:

    L-####V2
    An implicit decimal, implied to two places, with a required leading minus sign for negative numbers.
    L-####[`.'##]
    ANSI decimal.
    L-1####[`,'1##]
    EDIFACT decimal.
    L-`N'####','##
    SWIFT decimal.