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.

Function to format Exponential value to number

edited Nov 6, 2023 9:33AM in Compensation 3 comments

Summary:

Hi ,

I getting output in exponential value but i need in number. I have used to_number function as well. Still i am getting exponential value.


Value which i am expecting is :



Formula which i have used:

/* Intialize the variables */

L_DATA_TYPE = 'NUMBER'

L_DEFAULT_VALUE = 0

l_asg_id = 0

l_asg_id = get_context(PERSON_ID, -1)


l_hr_asg_id = to_char(l_asg_id)

l_Fixed_Pay = GET_VALUE_SET('Current Annual Base Salary','|=E_PER_ID='''||l_hr_asg_id||'''')

p_fixed = '#'||l_Fixed_Pay||'#'


If (p_fixed = '##') THEN

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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