Soap.TypeTrans.StrToFloatEx

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrToFloatEx(const S: string): Extended;

C++

extern DELPHI_PACKAGE System::Extended __fastcall StrToFloatEx(const System::UnicodeString S);

Properties

Type Visibility Source Unit Parent
function public
Soap.TypeTrans.pas
Soap.TypeTrans.hpp
Soap.TypeTrans Soap.TypeTrans

Description

Converts a string to a floating-point number (for SOAP messaging).

StrToFloatEx converts a string to an extended precision floating-point value. The following special arguments are allowed:

NaN
INF
-INF

In case the string does not represent a valid floating-point value, an EConvertError is raised.

See Also