[#BloombergLP-bdlb-NumericParseUtil-parseDouble-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NumericParseUtil.adoc[NumericParseUtil]::parseDouble :relfileprefix: ../../../ :mrdocs: 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}. == Synopsis Declared in `<bdlb_numericparseutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int parseDouble( double* result, std::string_view const& inputString); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#