OracleNumber Constructors

Definition

Initializes a new instance of the OracleNumber structure.

Overloads

OracleNumber(OracleNumber)

Initializes a new instance of the OracleNumber structure using the supplied OracleNumber.

OracleNumber(Decimal)

Initializes a new instance of the OracleNumber structure using the supplied Decimal value.

OracleNumber(Double)

Initializes a new instance of the OracleNumber using the supplied double precision value.

OracleNumber(Int32)

Initializes a new instance of the OracleNumber structure using the supplied integer value.

OracleNumber(Int64)

Initializes a new instance of the OracleNumber structure using the supplied long integer value.

OracleNumber(OracleNumber)

Initializes a new instance of the OracleNumber structure using the supplied OracleNumber.

C#
public OracleNumber(System.Data.OracleClient.OracleNumber from);

Parameters

from
OracleNumber

The supplied OracleNumber that will be used as the value of the new OracleNumber structure.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

OracleNumber(Decimal)

Initializes a new instance of the OracleNumber structure using the supplied Decimal value.

C#
public OracleNumber(decimal decValue);

Parameters

decValue
Decimal

The Decimal value to be stored as an OracleNumber structure.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

OracleNumber(Double)

Initializes a new instance of the OracleNumber using the supplied double precision value.

C#
public OracleNumber(double dblValue);

Parameters

dblValue
Double

The supplied double precision value that will the used as the value of the new OracleNumber structure.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

OracleNumber(Int32)

Initializes a new instance of the OracleNumber structure using the supplied integer value.

C#
public OracleNumber(int intValue);

Parameters

intValue
Int32

The supplied integer value that will be used as the value of the new OracleNumber structure.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

OracleNumber(Int64)

Initializes a new instance of the OracleNumber structure using the supplied long integer value.

C#
public OracleNumber(long longValue);

Parameters

longValue
Int64

The supplied long integer value that will be used as the value of the new OracleNumber structure.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1