Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Decimal-point is comma not working properly

$
0
0

Hi, guys!
Living in a country that uses comma as a decimal point (1.000,00), I found a bug in the decimal-point is comma declaration.
After using a mask to accept input:

w-Number   PIC  9(02)V9(02)
w-Number-e      PIC  Z9.99


It displays "0,00" but it ignores the Z, and after moving the mask to the proper variable, it continues to have the default value:

move w-Number-e to w-Number.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>