Sign in Join
FPDoc Onlineexperiment

TCustomFloatSpinEdit.StrToValue function

Member of TCustomFloatSpinEditpublicIn unit Spin

Converts the specified string to a float value according to spin edit settings.

Declaration

pascal
function StrToValue(const S: string): Double; virtual

Arguments

S

String examined and converted to a float value in the method.

Function result

Float value for the specified string.

Description

Calls StrToFloatF to convert the value in S to a Double data type. If S contains an invalid representation for a float value, Value is used as the return value for the method.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.