# 数据转换Data Conversion

### 数据转换例程Data-Conversion Routines

absabs 查找整数的绝对值Find absolute value of integer
atof、_atof_l、_wtof、_wtof_latof, _atof_l, _wtof, _wtof_l 将字符串转换为 `float`Convert string to `float`
atoi、_atoi_l、_wtoi、_wtoi_latoi, _atoi_l, _wtoi, _wtoi_l 将字符串转换为 `int`Convert string to `int`
_atoi64、_atoi64_l、_wtoi64、_wtoi64_l_atoi64, _atoi64_l, _wtoi64, _wtoi64_l 将字符串转换为 `__int64`Convert string to `__int64`
ato、_atol_l、_wtol、_wtol_latol, _atol_l, _wtol, _wtol_l 将字符串转换为 `long`Convert string to `long`
c16rtomb、c32rtombc16rtomb, c32rtomb 将 UTF-16 或 UTF-32 字符转换为等效多字节字符Convert UTF-16 or UTF-32 character to equivalent multibyte character
`double` 转换为指定长度的字符串Convert `double` to string of specified length
`double` 转换为小数点后具有指定位数的字符串Convert `double` to string with specified number of digits following decimal point
`double` 数字转换为字符串；将字符串存储于缓存分区中Convert `double` number to string; store string in buffer
`int``__int64` 转换为字符串Convert `int` or `__int64` to string
labslabs 查找 `long` 整数的绝对值Find absolute value of `long` integer
llabsllabs 查找 `long long` 整数的绝对值Find absolute value of `long long` integer
`long` 转换为字符串Convert `long` to string
_mbbtombc、_mbbtombc_l_mbbtombc, _mbbtombc_l 将 1 字节多字节字符转换为相应的 2 字节多字节字符Convert 1-byte multibyte character to corresponding 2-byte multibyte character
_mbcjistojms、_mbcjistojms_l、_mbcjmstojis、_mbcjmstojis_l_mbcjistojms, _mbcjistojms_l, _mbcjmstojis, _mbcjmstojis_l 将日本行业标准 (JIS) 字符转换为日本 Microsoft (JMS) 字符Convert Japan Industry Standard (JIS) character to Japan Microsoft (JMS) character
_mbcjistojms、_mbcjistojms_l、_mbcjmstojis、_mbcjmstojis_l_mbcjistojms, _mbcjistojms_l, _mbcjmstojis, _mbcjmstojis_l 将 JMS 字符转换为 JIS 字符Convert JMS character to JIS character
_mbctohira、_mbctohira_l、_mbctokata、_mbctokata_l_mbctohira, _mbctohira_l, _mbctokata, _mbctokata_l 将多字节字符转换为 1 字节平假名代码Convert multibyte character to 1-byte hiragana code
_mbctohira、_mbctohira_l、_mbctokata、_mbctokata_l_mbctohira, _mbctohira_l, _mbctokata, _mbctokata_l 将多字节字符转换为 1 字节片假名代码Convert multibyte character to 1-byte katakana code
_mbctombb、_mbctombb_l_mbctombb, _mbctombb_l 将 2 字节多字节字符转换为相应的 1 字节多字节字符Convert 2-byte multibyte character to corresponding 1-byte multibyte character
mbrtoc16、mbrtoc32mbrtoc16, mbrtoc32 将多字节字符转换为等效 UTF-16 或 UTF-32 字符Convert multibyte character to equivalent UTF-16 or UTF-32 character

mbtowc、_mbtowc_lmbtowc, _mbtowc_l 将多字节字符转换为对应的宽字符Convert multibyte character to corresponding wide character
strtod、_strtod_l、wcstod、_wcstod_lstrtod, _strtod_l, wcstod, _wcstod_l 将字符串转换为 `double`Convert string to `double`
strtol、wcstol、_strtol_l、_wcstol_lstrtol, wcstol, _strtol_l, _wcstol_l 将字符串转换为 `long` 整数Convert string to `long` integer
strtoul、_strtoul_l、wcstoul、_wcstoul_lstrtoul, _strtoul_l, wcstoul, _wcstoul_l 将字符串转换为 `unsigned long` 整数Convert string to `unsigned long` integer
strxfrm、wcsxfrm、_strxfrm_l、_wcsxfrm_lstrxfrm, wcsxfrm, _strxfrm_l, _wcsxfrm_l 根据特定于区域设置的信息将字符串转换为排序格式Transform string into collated form based on locale-specific information
toascii、__toasciitoascii, __toascii 将字符转换为 ASCII 代码Convert character to ASCII code

tolower、_tolower、towlower、_tolower_l、_towlower_ltolower, _tolower, towlower, _tolower_l, _towlower_l 无条件将字符转换为小写形式Convert character to lowercase unconditionally

toupper、_toupper、towupper、_toupper_l、_towupper_ltoupper, _toupper, towupper, _toupper_l, _towupper_l 无条件将字符转换为大写形式Convert character to uppercase unconditionally
`unsigned long` 转换为字符串Convert `unsigned long` to string

atof、_atof_l、_wtof、_wtof_latof, _atof_l, _wtof, _wtof_l 将宽字符字符串转换为 `double`Convert wide-character string to a `double`
atoi、_atoi_l、_wtoi、_wtoi_latoi, _atoi_l, _wtoi, _wtoi_l 将宽字符字符串转换为 `int`Convert wide-character string to `int`
_atoi64、_atoi64_l、_wtoi64、_wtoi64_l_atoi64, _atoi64_l, _wtoi64, _wtoi64_l 将宽字符字符串转换为 `__int64`Convert wide-character string to `__int64`
ato、_atol_l、_wtol、_wtol_latol, _atol_l, _wtol, _wtol_l 将宽字符字符串转换为 `long`Convert wide-character string to `long`