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
how do you reference the fixed unblock file formats from cobol programs
What are the different rules of SORT operation?
) How do u handle errors in BMS macro
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Name some of the examples of COBOl 11?
Have you used comp and comp-3 in your project? And how?
how to access the file from prodution from changeman tool and to submit a file to production
Why occurs cannot be used in 01 level in COBOL?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Explain the configuration section of a cobol program with examples of syntax.
What are the rules of the move verb?
Define cobol?
What rules are to be followed while using the corresponding options?
Write a cobol program making use of the redefine clause.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?