Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remaining decimals token shown in Scientific Notation on swap page if max label is tapped #21348

Closed
VolodLytvynenko opened this issue Sep 30, 2024 · 0 comments · Fixed by #21388

Comments

@VolodLytvynenko
Copy link
Contributor

Steps to Reproduce:

  1. Restore a user with a token that has a very small remaining decimal value (e.g., 0.000000000262783357 DAI).
  2. Go to the swap page and select this token.
  3. Tap "Max" value.

Actual Result:

The token value is shown in scientific notation.

image

Expected Result:

The value should be displayed in real number format, not in scientific notation.

Devices:

Pixel 7a, Android 13
iPhone 11 Pro Max, iOS 17

ENV:

Nightly 30.09, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment