Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IntToStr(const Value: Int64): Substring; overload; inline; | |
| 2 | function IntToStr(const Value: Integer): Substring; overload; inline; | The decimal text of Value. |
Overload 1: function IntToStr(const Value: Int64): Substring; overload; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Int64 |
Returns: Substring
Overload 2: function IntToStr(const Value: Integer): Substring; overload; inline;
The decimal text of Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Integer |
Returns: Substring
Remarks:
Call it qualified: Substr.IntToStr(k).
Examples
Both forms, each named by its unit.
uses Substr, System.SysUtils;
procedure Example;
begin
Assert(Substr.IntToStr(42) = '42');
Assert(Substr.IntToStr(Int64(-9000000000)) = '-9000000000');
Assert(System.SysUtils.IntToStr(42) = '42');
end;