DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


StrToIntDef

Declaration: StrToIntDef(s: string; default: integer): integer;
Converts the string s (integer-type number in either decimal or hexadecimal notation) to an integer number. If s does not represent a valid number the value of the parameter default is returned.