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

Xero SDK support for Big Decimal or Longs #322

Open
cb-madhukiran opened this issue Sep 17, 2022 · 0 comments
Open

Xero SDK support for Big Decimal or Longs #322

cb-madhukiran opened this issue Sep 17, 2022 · 0 comments

Comments

@cb-madhukiran
Copy link

cb-madhukiran commented Sep 17, 2022

SDK you're using (please complete the following information):

  • Version [e.g. 4.17.0]

Is your feature request related to a problem? Please describe.
Xero SDK uses Double internally and has a precision of 10^-3 and for higher values the max values that are supported in double is 10^7 is there any plans on changing this to BigDecimals?

Apis upon using from api explorer are supporting till 10^12 values
"The line with total amount 4000000000000000.00 cannot be accepted. The maximum line amount is 999,999,999,999.99"

Describe the solution you'd like
Use BigDecimals or Longs instead of Double or Integer types.

Describe alternatives you've considered
NA

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

1 participant