| Summary: | Scientific Notation conversion to decimal for negative numbers does not display decimal | ||
|---|---|---|---|
| Product: | [Applications] kcalc | Reporter: | David Charles Pyle <dcharlespyle> |
| Component: | general | Assignee: | Evan Teran <evan.teran> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cfeck, dcharlespyle, gabriel.barrantes.dev, justin.zobel |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
David Charles Pyle
2011-11-20 18:13:54 UTC
It works like a regular scientific calculator. The more "0" digits are shown to the left of the decimal separator, the less significant digits are visible, in other words, the less precise is the result. Actually, if you enter "0.0001" vs. "0.00001", you will see that automatically converts to scientific notation starting at the exponent of -5. To me it looks like a WONTFIX, but maintainer decides. (In reply to comment #1) > It works like a regular scientific calculator. The more "0" digits are shown to > the left of the decimal separator, the less significant digits are visible, in > other words, the less precise is the result. Actually, if you enter "0.0001" > vs. "0.00001", you will see that automatically converts to scientific notation > starting at the exponent of -5. > > To me it looks like a WONTFIX, but maintainer decides. It looks like you are correct about conversion being at exponents of -5 or smaller. I guess I could just do it in my head then, or use paper in multi-calculative, lazy moments. :) But I was in a hurry and having to do it manually was a pain, so I switched calculators. But, then I ran into a problem with Gnome 3.2.1's calculator for other calculations and had to go to yet another. That one was the fixed limitation of 9 decimal places when I needed to know the full spectrum of significant and least significant numbers. (I was calculating radiation figures and kind of need at least fairly good accuracy for that). But, I digress. I hope that this isn't a WONTFIX but I suppose I will have to deal with it, if so. It was just an inconvenience but I at this point get no application crashes from it, like earlier versions of this program did. I guess I could look into creating a patch which if reasonable will format numbers in decimal instead of scientific notation. I suppose kinda similar to printf's %g. Resetting to default assignee. Since the input display was added this is not applicable. |