Dec To HEX

I guess you mean as a string, correct.


HexString := Format('%0x',DecValue);