RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::IntToHex Method

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

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

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!