cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for rounding off result value

Former Member
0 Kudos

Hi Gurus,

Is there any user exit available or std. functionality by which we can round off the result value. My client wants if the value is 192.5 or 191.8 then this value should be rounded off to 195. That means rounding in multiples 0f 5. Is there any exit available?

Regards

Amit

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member42744
Active Contributor
0 Kudos

If in QM just specify the correct number of decimals for the characteristic, in your case 0. In config under plant settings you can set up the results recording settings to allow you to record one additional decimal then specified by the characteristic. The result is rounded to 0 decimals when displayed.

FYI - there should be no reason to have to use user exits to round off decimals in QM.

Craig

I didn't read the initial posting correctly. To round the whole number portion by 5 you will have to provide that logic yourself via the user exits already posted.

Craig

Edited by: Craig Snyder on Jan 13, 2010 2:56 PM

Former Member
0 Kudos

hi

If it is in pricng kindly assign the 13 in the requirement field against the condition type in the pricing procedure

Regards

Damu

Former Member
0 Kudos

QEEM0015 User exit: add. functions after entering individual results

QEEM0011 User exit: add. functions before valuating insp. characs