Show USD price to nearest decimal
Closed this issue · 0 comments
tomjeatt commented
Is your feature request related to a problem? Please describe.
If a USD price drops below $0.01 (e.g. 0.009) it will be shown in the UI as $0.00
Describe the solution you'd like
For USD prices under $1.00 we will round to the nearest decimal place:
- $0.01 would still show as $0.01
- $0.0099 would be rounded up to $0.01
- $0.0091 would be rounded down to $0.009
Because USD price is approximate and we don't want to clutter the UI we will never round to more than one non-zero decimal, e.g. we would never display $0.0012345.