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
- 10,000,000,000 wei can be represented as 10 gwei.
- 10,634,509,800 gwei can be represented as 10.634 Eth
- 123,987,621 wei can be represented as 0.123 gwei
We can use a U256 to store the number in Wei and then divide by billion as many times as it's required to get the unit we need.
The text was updated successfully, but these errors were encountered:
We want a better method to represent balances.
For example:
We can use a U256 to store the number in Wei and then divide by billion as many times as it's required to get the unit we need.
The text was updated successfully, but these errors were encountered: