Hello,
the COMPUTE example below with a floating-point is much faster(about 1:4) than without one. Can somebody explain it ? It´s depending on which compiler there are used ?
COMPUTE decimal = amount * (10 ** (dcml * -1)) + 0.0E+00)
decimal PIC S9(12)V(6) COMP-3.
amount PIC S9(18) COMP-3...
Hello,
i have some problem with compute with decimal places. I have an amount without a decimal places and a field as minor unit code, where are the number of decimal places.
The compute below doesn´t work, if the minor unit code are greater than 6.
decimal = PIC 9(39V(9)6 COMP-4.
COMPUTE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.