Decimal/Rounding Calculation Definition

From OpenPetra Wiki
Revision as of 09:05, 8 December 2010 by Thiasg (talk | contribs) (Created page with '= 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 a…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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?