- Posts: 568
- Thank you received: 72
Decimal Rounding
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less
More
5 years 3 months ago #18067
by bruce.gibbins
Decimal Rounding was created by bruce.gibbins
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
5 years 3 months ago #18073
by Peter.Jonson
Peter Jonson
ETL Developer
Replied by Peter.Jonson on topic Decimal Rounding
Hi Bruce.
I spoke with developers about it.
This is a rather complicated issue.
I believe we use bankers rounding for 'Nearest' rounding and not mathematical.
Which one is better is a good question...
Anyway we are looking at it right now but it will take a while (Definitely more than two hours)
I spoke with developers about it.
This is a rather complicated issue.
I believe we use bankers rounding for 'Nearest' rounding and not mathematical.
Which one is better is a good question...
Anyway we are looking at it right now but it will take a while (Definitely more than two hours)
Peter Jonson
ETL Developer
The following user(s) said Thank You: bruce.gibbins
Please Log in or Create an account to join the conversation.
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 568
- Thank you received: 72
5 years 3 months ago #18074
by bruce.gibbins
Replied by bruce.gibbins on topic Decimal Rounding
Thanks appreciate that and also know about bankers rounding. However, if you notice the screen shot with the 'Test Value'. It rounded-up and not nearest. If bankers rounding was being used it should have rounded down (in this case). Plus when you start using UP and DOWN you get odd values. Which to mean are perhaps floating point versus double precision numeric issues - pure guess on my part.
But thank - I appreciate your response and efforts. I did find a less than optimum method was to use a 2 line python calculation using the decimal package.
cheers
But thank - I appreciate your response and efforts. I did find a less than optimum method was to use a 2 line python calculation using the decimal package.
cheers
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
5 years 3 months ago #18085
by Peter.Jonson
Peter Jonson
ETL Developer
Replied by Peter.Jonson on topic Decimal Rounding
Status update:
The issue you reported was addressed in the latest release
6.3.2.6
- Fixed: Round Transformation Function issues
- Fixed: Issues with exporting very large grids into excel files
The issue you reported was addressed in the latest release
6.3.2.6
- Fixed: Round Transformation Function issues
- Fixed: Issues with exporting very large grids into excel files
Peter Jonson
ETL Developer
Please Log in or Create an account to join the conversation.
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 568
- Thank you received: 72
5 years 3 months ago #18087
by bruce.gibbins
Replied by bruce.gibbins on topic Decimal Rounding
Thank you very much. I will test my data and let you know
Appreciate the quick turn around
Regards
Bruce
Appreciate the quick turn around
Regards
Bruce
Please Log in or Create an account to join the conversation.
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 568
- Thank you received: 72
5 years 3 months ago #18091
by bruce.gibbins
Replied by bruce.gibbins on topic Decimal Rounding
Sorry to say but after uninstalling AETL and installing v.6.3.2.6 I still have the same issue. Please refer to the screen shots
The first shows the real data being pushed into the READER field, then the ROUND action basically rounding DOWN and not up. The next shot shows the ROUNDING ACTION setup and that the TEST VALUE and EXECUTION RESULT returns exactly what I would expect.
regards
bruce
The first shows the real data being pushed into the READER field, then the ROUND action basically rounding DOWN and not up. The next shot shows the ROUNDING ACTION setup and that the TEST VALUE and EXECUTION RESULT returns exactly what I would expect.
regards
bruce
Please Log in or Create an account to join the conversation.