GetScale

Description

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

Applies to

PSCursorClass objects

Syntax

cursorobject.GetScale (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 scale

Returns

int

Examples

Example 1

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

li_scale = mycursor.GetScale(5);

See also