LiamRiddell / obsidian-solve

An unobtrusive Obsidian plugin that quietly processes equations and patterns in real time
MIT License
75 stars 0 forks source link

Support flexible decimal places in calculation results #10

Closed ss818 closed 1 year ago

ss818 commented 1 year ago

Current calculator only supports fixed decimal places in calculation results, which is not ideal in some cases.

For integer calculations like counting number of people, showing results as decimals is not intuitive.

On the other hand, for high precision decimal calculations, the fixed decimal places may not be enough.

It would be better if the calculator can determine decimal places dynamically based on calculation values:

This will make the calculator more user friendly in different usage scenarios. Some examples:

Please consider adding this flexibility to automatically or manually determine decimal places of results. A smart handling of decimal places will enhance user experience.

ss818 commented 1 year ago

The issue has been successfully resolved, and the latest update has made the plugin even better. It significantly enhances work efficiency and user experience.