You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See screenshot below, in the "stake" column. Numbers are getting > 100,000 OCEAN and expected to rise further.
Therefore we should adjust the display of the "stake" numbers to use large number nomenclature.
K - Thousand
M - Million
Py implementation
pdr-backend's strutil.py has a python implementation prettyBigNum() plus unit tests. It could be readily adapted to JS. I strongly recommend writing the tests first, then working backwards, because implementation time will be faster and the final result will be more robust.
Screenshot - Status quo
The text was updated successfully, but these errors were encountered:
Motivation
See screenshot below, in the "stake" column. Numbers are getting > 100,000 OCEAN and expected to rise further.
Therefore we should adjust the display of the "stake" numbers to use large number nomenclature.
Py implementation
pdr-backend's strutil.py has a python implementation
prettyBigNum()
plus unit tests. It could be readily adapted to JS. I strongly recommend writing the tests first, then working backwards, because implementation time will be faster and the final result will be more robust.Screenshot - Status quo
The text was updated successfully, but these errors were encountered: