[#bsl-to_wstring-0b6] = xref:bsl.adoc[bsl]::to_wstring :relfileprefix: ../ :mrdocs: converts a floating point value to a string with the same contents as what `std::sprintf(buf, sz, L"%f", value)` would produce for a sufficiently large buffer. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[wstring] to_wstring(float value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#