[#bsl-stof-09] = xref:bsl.adoc[bsl]::stof :relfileprefix: ../ :mrdocs: `stof` overloads == Synopses Declared in `<bslstl_string.h>` Parse the specified `str` as a floating‐point number; see `stod`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- float xref:bsl/stof-03.adoc[stof]( xref:bsl/string.adoc[string] const& str, std::size_t* pos = 0); ---- [.small]#xref:bsl/stof-03.adoc[_» more..._]# Same as `stof` for `wstring`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- float xref:bsl/stof-00.adoc[stof]( xref:bsl/wstring.adoc[wstring] const& str, std::size_t* pos = 0); ---- [.small]#xref:bsl/stof-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#