Skip to content

Fix token drop down on cart check out when numbers are very small #189

@laurenluz

Description

@laurenluz

Problem

On the cart checkout page, non-zero but small token balances are showing up as 0 in the token list drop down:

Image Image

Solution

We should make any non-zero number that rounds to less than 0.00 show up as <0.00.

Acceptance Criteria

  • Token balances of 0 should show up as 0.00
  • Non-zero token balances that round to less than 0.00, show up as <0.00
  • Token balances of over 0.00 show up as rounded to the nearest hundredth (e.g. 0.02)

@maryjaf

Metadata

Metadata

Assignees

Labels

V6bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions