(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
Tell the scale of the field
int oci_field_scale ( resource $statement, mixed $field )
Returns the scale of the column with field index.
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.