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
State the various causes of s0c1, s0c5 and s0c7.
What is the difference between next sentence and continue in cobol programing language?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What rules are followed by the search verb.
how do you reference the variable block file formats from cobol programs
Explain how you can characterize tables in cobol?
How do get the result of your program directly on your pc?
Name the sections present in data division.
What is amode(24)?
i need a small 3d program using inline and outline.
What is a report item?
Which is not true about evaluate statement
i want a program using by if, evaluate , string, unstring, perform, occurs?
HOw can I get the negative sign while deduct high value from low value