The standard ODBC conversions apply with the following notes:
Conversion from SQL_C_CHAR to SQL_DOUBLE preserves a precision of up to 38 digits of the number passed as a string (instead of just the precision of 15 when the underlying type is a FLOAT).