TXMLConfig.StrToExtended function
Converts the specified String value to an Extended data type.
Declaration
function StrToExtended(const s: string; const ADefault: extended)
: extendedArguments
s | String converted to an Extended value. |
ADefault | Default value used when no value can be derived from the string. |
Function result
Extended value converted in the method.
Description
StrToExtended converts the specified
String value to
its representation as an
Extended data type.
ADefault contains the default value used in the method when the
string is empty or contains an invalid representation for an Extended data
type. StrToExtended calls the
StrToFloatDef routine to convert the
string value using the format settings for the class.
StrToExtended is used in the implementation of the
GetExtendedValue method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
