Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

If attoFil price is >= 0.01 FIL, display as FIL instead #182

Open
ghost opened this issue Dec 8, 2020 · 0 comments
Open

If attoFil price is >= 0.01 FIL, display as FIL instead #182

ghost opened this issue Dec 8, 2020 · 0 comments
Assignees
Labels
low Low priority

Comments

@ghost
Copy link

ghost commented Dec 8, 2020

In the Offers box, we current display all prices in attoFil:

Screen Shot 2020-12-08 at 10 06 45 AM

If the attoFil price is >= 10 000 000 000 000 000 attoFil, let's instead display the price like this 0.010 fil.

Use exactly 2 significant figures in the fil prices. Examples:

  • 1e-16 attoFil would be displayed as 0.010 fil
  • 12 133 333 333 333 333 attoFil would be displayed as 0.012 fil because of rounding)
  • 12 533 333 333 333 333 attoFil would be displayed as 0.013 fil because of rounding)
@ghost ghost added the low Low priority label Dec 8, 2020
@ionutiorgulescu ionutiorgulescu self-assigned this Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant