mandilium
15-05-2023, 17:43:32
Saludos, tengo un problema al generar una conversión a hexadecimal con un número de 54 caracteres, por lo cual estoy usando la librería de Velthuis.BigIntegers, pero me genera un error al ejecutar el siguiente código.
function getBase16(pString: string): string;
var
vValor: BigInteger;
begin
vValor := BigInteger.Parse(pString);
//Result := IntToHex(vValor);
Result := vValor.ToString('X');//error generado E2250 There is no overloaded version of 'ToString' that can be called with these arguments
end;
La versión que uso es Delphi 10.4.2
function getBase16(pString: string): string;
var
vValor: BigInteger;
begin
vValor := BigInteger.Parse(pString);
//Result := IntToHex(vValor);
Result := vValor.ToString('X');//error generado E2250 There is no overloaded version of 'ToString' that can be called with these arguments
end;
La versión que uso es Delphi 10.4.2