(PHP 4 )
odbc_field_precision() will return the scale of the field referenced by number in the given ODBC result identifier.