TStringHelper.ToExtended
Convert string to extended-sized floating point value
Declaration
Source position: syshelph.inc line 95
public 
  class function ToExtended(const S: string) : Extended;  Overload
                           ;  Static;
  function ToExtended : Extended;  Overload;
Description
ToExtended returns the contents of the string S as a Extended-sized floating point value (if possible). It uses StrToFloat to convert the value to a floating point value.
Errors
If the string contains a value that cannot be translated to a floating point value, an EConvertError exception may be raised.
See also
| Name | Description | 
|---|---|
| EConvertError | Conversion error. | 
| StrToFloat | Convert a string to a floating-point value. | 
| TStringHelper.ToBoolean | Convert string to boolean | 
| TStringHelper.ToDouble | Convert string to double-sized floating point value | 
| TStringHelper.ToInt64 | Convert string to 64-bit signed integer | 
| TStringHelper.ToInteger | Convert string to 32-bit signed integer | 
| TStringHelper.ToSingle | Convert string to single-sized floating point value |