Support Custom Output Format in All Unit Convertors
Now the output format of all unit convertors can be customized. 👍
Previously, the output format was determined by the system. The rule is if the value is too small or large, format uses scientific notation with 7 precision; otherwise, Golang default float format output is used.
Here is the screenshot:
Sometimes the default output format is not easy to read. So we allow the users to set the custom output format: set the precision (at least 0 precision and at most 20 precision), and use scientific notation or not.
Here is the screenshot:
Set 2 precision:
Use scientific notation:
Hope this feature can be helpful. ✊
Comments
Post a Comment