xtd 0.2.0
Loading...
Searching...
No Matches

◆ to_string() [1/49]

template<typename value_t >
std::string xtd::to_string ( const value_t &  value,
const std::string &  fmt,
const std::locale &  loc 
)
inline

Convert a specified value into a string with specified format and locale.

Namespace
xtd
Library
xtd.core
Parameters
valueValue to convert.
fmtA composite format string.
locAn object of class std::locale is an immutable indexed set of immutable facets.
Remarks
for more information about format see Format.
Examples
format_class_with_specified_formating_with_to_string.cpp, iformatable_vs_to_string.cpp, numeric_text_box.cpp, and sprintf_class_with_specified_formating_with_to_string.cpp.