ParseDecimal(Value: String): Decimal;
Value. Value converted into decimal type.
The ParseDecimal method converts the specified value into decimal type according to regional standard settings.
If the conversion is not possible, the exception is generated.
Sub UserProc;
Var
CI: ICultureInfo;
D: Decimal;
Begin
CI := CultureInfo.Current;
D := CI.ParseDecimal("1234,56789");
End Sub UserProc;
After executing the example the D variable contains the value 1234.5679 obtained by converting from the specified string value.
See also: