cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding the AMT After processing in PCR.

Former Member
0 Kudos
115

Hi Experts:

I want an AMT/ RTE to round up/down to 2 decimals before transferring the Amount to RT.

Ex: Lets say the Calculated Overtime amount is 124.344 then the amount should be rounded as 124.350 only that is last 2 digits in the decimal place to be a factor of 50.

This is for PY-International for a specific Wagetype in Earnings Window.

Note: I'm not talking about rounding up/down the Net Amount.

regards,

Sree

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Can U exactly tell me where exactly U want this rounding off thing...

If U are talking about Valuation of time wagetypes then it can be done by using the Operation VALBS.

U can go through the help for this operation to get some good things about the rounding off.

If U can tell me the exaclt scenario then I can try to help U in finding out the exact solution.

~BiSu

Former Member
0 Kudos

Hi Biswajit:

I have a scenario where i have calculated overtime for Employee using a custom PCR.

Now in the PCR at the end the actual overtime calculated is in decimals. Now before the Calculated amount is transferred to RT i want the AMT to be rounded and then the rounded amount should be transferred to RT.

Rounding is required only for 2 digits after the decimals.......

ex: 124.344 rounding is required only for last 2 digits ie., 124.3XX (XX to be rounded as 50) => result should be 124.350.

I have tried using ROUND operation but it doesn't help.

regards,

Srikanth Reddy

Former Member
0 Kudos

Hi Biswajit:

VALBS is used to give % for the valbs.

Anyways issue resolved myself. WT rounded with ROUND but by creating a new PCR.

Srikanth Reddy