Decimal/Rounding Calculation Definition

From OpenPetra Wiki
Jump to navigation Jump to search

General

  • Every decimal shall have a precision
  • The precision of the result of an operation is depended of the precision of the operands

Question to answer

  • How does an operation effects the precision?
  • When should be rounded? During calculation? At presentation of the value at the GUI?
  • How do we handle error propagation? Should we divide as late as possible? (Each number is internally a fraction of two numbers)

Which calculations are done from the business side?

Reference

Multiple Currencies