Skip to content

Xero SDK support for Big Decimal or Longs #322

Description

@cb-madhukiran

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions