Soap.TypeTrans.StrToFloatEx
Delphi
function StrToFloatEx(const S: string): Extended;
C++
extern DELPHI_PACKAGE System::Extended __fastcall StrToFloatEx(const System::UnicodeString S);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Soap.TypeTrans.pas Soap.TypeTrans.hpp |
Soap.TypeTrans | Soap.TypeTrans |
Description
Convertit une chaîne en un nombre à virgule flottante (pour la messagerie SOAP).
StrToFloatEx convertit une chaîne en une valeur à virgule flottante en précision étendue. Les arguments spéciaux suivants sont autorisés :
NaN INF -INF
Dans le cas où la chaîne ne représente pas une valeur à virgule flottante valide, une exception EConvertError est déclenchée.