Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Bitcoin amounts need to be formatted consistently #30

Open
proehlen opened this issue Mar 12, 2018 · 1 comment
Open

Bitcoin amounts need to be formatted consistently #30

proehlen opened this issue Mar 12, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@proehlen
Copy link
Member

proehlen commented Mar 12, 2018

Need a bitcoin amount formatter that can be used on the transaction outputs & address page. Should consistently show amount right-aligned and show 8 decimals (maybe decimals can be enclosed in <small></small> tags like I've seen on other block explorers.

Not relevant now, but same formatter can later check a store value and decide to display USD, EUR or BCH depending on user-selected currency.

@proehlen proehlen added the enhancement New feature or request label Mar 12, 2018
@dguess dguess self-assigned this Mar 13, 2018
@proehlen
Copy link
Member Author

proehlen commented Apr 23, 2018

@dguess fyi, component AddressDetails.vue (branch v2.0.0) shows an example implementation of:

  • Selectable currency
  • Amount shown in converted to selected currency
  • Amount formatted with localized thousandths seperarators and correct number of decimals.

Don't feel locked in to using any of it or doing it the same way, just pointing it out in case it's useful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants