DB2Decimal.ValueApproximate Property
Gets the approximate value stored in the DB2Decimal structure. Does not throw an exception if less significant digits are lost.
- Namespace:
IBM.Data.DB2Types- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[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;
Property value
A decimal representing the approximate value of the DB2Decimal instance.
Exceptions
| Exception type | Condition |
|---|---|
| DB2®NullValueException | The DB2Decimal.Null value cannot be assigned to a decimal. |
| OverflowException | The value being assigned to a decimal is too large. |