Hi Friends,
I am trying to round a float value.
Suppose the value is 1.6666666666666666E-01
I need the output as 1.67
I hve been using ROUND function module but it gives me 1.6700000000E-01
when I use Packed decimal it takes as 0.17
Any suggestions..
Thanks
Chaithanya
Here is my above thread. I have a new issue with the abve Thread
As Rich suggested I multiplied by 10 and I got the value as 1.67.
But if the value is 1.0000000000000000E+00
when I multiply by 10. I get the value as 10.000 which is wrong
Any suggestions that would solve the issue for all the cases.
Thanks,
Chaithanya K