From RAD Studio API Documentation
Jump to: navigation, search


class function ToExtended(const S: string): Extended; overload; static; inline;
function ToExtended: Extended; overload; inline;


Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TStringHelper


Converts a given string to a floating-point value.

This method is overloaded.

Use ToExtended to convert a string S to a floating-point value. S must consist of an optional sign (+ or -), a string of digits with an optional decimal point, and an optional mantissa. The mantissa consists of 'E' or 'e' followed by an optional sign (+ or -) and a whole number. Leading and trailing blanks are ignored.

See Also