[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert an integer value to a decimal string.
Source position: sysstrh.inc line 115
function IntToStr( |
Value: LongInt |
):string; |
Value: Int64 |
):string; |
Value: QWord |
):string; |
IntToStr coverts Value to it's string representation. The resulting string has only as much characters as needed to represent the value. If the value is negative a minus sign is prepended to the string.
None.
|
Convert an integer value to a hexadecimal string. |
|
|
Convert a string to an integer value. |
Program Example74; { This program demonstrates the IntToStr function } Uses sysutils; Var I : longint; Begin For I:=0 to 31 do begin Writeln (IntToStr(1 shl I)); Writeln (IntToStr(15 shl I)); end; End.