Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Salary change statement RTFs - rounding off values before performing mathematical operations

Summary:

Rounding off values individually before addition

Content (required):

Hi All,

With regarding to compensation change statements, we're able to achieve Case 1. Is it possible to achieve Case 2 ?

Case 1 - When adding 2 or more numbers, I am able to round off the total sum of these values.

Function used: <?format-number:((CUSTOM_COLUMN_1) + (CUSTOM_COLUMN_2));’9G99G99G999'?>

Eg: 4.8 + 5.5 = 10.3 = 10 (rounded off)


Case 2 - When adding 2 or more numbers, I want to round off the individual numbers before adding them.

Eg: 4.8 + 5.5 = 5 + 6 (both numbers individually rounded off) = 11 (no rounding off required in the sum total as individual numbers already rounded off)

Functions: I have tried different variations of the same function (listed below) but unable to get the desired result:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!