System.SysUtils.IntToStr
Delphi
function IntToStr(Value: Integer): string;
function IntToStr(Value: Int64): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall IntToStr(int Value)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts an integer to a string.
IntToStr converts an integer to a string that contains the decimal representation of that number.
To convert an unsigned integer to string, use the UIntToStr function.
To convert an integer to a string with minimum length, use the Str procedure. Example (Delphi):
Str(123:6, AString); // AString is set to ' 123'