Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to extend this to cover crypto? #35

Open
b0y2k opened this issue Jan 30, 2019 · 5 comments
Open

Is it possible to extend this to cover crypto? #35

b0y2k opened this issue Jan 30, 2019 · 5 comments

Comments

@b0y2k
Copy link

b0y2k commented Jan 30, 2019

Hi,
i have a framework which covers Fiat and Crypto balances. Would it be possible to have a parameter which allowed you do edit the precision of the decimal? Some cryptos have 8 decimals and some 3, being able to show this and also remove the currency symbol would allow use across the board.

@osrec
Copy link
Owner

osrec commented Jul 8, 2019

Yes of course. We'll get this included in the next release.

@b0y2k
Copy link
Author

b0y2k commented Jul 9, 2019

That would be amazing :) currently working on crypto implementations for our games so this would be a great help.

@osrec
Copy link
Owner

osrec commented Jul 9, 2019

@b0y2k do you happen to have a list of currencies and default formats?

@b0y2k
Copy link
Author

b0y2k commented Jul 10, 2019

I'm trying to find out if there is somewhere that lists all the formats.
There are not many variants to be fair (most are forks of BTC)
BTC/ETH/LTC etc - eight decimal places
Steem/EOS/BTS - 3 decimal places
Nano / Iota no decimal places but the option of adding one for display.
7,980,184 nano would be (7.980184 NANO) for example

@b0y2k
Copy link
Author

b0y2k commented Jun 18, 2020

Hi, did you ever get something like this implimented? I have reached part of my project that needs this so would be great to have it all in one solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants