Previous: StrToInt function To the Table of Content Next: StrUpper function

- 4.61.2.54 -
Standard Units
Strings Unit
Strings Unit Procedures and Functions

StrToIntDef function

Targets: MS-DOS, OS/2, Win32


Strings Unit

Converts a string representing a long integer to a number.

Declaration:
function StrToIntDef(const S: String;
                     Default: Longint): Longint;
Remarks:
If S is not a valid number, StrToIntDef returns the number passed in Default.


Previous: StrToInt function To the Table of Content Next: StrUpper function
StrToInt function Table of Content StrUpper function

- 4.61.2.54 -