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