This pull request adds support for compact representations, converting large numbers in a more concise format.
Additionally, the code for amount validation in MoneyCMD has been refactored to improve code maintainability.
About:
Compact representations are used to abbreviate large numeric values using metric prefixes, to make them more human-readable. Allowing to represent billions as 1.5B
These changes will enhance user experience and it provides better flexibility to manage how numeric values are represented.
Issues related:
52 ✅
Changed incorporated:
Implemented compact representations for input and output/display.
Compact representations won't round numbers upwards and they can display up to 3 fraction digits.
Refactored repeated code for amount validation in MoneyCMD
Implemented temporal translation for the new entry format_amount_error
Introduced a configuration option plugin.economy.compact_display
This pull request adds support for compact representations, converting large numbers in a more concise format.
Additionally, the code for amount validation in
MoneyCMD
has been refactored to improve code maintainability.About: Compact representations are used to abbreviate large numeric values using metric prefixes, to make them more human-readable. Allowing to represent billions as
1.5B
These changes will enhance user experience and it provides better flexibility to manage how numeric values are represented.
Issues related:
52 ✅
Changed incorporated:
MoneyCMD
format_amount_error
plugin.economy.compact_display