Announcement

Collapse
No announcement yet.

Convertingvalues within ASCII STRING to Integers (P2000)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts


  • Convertingvalues within ASCII STRING to Integers (P2000)

    I am trying to convert a few numbers from an ASCII IN (always indexed at same location) to Integers to do math functions.
    I have extracted the string at a starting index and have assigned a tagname to the 2 digit numeric value. I just need to convert this 2 digit string to a real number (Integer)
    Any help appreciated.


  • #2
    Look at the CPC (Copy Character instruction)

    Comment



    • #3
      I have quickly answered my own question.
      Unpack the string to a float.

      Comment



      • #4
        Is the number an integer or a float?
        You have said that it is both....

        Comment

        Working...
        X