Problem:
When migrating from Micro Focus Workbench COBOL to Server Express you can experience different results as Workbench COBOL. How can I get the same results.
Resolution:
The ARITHMETIC compiler directive specifies how arithmetic expressions are to be evaluated.
Setting the ARITHMETIC compiler directive to TRUNC20 - Will truncate the number of digits to the right of the decimal point to 20 at each step of the evaluation of the expression. This provides similar results to the truncation provided in COBOL Workbench. You should only use this directive if you need to obtain evaluation results similar to those provided in COBOL Workbench. If you specify TRUNC20, you must not change the setting of the INTLEVEL Compiler directive from its default value of 2. This means that you cannot use some of the newer features, such as numeric pictures with more than 18 total digits, with the TRUNC20 parameter.
The default value for ARITHMETIC is "MF"
