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 wOOdy-Soft 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: *

  • Users: cbmstr
  • Content: Threads
  • Order by date
  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, 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