DB2DecimalFloat.Value Property
Gets the value stored in the DB2DecimalFloat object.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[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;
Exceptions
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. |
Property value
A decimal representing the DB2DecimalFloat instance.