RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::IntToHex Method

Converts a number into a string containing the number's hexadecimal (base 16) representation.

Pascal
function IntToHex(value: Integer; digits: Integer): AnsiStringT; static;
C++
static __fastcall AnsiStringT IntToHex(int value, int digits);

Value is the number to convert. Digits indicates the minimum number of hexadecimal digits. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!