8 Replies Latest reply on Jun 8, 2007 1:49 PM by Newsgroup_User

    Convert Decimal to Hex

    Xtort Level 1
      I use an LDAP database that stores values in decimal format, but to display these values to the end user, I want them in Hex.

      For example.

      50699 becomes C60B
      18743297 becomes 11E0001

      Is there a function built into CF that allows me to do this conversion? I can't seem to find one. Or will I have to write a cfscript or javascript function to do this for me?