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

◆ to_string() [3/3]

template<typename type_t >
xtd::string xtd::box< type_t >::to_string ( const xtd::string format,
const std::locale &  loc 
) const
inlineoverridevirtual

Converts the value of this instance to its equivalent string representation, using the specified format, and locale.

Parameters
formatA value type format string.
locAn std::locale object that contains locale information (see std::locale).
Returns
The string representation of the value of this instance as specified by format.

Implements xtd::iformatable.