[#BloombergLP-bdlb-NumericParseUtil-parseDouble-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NumericParseUtil.adoc[NumericParseUtil]::parseDouble :relfileprefix: ../../../ :mrdocs: Parse a `double` from a string, also returning the unparsed suffix. == Synopsis Declared in `<bdlb_numericparseutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int parseDouble( double* result, std::string_view* remainder, std::string_view const& inputString); ---- == Description 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. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | location to store the parsed value | *remainder* | unparsed suffix of `inputString` after a successful parse (unchanged on failure) | *inputString* | text to parse |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#