Articles

Use Format function:

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