[#BloombergLP-bdlb-NumericParseUtil-parseDouble-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NumericParseUtil.adoc[NumericParseUtil]::parseDouble :relfileprefix: ../../../ :mrdocs: `parseDouble` overloads == Synopses Declared in `<bdlb_numericparseutil.h>` Parse the specified `inputString` for a sequence of characters matching the production rule <DOUBLE> (see {Grammar Production Rules}) and place into the specified `result` the corresponding value. Optionally specify `remainder`, in which to store the remainder of the `inputString` immediately following the successfully parsed text, or the position at which a parse failure was detected. Return zero on success, and a non‐zero value otherwise. The value of `result` is unchanged if a parse failure occurs unless it is a range error (value `ERANGE` from `<cerrno>`). In case of `ERANGE` return value `result` will be set to zero on underflow and infinity in case of overflow, with the appropriate sign. The behavior is undefined unless the current numeric locale is the `"C"` locale, such that `strcmp(setlocale(LC_NUMERIC, 0), "C") == 0`. For more information see {Floating Point Values}. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlb/NumericParseUtil/parseDouble-02.adoc[parseDouble]( double* result, std::string_view const& inputString); ---- [.small]#xref:BloombergLP/bdlb/NumericParseUtil/parseDouble-02.adoc[_» more..._]# Same as the overload not taking `remainder`, but store in the specified `remainder` the remainder of the `inputString` immediately following the successfully parsed text, or the position at which a parse failure was detected. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlb/NumericParseUtil/parseDouble-0e.adoc[parseDouble]( double* result, std::string_view* remainder, std::string_view const& inputString); ---- [.small]#xref:BloombergLP/bdlb/NumericParseUtil/parseDouble-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#