[#bsl-stod-0b] = xref:bsl.adoc[bsl]::stod :relfileprefix: ../ :mrdocs: Same as `stod` for `string`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- double stod( xref:bsl/string.adoc[string] const& str, std::size_t* pos = 0); ---- == Return Value `double` value parsed from `str` == Parameters [cols="1,4"] |=== | Name| Description | *str* | string to parse | *pos* | optional output for the index after the parsed value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#