[#bsl-to_wstring-0e] = xref:bsl.adoc[bsl]::to_wstring :relfileprefix: ../ :mrdocs: Convert a numeric value to a `wstring`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[wstring] to_wstring(long double value); ---- == Description converts a floating point value to a string with the same contents as `what std::sprintf(buf, sz, L"%Lf", value)` would produce for a sufficiently large buffer. == Return Value `wstring` representation of `value` == Parameters [cols="1,4"] |=== | Name| Description | *value* | numeric value to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#