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