Skip to Content
0
Former Member
May 27, 2010 at 04:10 AM

Rounding Rule in PCR

331 Views

Hi All,

I have balance in HRS with 10.5.

I m calling a rounding rule with ROUNDHR48 in the PCR...where 48 is the rounding rule which is defined in T559R table

Rounding rule is such dat if value is less than 0.5 round to zer0

iF 0.5 or greater than 0.5 round to 1.0

Rounding rule is as follows

Rule Name Seq no Lower Limit Inclu Upper limit Include Target value Roll

48 Test 01 0 Yes 0.5 No 0.0 yes

48 Test 02 0.5 yes 1.0 No 1.0 Yes

Results are

Input Expected Actual output

if hrs=.24 0 0

If hrs =0.5 1 0.5

hrs=0.75 1 0.5

Please suggest whats missing.

Its nt caling the rounding rule with seq 2

Regards

Ashima