Utilities.IntToHex Method

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

Description

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.

Declaration

Utilities.IntToHex(Value, Digits)

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

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Value

Specifies the integer value to be converted.

Digits

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.

Remarks

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