DB2®DecimalFloat.Scale Property
Gets a value indicating the scale of the DB2DecimalFloat object's value.
- Namespace:
IBM.Data.DB2Types- Assembly:
IBM.Data.DB2(inIBM.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 number of digits to the right of the decimal point for the value stored in the DB2DecimalFloat structure.
Exceptions
| Exception type | Condition |
|---|---|
| DB2NullValueException | For DB2DecimalFloat values where there is no scale, (NaN, sNaN, Null, NegativeInfinity, and PositiveInfinity), a NullValueException is returned. |
| InvalidOperationException | There is no more data to return. |