title: Converting 20-digit decimal value to Hexadecimal using delphi code
body: <p>I am trying to convert 20 digit decimal value to hexadecimal using Delphi code. Although I find the code below in C#.</p>
  
  <pre><code>BigInteger bi = new BigInteger("12345678901234567890"); 
  string s = bi.ToHexString();
  </code></pre>
  
  <p>Can anyone help with equivalent delphi code to achieve this objective?</p>
  
  <p>Please note that using kstools code, I was able to convert 17 digit hexadecimal value to 20 digit decimal but I cannot reverse it to get back the hexadecimal value.</p>
  
  <p>The kstool code is as follows:</p>
  
  <pre><code>var 
    I: TksInteger;
  ....
  I.FromString('$ABDCF123456789FE');
  Result = I.AsString;
  </code></pre>