(PHP 4 )
odbc_field_precision() will return the precision of the field referenced by number in the given ODBC result identifier.
See also: odbc_field_scale() to get the scale of a floating point number.