On this page

Numbers, decimals and rounding ​

Entering numbers ​

  • Number fields accept Latin digits (0–9) and Arabic-Indic digits (٠–٩) (A5).
  • The decimal separator is the full stop (.) or the Arabic decimal separator (٫).
  • A comma (,) isn't accepted inside numbers, so that it can't be mistaken for a thousands separator. You see the message Use a dot (.) as the decimal separator. Commas are not allowed in numbers. (MB2)
  • When numbers are displayed, they include thousands separators to make them easier to read.
  • Decimal values are stored with full precision, free of computer rounding errors.

Decimal places ​

Kind of valueDecimal places accepted
Entry amounts (debit/credit)The line currency's decimal places (for example, 3 for the dinar and 2 for the dollar). The grid accepts up to 4, and the server rejects anything beyond the currency's decimal places
Exchange ratesUp to 8 decimal places, and up to 10 digits before the decimal point
Item prices and quantitiesUp to 6 decimal places
Unit conversion factorUp to 12 decimal places
PercentagesFrom 0 to 100

Related messages: Line …: the amount has more than … decimals., The rate has at most 10 digits before and 8 after the decimal point. and A percentage must be between 0 and 100.

How rounding works ​

  • Each currency is rounded to its own decimal places under the international standard (D6).
  • Rounding is half away from zero everywhere: 0.125 dinars stays 0.125, 0.005 dollars becomes 0.01, and −0.005 becomes −0.01.
  • When a foreign-currency line is converted, the converted amount is rounded to the base currency's decimal places, and the entry's small rounding difference is posted to the rounding differences account (G17, Currencies and exchange rates).
  • For payment terms with instalments, each instalment's amount is rounded to the currency, and the last instalment takes the rounding difference (MA5).
  • Price levels can have their own rounding for level prices (to the nearest step, up or down).
  • Historical figures carried over from the old system stay exactly as they were stored and aren't rounded again.