Show: Object Pascal C++
Display Preferences

System.SysUtils.IntToHex

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function IntToHex(Value: Integer; Digits: Integer): string;
function IntToHex(Value: Int64; Digits: Integer): string;
function IntToHex(Value: UInt64; Digits: Integer): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall IntToHex(int Value, int Digits)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Returns the hex representation of an integer.

IntToHex converts a number into a string containing the number's hexadecimal (base 16) representation. Value is the number to convert. Digits indicates the minimum number of hexadecimal digits to return.

See Also


Code Examples

Personal tools
Translations