Convert a numeric value to a wstring.

Synopsis

Declared in <bslstl_string.h>

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

Name

Description

value

numeric value to convert

Created with MrDocs