DecimalPlaces

The DecimalPlaces property returns the number of decimal places of the selected LINCField. If the field is not of type numeric, or if it does not have any decimal places, the DecimalPlaces property returns zero.

Syntax

Objectname.DecimalPlaces

<Object> is an expression that evaluates to an instance of a Component Enabler connection object.

Returns

The number of decimal places in the LINCField object.

Example

If LINCAPP.colLINCFields("BALANCE").FieldType = "N" then
      MsgBox "The field BALANCE has" & _
            LINCAPP.colLINCFields("BALANCE").DecimalPlaces
End If