Open Client supports a wide range of numeric types:
Integer types include CS_TINYINT, a 1-byte integer, CS_SMALLINT, a 2-byte integer, CS_INT, a 4-byte integer, CS_BIGINT, an 8-byte integer, CS_USMALLINT, an unsigned 2-byte integer, CS_UINT, an unsigned 4-byte integer and CS_UBIGINT, an unsigned 8-byte integer.
CS_REAL corresponds to the Adaptive Server Enterprise datatype real and is implemented as a C-language float type.
CS_FLOAT corresponds to the Adaptive Server Enterprise datatype float and is implemented as a C-language double type.
CS_NUMERIC and CS_DECIMAL correspond to the Adaptive Server Enterprise datatypes numeric and decimal. These datatypes provide platform-independent support for numbers with precision and scale.
The Adaptive Server Enterprise datatypes numeric and decimal are equivalent, and CS_DECIMAL is defined as CS_NUMERIC.