Type Conversion

Function Header File Page Description
atof() stdlib.h atof() — Convert Character String to Float Converts a character string to a floating-point value.
atoi() stdlib.h atoi() — Convert Character String to Integer Converts a character string to an integer.
atol() stdlib.h atol() – atoll() — Convert Character String to Long or Long Long Integer Converts a character string to a long integer.
atoll() stdlib.h atol() – atoll() — Convert Character String to Long or Long Long Integer Converts a character string to a long integer.
_gcvt() stdlib.h _gcvt() — Convert Floating-Point to String Converts a floating-point value to a string.
_itoa() stdlib.h _itoa() — Convert Integer to String Converts an integer to a string.
_ltoa() stdlib.h _ltoa() — Convert Long Integer to String Converts a long integer to a string.
strtod() stdlib.h strtod() - strtof() - strtold() — Convert Character String to Double, Float, and Long Double Converts a character string to a double-precision binary floating-point value.
strtod32() stblib.h strtod32() - strtod64() - strtod128() — Convert Character String to Decimal Floating-Point Converts a character string to a single-precision decimal floating-point value.
strtod64() stblib.h strtod32() - strtod64() - strtod128() — Convert Character String to Decimal Floating-Point Converts a character string to a double-precision decimal floating-point value.
strtod128() stblib.h strtod32() - strtod64() - strtod128() — Convert Character String to Decimal Floating-Point Converts a character string to a quad-precision decimal floating-point value.
strtof() stblib.h strtod() - strtof() - strtold() — Convert Character String to Double, Float, and Long Double Converts a character string to a binary floating-point value.
strtol() stdlib.h strtol() – strtoll() — Convert Character String to Long and Long Long Integer Converts a character string to a long integer.
strtold() stdlib.h strtod() - strtof() - strtold() — Convert Character String to Double, Float, and Long Double Converts a character string to a double-precision binary floating-point value.
strtoll() stdlib.h strtol() – strtoll() — Convert Character String to Long and Long Long Integer Converts a character string to a long long integer.
strtoul() stdlib.h strtoul() – strtoull() — Convert Character String to Unsigned Long and Unsigned Long Long Integer Converts a string to an unsigned long integer.
strtoull() stdlib.h strtoul() – strtoull() — Convert Character String to Unsigned Long and Unsigned Long Long Integer Converts a string to an unsigned long long integer.
toascii() ctype.h toascii() — Convert Character to Character Representable by ASCII Converts a character to the corresponding ASCII value.
_ultoa() stdlib.h _ultoa() — Convert Unsigned Long Integer to String Converts an unsigned long integer to a string.
wcstod() wchar.h wcstod() - wcstof() - wcstold() — Convert Wide-Character String to Double, Float, and Long Double Converts a wide-character string to a double-precision binary floating-point value.
wcstod32() wchar.h wcstod32() - wcstod64() - wcstod128() — Convert Wide-Character String to Decimal Floating-Point Converts a wide-character string to a single-precision decimal floating-point value.
wcstod64() wchar.h wcstod32() - wcstod64() - wcstod128() — Convert Wide-Character String to Decimal Floating-Point Converts a wide-character string to a double-precision decimal floating-point value.
wcstod128() wchar.h wcstod32() - wcstod64() - wcstod128() — Convert Wide-Character String to Decimal Floating-Point Converts a wide-character string to a quad-precision decimal floating-point value.
wcstof() wchar.h wcstod() - wcstof() - wcstold() — Convert Wide-Character String to Double, Float, and Long Double Converts a wide-character string to a binary floating-point value.
wcstol() wchar.h wcstol() – wcstoll() — Convert Wide Character String to Long and Long Long Integer Converts a wide-character string to a long integer.
wcstold() wchar.h wcstod() - wcstof() - wcstold() — Convert Wide-Character String to Double, Float, and Long Double Converts a wide-character string to a double-precision binary floating-point value.
wcstoll() wchar.h wcstol() – wcstoll() — Convert Wide Character String to Long and Long Long Integer Converts a wide-character string to a long long integer.
wcstoul() wchar.h wcstoul() – wcstoull() — Convert Wide Character String to Unsigned Long and Unsigned Long Long Integer Converts a wide-character string to an unsigned long integer.
wcstoull() wchar.h wcstoul() – wcstoull() — Convert Wide Character String to Unsigned Long and Unsigned Long Long Integer Converts a wide-character string to an unsigned long long integer.