Qalculate / qalculate-gtk

Qalculate! GTK+ UI
https://qalculate.github.io/
GNU General Public License v2.0
973 stars 72 forks source link

Minor suggestion: Show significant digits #559

Open LSAXYZ321 opened 2 weeks ago

LSAXYZ321 commented 2 weeks ago

In the menu: Mode - decimals , could there be an added option for choosing shown significant digits instead, as an alternative, basically like "Max digits" ? For large numbers, it might be too much with many decimals also :-)

BR Lars

hanna-kn commented 2 weeks ago

Why not use Mode➞Precision?

LSAXYZ321 commented 2 weeks ago

As I understand: Mode - Precision, controls the amount of digits in internal calculations, if not exact. Am I wrong about that assumption?

hanna-kn commented 2 weeks ago

As I understand: Mode - Precision, controls the amount of digits in internal calculations, if not exact. Am I wrong about that assumption?

That is correct, although the internal is approximately 30 digits higher (to avoid lower precision than specified in the final result), and if the precision is not enough for the desired number of digits it will be visible in the result (unless Approximation➞Interval Arithmetic has been disabled).

LSAXYZ321 commented 6 days ago

Thanks for your reply and then it would be nice (if not too difficult) to have the option for choosing shown significant digits as suggested, especially in case that the user prefers a very high internal precision, like > 60 digits etc.