Utilities.IntToHex Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.


Use the Utilities.IntToHex method to convert the given number specified by the Value parameter into a string that contains the number’s hexadecimal (base 16) representation.


Utilities.IntToHex(Value, Digits)

Value [in]    Required    Integer    
Digits [in]    Required    Integer    
Result String

Applies To

The method is applied to the following object:


The method has the following parameters:


Specifies the integer value to be converted.


Specifies the minimum number of hexadecimal digits to return.

Result Value

The string that contains the hexadecimal (base 16) representation of the specified integer value.


This method is obsolete. It is supported for backward compatibility only. To convert a number to its hexadecimal representation, use the aqString.Format method.

See Also

Working With Numeric Values
Format Method
IntToStr Method
StrToInt Method
FloatToStr Method
CurrencyToStr Method

Highlight search results