Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cbmstr

    compute with floating-point

    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...
  2. cbmstr

    compute with decimal number

    Hello thanks
  3. cbmstr

    compute with decimal number

    Hello, thanks. Below the data definition: decimal PIC 9(3)V(9)6 COMP-4 amount PIC 9(18) COMP-3 Dcml PIC 9(9).
  4. cbmstr

    compute with decimal number

    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...

Part and Inventory Search

Back
Top