MetaMask / MetaMask/metamask-extension
[Bug]: MetaMask balance is incorrectly displaying million dollar values.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
When MetaMask main wallet balance is over one million dollars, it is showing an incorrect amount (shows $1, instead of $1,000,000)
### Expected behavior
Show the correct dollar amount and digits.
### Screenshots/Recordings
### Steps to reproduce
1. Have 1 million dollars total as main MetaMask balance.
2. See incorrect balance shown.
### Error messages or log output
```shell
```
### Where was this bug found?
Live version (from official store)
### Version
13.39.2
### Build type
_No response_
### Browser
Chrome
### Operating system
Windows
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start by reproducing the issue in MetaMask 13.39.2 on Chrome with a main wallet balance over one million dollars. Trace the balance display entry point and verify the completed change shows the full dollar amount and digits rather than a truncated value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100