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

NumberType uses a byte to store scale and length #52

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

NumberType uses a byte to store scale and length #52

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

NumberType uses BigDecimal underneath, but uses a byte each to store length
and scale. BigDecimal uses int values. This means that Number cannot hold
all possible BigDecimal values.

We need some validation to make sure that any BigDecimal value stored as
NumberValue is within the range supported by NumberType.

Original issue reported on code.google.com by [email protected] on 22 Aug 2008 at 12:30

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

No branches or pull requests

1 participant