Gets the value stored in the DB2DecimalFloat object.
[Visual Basic]
Public ReadOnly Property Value As Decimal
[C#]
public decimal Value {get;}
[C++]
public: __property Decimal get_Value();
[JScript]
public function get Value() : decimal;
| Exception type | Condition |
|---|---|
| DB2®NullValueException | The DB2DecimalFloat.Null value cannot be assigned to a decimal. |
| DB2TruncateException | Significant figures are lost when assigning the DB2DecimalFloat value to a decimal. |
| InvalidCastException | A special value (for example, NaN) cannot be assigned to a decimal. |
| OverflowException | The value being assigned to a decimal is too large. |
A decimal representing the DB2DecimalFloat instance.