DB2®Decimal.Precision Property
Gets a value indicating the precision of the DB2Decimal structure's value.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Property Precision As Integer
[C#]
public int Precision {get;}
[C++]
public: __property int get_Precision();
[JScript]
public function get Precision() : int;
Property value
An integer representing the precision of the DB2Decimal structure. More specifically, this property indicates the number of significant figures of the DB2Decimal value.
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. |