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

Fractional USD prices show $0.00 #454

Closed
bthaile opened this issue Feb 4, 2025 · 1 comment
Closed

Fractional USD prices show $0.00 #454

bthaile opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@bthaile
Copy link
Collaborator

bthaile commented Feb 4, 2025

Fractional prices are not handled in the UI. Example:

$0.00000123 is displayed as $0.00

Need a short hand to display fractional prices, use subscript to indicate number of zeros replaced by subscript, in the above example it would be displayed like

$0.04123

the price would still be compact and tell the user an more accurate price. This formatter can be applied to user token balance as well.

This was referenced Feb 4, 2025
@Kay-Zee Kay-Zee moved this to 🏗 In Progress in 🌊 Flow 4D Feb 7, 2025
@Kay-Zee Kay-Zee moved this from 🏗 In Progress to 👀 In Review in 🌊 Flow 4D Feb 7, 2025
@tombeckenham tombeckenham moved this to In Progress in Flow Wallet Feb 11, 2025
@bthaile bthaile mentioned this issue Feb 12, 2025
5 tasks
@JeffreyDoyle
Copy link
Member

JeffreyDoyle commented Feb 14, 2025

In the above example the '4' is a subscript

eg: 0.0_4123

We want the same display format as CoinGecko uses eg: https://www.coingecko.com/en/coins/bittorrent

@tombeckenham tombeckenham moved this from In Progress to Done in Flow Wallet Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants