Gets the approximate value stored in the DB2DecimalFloat object. Does not throw an exception if less significant digits are lost.
[Visual Basic]
Public ReadOnly Property ValueApproximate As Decimal
[C#]
public decimal ValueApproximate {get;}
[C++]
public: __property Decimal get_ValueApproximate();
[JScript]
public function get ValueApproximate() : decimal;
| Exception type | Condition |
|---|---|
| DB2NullValueException | The DB2DecimalFloat.Null value cannot be assigned 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 approximate value of the DB2DecimalFloat instance.