Uniswap / Uniswap/interface

[Feature Request] Improve decimal formatting

Open
#6,137 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

improvement
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
In v3 most of the pairs I'm using show different amount of decimal places, and in most cases it's not enough to see what was the tick amount.

For example here
image

Describe the solution you'd like
Prices are shown more digits, the amount should be the same. For example
image
Is good , since I need that as a reference to set the ticks.

Describe alternatives you've considered
Tried checking where to do this in the code, but it's a rabbit-hole of libraries.

Additional context
This should be set everywhere where pools and managed: lists, position, new , etc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing decimal formatting across the pools, managed lists, positions, and new-item views mentioned in the issue. Compare the displayed amounts with the tick reference shown in the examples; done means relevant prices and amounts consistently show enough digits to set ticks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.