old-balance-ios icon indicating copy to clipboard operation
old-balance-ios copied to clipboard

🤑 Decimal precision

Open ricburton opened this issue 5 years ago • 5 comments

Screen Shot 2019-03-26 at 11 51 12

  • [ ] Number of tokens

Bitcoin $4,000 --> I care about 0.001 BTC Maker $600 --> I care about 0.01 MKR Livepeer $7 --> I care about 0.1 LPT Dai $1 --> I care about 1 DAI Aragon $0.50 --> I care about 10 ANT

If a token is worth $1000+, you want to see lots of decimals.

If it is worth less than a dollar, the precision is meaningless.

This means that the fiat rate of the token dictates the decimals of the cryptoBalance.

  • [ ] Fiat Rate

Similarly, if a token’s fiat rate should have the correct precision:

<$100 = 1 <$10 = 0.01 <$1 = 0.01 <$0.1 = 0.001

Bitcoin $4,000 --> I want commas and whole dollars Maker $600 --> Whole dollars Livepeer $7 --> Just dollars Dai $1 --> Dollars again Aragon $0.50 --> Two decimal places Shitcoin $0.01 --> Two decimal places Nothingcoin $0.001 --> Show 3 decimals places if total balance is >$10

  • [ ] Fiat total balance < $1 Hidden

$1 Cents don’t matter in crypto right now. The exchange fees are so large.

UNLESS it is xDai

ricburton avatar Mar 26 '19 12:03 ricburton

This is partly done already now I think

einsteinx2 avatar Mar 30 '19 01:03 einsteinx2

"upgraded on TestFlight and it says I have 0 $BAL"

ricburton avatar Apr 01 '19 10:04 ricburton

@ricburton how many do they actually have?

einsteinx2 avatar Apr 01 '19 18:04 einsteinx2

@einsteinx2 20 with no value. my fault :)

ricburton avatar Apr 01 '19 19:04 ricburton

This is related to #125. Will try to fix.

ricburton avatar Apr 01 '19 19:04 ricburton