Testing numeric processing
Once data has entered your system, consider how it will be processed. Are values simply entered, then displayed back to the user, or are they combined with other data for graphs and charts? Is any processing needed before data from different sources can be displayed together? This section considers the typical processing of numeric data types.
Wherever your system uses floating-point numbers, check on limitations from rounding. Where does the rounding occur in your design? Converting currencies is a common example of this, although many of those issues apply to any floating-point processing, not just that of currencies. The considerations when testing conversions such as between currencies are the following:
- How many decimal places does your system measure exchange rates to?
- Which exchange rates do you use?
- How often are exchange rates updated?
- When exactly during a transaction is the exchange rate applied?
- If a transaction starts on...