Home > PHP > Function > OCI8 > oci_field_precision()

oci_field_precision()

oci_field_precision - Tell the precision of a field

Syntax

int oci_field_precision (resource $statement, int $field)

Arguments

  • statement - A valid OCI statement identifier.
  • field - Can be the field\'s index (1-based) or name.

Description

Returns precision of the field.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the precision as an integer, or FALSE on errors.