× Discussions for CodeTyphon Object Pascal Programming Language

Question How to convert hex to dec?

  • usbdoo
  • Topic Author
  • Visitor
  • Visitor
4 years 8 months ago - 4 years 8 months ago #8605 by usbdoo
How to convert hex to dec? was created by usbdoo
hex to dec
a7e5f55e1dbb48b799268e1a6d8618a3 -> 223175087923687075112234402528973166755

code java is
BigInteger decimalZOI = new BigInteger(hexZOI, 16);

code Delphi
Unit UBigIntsV4;
i1:=TInteger.create(0);
 if i1.assignHex(ZOI) then CrtnaKoda:=i1.ConvertToDecimalString(false);  
i1.free;

How this make in CT?
Last edit: 4 years 8 months ago by usbdoo.

Please Log in or Create an account to join the conversation.

  • usbdoo
  • Topic Author
  • Visitor
  • Visitor
4 years 8 months ago #8607 by usbdoo

Please Log in or Create an account to join the conversation.