Price Decimals
  • 15 Nov 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Price Decimals

  • Dark
    Light
  • PDF

Overview

It is best practice for an airline to always send decimal places in the amount values. The number of decimals to use can be taken from IATA Resolution 024d

Currency with a decimal subdivision

Two Decimals

Example of TotalAmount using Pound Sterling (GBP) which is a currency specified with two decimals

<cns:TotalAmount CurCode="GBP">10230.00</cns:TotalAmount>

Three Decimals

Example of TotalAmount using Tunisian Dinar (TND) which is a currency specified with three decimals

<cns:TotalAmount CurCode="TND">1234.000</cns:TotalAmount>

Currency without a decimal

Example of TotalAmount using Japanese Yen (JPY) which is a currency specified without a decimal

<cns:TotalAmount CurCode="JPY">10230</cns:TotalAmount>

What's Next