Hexadecimal to Integer

Submitted by:David Villa

Date added:06 February, 2013

Category:Delphi

Delphi code for Hexadecimal to Integer

Tags: hexadecimal convert , integer convert

Code Snippet:

    function hexaToInt(s : string) : Int64;
begin

if (s <> '') and (s[1] <> '$') then
result := strToInt64('$' + s )
else
result := strToInt64(s);
end;
 
 

Comments