Rounding Problem When Accrual Points
(Doc ID 1676274.1)
Last updated on MARCH 02, 2017
Applies to:Siebel Loyalty Accrual Engine - Version 188.8.131.52  and later
Information in this document applies to any platform.
Testing rounding of accrued value, while setting Point precision to 2, it was observed that rounding is behaving like "Round half to odd".
The expected rounded value for 1.515 is 1.52, instead loyalty engine transforms it into 1.51.
The issue can be reproduced at will with the following steps:
1) changed User Property: Points Precision to 2 for BS: LOY Processing Engine and made some other actions described in the article Doc ID 1571528.1
2) created Promotion that applies to transactions with simple logic of accrual points 1:1 without any conditions.
3) created transaction with Points = 1.515
4) processed transaction (via interface) and as a result got accrual with value = 1.51 instead of expected 1.52
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!