My Oracle Support Banner

UnitValue "round" Function Rounds The Amount Of Digits Instead Of Just Decimals (Doc ID 2404554.1)

Last updated on JUNE 21, 2018

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.3.0.4.0 and later
Information in this document applies to any platform.

Symptoms

On Oracle Communications Elastic Charging Engine(ECE),11.3.0.4.0 version, Rating business logic

ACTUAL BEHAVIOR
---------------
UnitValue "round" function rounds the amount of digits instead of just decimals

While working on the post rating extension of ECE, the user is setting different values for the tax impacts and they need to set the precision of 5 decimals. For this they are using UnitValue round function to achieve the same. But it is observed that the rounding function is not only setting the amount of decimals to 5, but the whole number.

For example:

this part of the code:

What was expected was "quantity=819.46756" but the actually they are getting "quantity=819.47".

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.