bsl::to_string

Convert a numeric value to a string.

Synopsis

Declared in <bslstl_string.h>

string
to_string(double value);

Description

Same as to_string for float.

Return Value

string representation of value

Parameters

NameDescription
valuenumeric value to convert