DB2®Decimal.Scale Property

Gets a value indicating the scale of the DB2Decimal structure's value.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Property Scale As Integer
[C#]
public int Scale {get;}
[C++]
public: __property int get_Scale();
[JScript]
public function get Scale() : int;

Property value

An integer representing the scale of the DB2Decimal structure.

Remarks

An exception is thrown if the DB2Decimal instance has the value DB2Decimal.Null.

Exceptions

Exception type Condition
DB2NullValueException The value of the DB2Type is null.