Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.
This repository was 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

@ghost

Description

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)

Metadata

Metadata

Labels

lowLow priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions