IntToHex

Top  Previous  Next

Prototype

 

StrHex:=IntToHex(intValue,intDigita)

 

Description

 

Converts an integer in a string representing hexadecimal number .

 

Parameters

 

IntValue: integer value to be converted into hexadecimal.

 

IntDigita: integer value showing how many  digits  the hexadecimal number has to have.

 

Returned value

 

StrHex: string containing the converted number.

 

Notes

 

None

 

Example

 

// This returns the string 0A

strValue:=IntToHex(10,2);