bitshares / bitshares-community-ui

[Worker Proposal] Light and 100% Responsive, BitShares Community DEX/UI - based on Vue.js Framework
MIT License
16 stars 10 forks source link

Values decimal rule: hide negligible decimal digits #388

Closed hisinbox closed 5 years ago

hisinbox commented 5 years ago

Is your feature request related to a problem? Please describe. Existing rules of showing values of prices and volumes show a lot of negligible digits, which makes it hard to analyse

Describe the solution you'd like Hide excessive digits, where excessive means that trader doesn't need to see more than 4 decimal digits not equal to zero of value (price or volume) below 1.0 and no more than 2 decimal digits of value greater than 1.0.

Example Now: ,01234567 Should be: 0,01234

Now: 999,9999 Should be 999,99

Additional context Other rules of showing decimals should remain the same and should not contradict to the above new rule

hisinbox commented 5 years ago

@noeminik please check the issue and provide comments if needed