Show: Object Pascal C++
Display Preferences

System.SysUtils.IntToStr

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 (Object Pascal):

Str(123:6, AString); // AString is set to '   123'

See Also

Code Examples

Personal tools
Translations