chsvlib
chsv helper source code

◆ to_ucp_string() [3/9]

ucp_string Chusov::String::to_ucp_string ( int  value)

Converts the specified numerical value to a Unicode string of the ucp_string type.

Parameters
valueis the value to convert.
Returns
The result of the conversion, i.e. the string representation of value.

The conversion is done as if by making the following call.

sPrintfA(buf, "%d", value);
int sPrintfA(char *restrict pDest, const char *restrict pszFormat,...) noexcept
Loads the data from the given locations, converts it to multibyte string equivalents and writes the r...
See also
to_ucp_string(long value)
to_ucp_string(long long value)
to_ucp_string(unsigned value)
to_ucp_string(unsigned long value)
to_ucp_string(unsigned long long value)
to_ucp_string(float value)
to_ucp_string(double value)
to_ucp_string(long double value)
from_string(const ucp_t* pszValue)
from_string(const ucp_t* pszValue, int base = 10)