[#bsl-stold-04] = xref:bsl.adoc[bsl]::stold :relfileprefix: ../ :mrdocs: `stold` overloads == Synopses Declared in `<bslstl_string.h>` Parse a string as a `long double` value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- long double xref:bsl/stold-02.adoc[stold]( xref:bsl/string.adoc[string] const& str, std::size_t* pos = 0); ---- [.small]#xref:bsl/stold-02.adoc[_» more..._]# Same as `stold` for `wstring`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- long double xref:bsl/stold-06.adoc[stold]( xref:bsl/wstring.adoc[wstring] const& str, std::size_t* pos = 0); ---- [.small]#xref:bsl/stold-06.adoc[_» more..._]# == Return Value `long 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]#