⤷ Convert decimals to hexadecimals

Use Format function:

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