GetPrecision

Description

Returns the number of decimal digits in a designated column in a cursor. This method is for use with JSP targets only.

Applies to

PSCursorClass objects

Syntax

cursorobject.GetPrecision ( int iCol )

Argument

Description

cursorobject

A variable that contains a reference to an instance of PSCursorClass

iCol

Number of the column for which you want to obtain the precision

Returns

int

Examples

Example 1

The following example retrieves the precision of the fifth column in the “mycursor” object:

li_precision = mycursor.GetPrecision(5);

See also

GetScale