SaitoTech / saito-lite-rust

a version of the Saito-Lite client written for compatibility with the Saito Rust client and binary data format
24 stars 28 forks source link

Web3: what's the desired precision in the hamburger menu? #2350

Closed umairkhannn closed 7 months ago

umairkhannn commented 7 months ago

My true balance on my test accounts requires 2 significant digits, but the hamburger menu is rounding to 1. Is this motivated? Can we add an (*) or something with a note that the balance is rounded off?

RP: Let's default to 4 decimal places for all cryptos. Long term we will want to add that per currency - as BTC obvs needs different handling to SAITO (for the moment).

umairkhannn commented 7 months ago

@f8daniel right now the precison is upto 2 decimal places. As shown in screenshot below. Image

After merging of latest nolan changes we can set the decimal precision directly from crypto mod else if decimal place is not set for crypto mod a default of 4 places will be set.