You are viewing a single comment's thread from:
RE: 👨💻 #Proposal-86: Change Log - Hide Resteems
I briefly thought about whether it wouldn't make sense to outsource the formatNumber
function so that it could also be used for other purposes in the Condenser.
I can't look it up today, but I would assume that something similar must already exist. SP is also formatted like this in the small user panel (appears after clicking on the user name).
I can’t check right now either but that should be possible. The
numberWithCommas
function was called in from elsewhere.Looking at how it’s displayed in the “mini-view”, I prefer the additional accuracy that my implementation gives but it looks like the “mini-view” has space to use my implementation.
I’ll need to have a look to see how it’s implemented 👍🏼