Page last modified 10:41, 2 Mar 2018 by Antero

Decimal separator

    Table of contents
    No headers

    A decimal separator is a symbol used to separate the integer part from the fractional part of a number written in decimal form.

    Country specific usage regarding decimal mark and currency amounts varies greatly. In ISO 20022's payment messages the choice is uniform. Only dot (.) is accepted as a decimal delimiter. Also worth noting is that digit grouping separator is not used.

    Currency amounts in ISO's schemas are accepted in simpleType ActiveOrHistoricCurrencyAndAmount_SimpleType, which has the following definition:

            <xs:restriction base="xs:decimal">
                <xs:minInclusive value="0"/>
                <xs:fractionDigits value="5"/>
                <xs:totalDigits value="18"/>

    In addition to length restrictions, restriction base xs:decimal limits possible characters in fields where this simple type is used. W3's definition of decimal:

    "decimal has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) separated by a period as a decimal indicator."

    More information and examples of country specific usage of decimal mark in wikipedia: