Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetFieldPrecision

Set the field precision.

Declaration

CTDBRET ctdbSetFieldPrecision(CTHANDLE Handle, NINT fprec)

Description

ctdbSetFieldPrecision() sets the field precision (maximum number of digits).

  • Handle [in] the Field Handle.
  • fprec [in] the field precision.

Returns

ctdbSetFieldPrecision() returns CTDBRET_OK on success, or a FairCom DB API C API error code on failure.

See also

ctdbGetFieldPrecision()

TOCIndex