HP Forums

Full Version: (50G) Integer to Hexadecimal Character String & Back
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The programme takes integer input & returns a character string of the hexadecimal value.

eg For input


the programme returns


& applied to the result returns the original integer value.

  # FF
    FPTR2 ^DupQIsZero?
    FPTR2 ^Z>ZH
    FPTR 4 7
    FPTR F 1A
    FPTR2 ^#>Z
    ZINT 16
    FPTR2 ^RMULText
    FPTR2 ^RADDext
    FPTR2 ^RNEGext
Reference URL's