Round To Nearest With Additional Digit of '5' Failed (Doc ID 964465.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


The rating is configured with round mode of PIN_BEID_ROUND_NEAREST = 0 and scale of 2 in pin_beid. However, when rounding a value of 0.325 for rating, the final result turns up as 0.32 instead of 0.33. For 0.326, it's successfully rounded up to 0.33.

According to BRM, this mode rounds up or down depending on the value of the digit following the last significant digit. If the additional digit is 0-4, the last significant digit remains the same. If the additional digit is 5-9, the last significant digit is rounded up.

-- Steps To Reproduce:
1. to resource 458, set round mode of PIN_BEID_ROUND_NEAREST = 0 and scale of 2 in pin_beid.
2. set product rate tag of 0.13/min and 6 sec block size.
3. Make an IPT call by rad_tester, call duration shall be 2 min 30 sec.

### Actual result ###
The total charge before rounded is 0.13x2 + 5 x 0.013 = 0.26 + 0.065 = 0.325.
The system always return 0.32.

### Expected result ###
The rounded value to nearest should be 0.33.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms