Skip to Content
0
Former Member
May 29, 2008 at 08:06 AM

Logic to round off

55 Views

Hi Folks,

Can some please provide some logic to round of the values? I have one field p_temp of type P decimals 2. If it contain 1.24 it should round to 1, and if it contains 1.7 then it should round to 2. Simply it the decimal point is greater than .5 then it should round to the next value. And if it is less than .5 then it should round the current.

Please help me to put the dynamic logic.

Thanks,

Raghu.