| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Convert string to 32-bit signed integer
Source position: syshelph.inc line 77
| public class function TStringHelper.ToInteger( | 
| const S: string | 
| ):Integer; overload; | 
ToInteger returns the contents of the string S as a 32-bit signed integer value (if possible). It uses StrToInt64 to convert the value to an 64-bit sized integer value.
If the string contains a value that cannot be translated to an integer value, an EConvertError exception may be raised.
| 
 | Convert a string to an Int64 value. | |
| 
 | Conversion error. | |
| 
 | Convert string to boolean | |
| 
 | Convert string to double-sized floating point value | |
| 
 | Convert string to extended-sized floating point value | |
| 
 | Convert string to 64-bit signed integer | |
| 
 | Convert string to single-sized floating point value |