Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

WORKING-STORAGE SECTION.

01 VAR1 COMP-2 VALUE 0.

PROCEDURE DIVISION.

MOVE 10.2115 TO VAR1.

DISPLAY 'VAR1 =' VAR1.

GOBACK.



10.2115 is stored as .10211499999999996E 02 in OS VS Cobol

10.2115 is stored as .10211500000000000E 02 in ecobol.

Any reason why?

Answer Posted / islam

Ans is : 10.2115 is stored as .10211500000000000E 02 in
ecobol.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


What is the compute verb? How is it used?

1074


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1953


What is inspect in cobol ?

1240


What is the difference between structured cobol programming and object alternativelyiented cobol?

1185


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1172


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2327


what is the use of outrecord?

2152


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6452


What are the cobol coding sheets?

1171


How many sections are there in data division in COBOL?

1077


Write a cobol program making use of the redefine clause.

1120


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1113


What is the difference between Call and a Link?

1120


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2484