Amazon-SP-API-CSharp icon indicating copy to clipboard operation
Amazon-SP-API-CSharp copied to clipboard

GetSettlementOrderAsync returns wrong numbers

Open Puresoft opened this issue 2 years ago • 1 comments

Hi, I use the ReportManager(amazonConnection).GetSettlementOrderAsync(...) function but it seems that it does not interpret the decimal point right.

In my downloaded textfile numbers uses the comma "," as decimal point.

SettlementOrderRow.TotalAmout is now 114118.0 but should be 1141.18

The flatfiles does not seems to be InvariantCulture.

This is the data: settlement-id settlement-start-date settlement-end-date deposit-date total-amount . . . 19482314502 14.03.2023 07:49:55 UTC 28.03.2023 07:49:55 UTC 30.03.2023 07:49:55 UTC 1141,18 . . .

thanks robert

Puresoft avatar May 12 '23 12:05 Puresoft

Personally I have no time to keep updating this package but I'm open any developer need to fix or add feature on it its take many times from me to get it live , and I need other developer help to add the fix for new features by submit new Pull requests , I will try to review and accept within 2 days .

Please try fork our rep and then submit your change to review and merge with our code

abuzuhri avatar Jul 03 '23 20:07 abuzuhri