OracleDecimal(double)
This constructor creates a new instance of the OracleDecimal structure and sets its value to the supplied double value.
Declaration
// C#
public OracleDecimal(double doubleX)Parameters
-
doubleXThe provided double value.
Exceptions
OverFlowException - The value of the supplied double is greater than the maximum value or less than the minimum value of OracleDecimal.
Remarks
OracleDecimal contains the following values depending on the provided double value:
-
double.PositiveInfinity: positive infinity value -
double.NegativeInfinity:negative infinity value. -
double.NaN: null value