Enhancement Request: Control digits after decimal point length
Closed this issue · 2 comments
3dsf commented
Description
Displaying a sensor temp can become distracting when it changes from an integer like display to a float like display and vice-versa. eg// 46°C to 44.4°C
Steps to Reproduce
- Enable display of a temp sensor
Screenshots
Environment
- Astra Monitor Version: preV8
- GNOME Version: 46
- Operating System and Version: Fedora Rawhide (6.8)
- Other Relevant System Information:
Logs
Additional Context
ljuzig commented
Well, actually we have the settings for the Maximum Number of Figures on almost all values, but not on sensors. The reason is pretty simple: for high integer values like 2500 RPM, we cannot convert them to a decimal format, such as 2.5k. Currently, we try to detect if it's an integer value; otherwise, we format it as a floating-point number. I'm going to add an option to always convert a value to a floating-point format and allow selection of the number of digits to display. This option will be disabled by default.
ljuzig commented