...convert Hex codes to Integer?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: Math

// This tip convert the Hex Code AFFE to integer

procedure TForm1.Button1Click(Sender: TObject);
begin
  
label1.Caption := IntToStr(StrToInt('$AFFE')); //45054
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base