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

Platform-agnostic support > 32 bit signed integers #2

Open
josecelano opened this issue Mar 30, 2015 · 1 comment
Open

Platform-agnostic support > 32 bit signed integers #2

josecelano opened this issue Mar 30, 2015 · 1 comment

Comments

@josecelano
Copy link

Hi:

Please, could you confirm me if this library supports bitcoin (8 decimal places)? It seems that it does not as you do aperations using integer variable.

I start using this one:
https://github.com/mathiasverraes/money

but It does not work with bitcoin (for big amounts) becuase internally it stores amount using integer.

More info:
moneyphp/money#79 (comment)

@matmar10
Copy link
Owner

If you need to track millions of bitcoin, then this library isn't a good solution for you (as you pointed out in moneyphp/money#79 (comment) - it won't work for large amounts of bitcoin). I originally wrote this library when I was tracking very small fractional amounts of bitcoin.

Note that it's no longer maintained actively so I would suggest submitting a pull request to https://github.com/mathiasverraes/money

@matmar10 matmar10 changed the title Support for bitcoin Platform-agnostic support > 32 bit signed integers Apr 7, 2015
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