[#bsl-to_string-08]
= xref:bsl.adoc[bsl]::to&lowbar;string
:relfileprefix: ../
:mrdocs:

Convert a numeric value to a `string`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/string.adoc[string]
to&lowbar;string(unsigned long long value);
----

== Description

Constructs a string with contents equal to the specified `value`&period; The contents of the string will be the same as what &grave;std&colon;&colon;sprintf(buf, &quot;%llu&quot;, value)&grave; would produce with a sufficiently large buffer&period;

== Return Value

`string` representation of `value`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| numeric value to convert
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
