Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetFieldScale

Set the field scale.

Declaration

CTDBRET ctdbSetFieldScale(CTHANDLE Handle, NINT fscale)

Description

ctdbSetFieldScale() sets the field scale (the number of digits to the right of the decimal point).

  • Handle [in] the Field Handle.
  • fscale [in] the field scale.

Returns

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

See also

ctdbGetFieldScale()

TOCIndex