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
Increase Scale for Currency manager for two-digit values #3865
Comments
Unfortunatly we can't fix it without DB structure change. Initially the scale is integer value stored as X^Y MAX value for int is 2 147 483 647 |
This fix is working for me INTEGER type affinity in SQLite can hold any assigned integer number (positive or negative) from 1 byte to maximum 8 bytes.
This fix may be implemented but the DB_Table_Currencyformats_V1.h auto generated.
|
|
INTEGER type affinity in SQLite can hold any assigned integer number (positive or negative) from 1 byte to maximum 8 bytes. |
This issue is stale because it has been open 365 days with no activity. Please update if you want to keep the issue open |
Well, while nothing has happened, and I guess it's stale, it's still an uncomfortable issue. |
How many digits would you expect MMEX to handle before the decimal comma?
The above example with 6 before and 12 after exceeds the precision of IEEE 754 double-precision binary floating-point format. |
Good question. I have no satisfactory answer to your question. |
In general, the task is not easy. |
Yes, I remember our conversation. I just saw the 1.6.0 release, and decided to bump the issue, since I remembered it again :) |
Hello, right now the "Scale" field on the currency manager allows 9 as the largest value.
I have not looked into the codebase, but assuming that it is only an input limitation, I would love to have thjje ability to enter more than 9.
Use-case - I want to track my Monero (XMR) transactions. Monero operates with 12 decimals after the comma, so anything less leads to undesired behavior and different non-elegant rounding mistakes.
The text was updated successfully, but these errors were encountered: