(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
Tell the precision of a field
int oci_field_precision ( resource $statement, mixed $field )
Returns precision of the field.
For FLOAT columns, precision is nonzero and scale is -127. If precision is 0, then column is NUMBER. Else it's NUMBER(precision, scale).
Parameters:
statement
A valid OCI statement identifier.