AnsweredAssumed Answered

Convert a Decimal to a Hexadecimal

Question asked by kmccool on May 16, 2018
Latest reply on May 17, 2018 by kmccool

I have an ask from a user to calculate the Hexadecimal value using a decimal field.

 

I'm not even sure where the start. the HEX2DEX command does not work in a calculated column. so I thought maybe I could do it with RegEx... something like;

s/\([A-Za-z0-9_]\)/\=printf("%#02x", submatch(0))/

but I'm not sure how to get the results by configuring the regular expression workflow action.

 

Any ideas on how I can accomplish this?

 

Thanks

Kassie

Outcomes