My problem similar to the trailing thread.
please let know after rounding 3.50 will become 3.00 or 4.00 (accordingly I'll add 0.5 or 0.51 to my variable before rounding). I am not able to test this in my shop due to some constraints.
Joined: 06 Jun 2008 Posts: 8214 Location: Dubuque, Iowa, USA
There is a manuals link at the top of the page. Click on it, find the COBOL Language Reference manual, read up on ROUNDED and then if you have any questions remaining -- you will have to post at least the picture clause of the variables and the ADD/MOVE/COMPUTE/DIVIDE/SUBTRACT statement you're using to get any specific questions answered.