DB2DecimalFloat.ValueApproximate Property
Gets the approximate value stored in the DB2DecimalFloat object. 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;
Exceptions
Exception type | Condition |
---|---|
DB2®NullValueException | 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. |
Property value
A decimal representing the approximate value of the DB2DecimalFloat instance.