DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
Conversions
StrToInt
See also:
StrToIntDef
,
IntToStr
Index
Statistical Background
StrToInt
Declaration:
StrToInt
(s: string): integer;
Converts the string
s
, which represents an integer-type number in either decimal or hexadecimal notation, to a 32-bit number. Hint: If
s
does not represent a valid number, a value of -1 is returned.