Closed brozorec closed 10 months ago
When I have a very small amount, the balance is displayed with an E notation. When I click the max button, the input fills with a huge number.
Display "Balance: < 0.0001" where 0.0001 is the DUST constant. When the user hits the max button, fill with the actual amount.
Problem
When I have a very small amount, the balance is displayed with an E notation. When I click the max button, the input fills with a huge number.
Solution
Display "Balance: < 0.0001" where 0.0001 is the DUST constant. When the user hits the max button, fill with the actual amount.