ParseDouble(Value: String): Double;
Value. Value converted into real type.
The ParseDouble method converts the specified value into real type according to regional standard settings.
If the conversion is not possible, the exception is thrown.
Sub UserProc;
Var
CI: ICultureInfo;
D: Double;
Begin
CI := CultureInfo.Current;
D := CI.ParseDouble("456,78");
End Sub UserProc;
After executing the example the "D" variable contains the real value obtained by conversion from a string.
See also: