Hello,
The following example gives different results in OPEN COBOL 1.1 and
mainframe COBOL:
01 RESULT-1 PIC 9(6).99.
COMPUTE RESULT-1 ROUNDED = 46956.93 / 24 + 5308.00 / 24
DISPLAY RESULT-1
OPEN COBOL displays 002177.71
mainframe displays 002177.70
Do I make any mistake?
Could there be a fault in my installation?
Is this normal behaviour of OPEN COBOL?
Is there a posibility of forcing specific precision?
I am using OPEN COBOL 1.1 with WINDOWS XP.
For the installation I used a MINGW environment.
Regards
Wolfgang
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list