Ticket #2332 (closed defect: fixed)
Trivial divide calculations generate results with rounding errors
| Reported by: | garycmartin | Owned by: | garycmartin |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | Calculate | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | New |
Description
Trivial divide calculations are showing rounding errors (tested in Calculate-33).
89 / 100 = 0.890000000
496 / 100 = 4.95999999
Trying the same calculations in a terminal with python is fine 89 / 100 = 0.89, and 496 / 100 = 4.96.
If I try using multiply instead, the answers are accurate.
89 * 0.01 = 0.89
496 * 0.01 = 4.96
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

