ODBC
PHP Manual

odbc_field_precision

(PHP 4, PHP 5)

odbc_field_precision — Synonym for odbc_field_len()

Description

int odbc_field_precision ( resource $result_id , int $field_number )

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.


ODBC
PHP Manual