# OracleNumber Methods

.NET Framework (current version)

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

## Methods

NameDescription
Abs(OracleNumber)

Gets the absolute value of the OracleNumber parameter.

Acos(OracleNumber)

Calculates the inverse hyperbolic cosine of an OracleNumber.

Calculates the sum of the two OracleNumber structures.

Asin(OracleNumber)

Calculates the inverse hyperbolic sine of an OracleNumber.

Atan(OracleNumber)

Calculates the inverse hyperbolic tangent of an OracleNumber.

Atan2(OracleNumber, OracleNumber)

Calculates the inverse hyperbolic tangent of two OracleNumber structures.

Ceiling(OracleNumber)

Returns the smallest whole number greater than or equal to the specified OracleNumber structure.

CompareTo(Object)

Compares this instance of the OracleNumber structure to the supplied object and returns an indication of their relative values.

Cos(OracleNumber)

Calculates the cosine of an OracleNumber.

Cosh(OracleNumber)

Calculates the hyperbolic cosine of an OracleNumber.

Divide(OracleNumber, OracleNumber)

Calculates the results of dividing the first OracleNumber structure by the second.

Equals(Object)

Compares the supplied object parameter to the Value property of the OracleNumber object.(Overrides ValueType.Equals(Object).)

Equals(OracleNumber, OracleNumber)

Performs a logical comparison of the two OracleNumber structures to determine if they are equal.

Exp(OracleNumber)

Calculates e raised to the power of an OracleNumber. The constant e equals 2.71828182845904, the base of the natural logarithm.

Floor(OracleNumber)

Rounds a specified OracleNumber number to the next lower whole number.

GetHashCode()

Returns the hash code for this instance of the OracleNumber structure.(Overrides ValueType.GetHashCode().)

GetType()

Gets the Type of the current instance.(Inherited from Object.)

GreaterThan(OracleNumber, OracleNumber)

Performs a logical comparison of two OracleNumber structures to determine whether the first is greater than the second.

GreaterThanOrEqual(OracleNumber, OracleNumber)

Performs a logical comparison of the two OracleNumber parameters to determine whether the first is greater than or equal to the second.

LessThan(OracleNumber, OracleNumber)

Performs a logical comparison of two OracleNumber structures to determine whether the first is less than the second.

LessThanOrEqual(OracleNumber, OracleNumber)

Performs a logical comparison of the two OracleNumber parameters to determine whether the first is less than or equal to the second.

Log(OracleNumber)

Calculates natural logarithm of an OracleNumber. Natural logarithms are based on the constant e (2.71828182845904).

Log(OracleNumber, Int32)

Calculates an OracleNumber to the base you specify.

Log(OracleNumber, OracleNumber)

Calculates an OracleNumber to the base you specify.

Log10(OracleNumber)

Calculates the base 10 logarithm of a number.

Max(OracleNumber, OracleNumber)

Returns the larger of the two OracleNumber parameter values.

Min(OracleNumber, OracleNumber)

Returns the smaller of the two OracleNumber parameter values.

Modulo(OracleNumber, OracleNumber)

Calculates the modulus from dividing the first OracleNumber structure by the second.

Multiply(OracleNumber, OracleNumber)

Calculates the product of the two OracleNumber parameters.

Negate(OracleNumber)

Negates the value of the OracleNumber parameter.

NotEquals(OracleNumber, OracleNumber)

Performs a logical comparison of the two OracleNumber parameters to determine whether they are not equal.

Parse(String)

Converts the String representation of a number to its OracleNumber equivalent.

Pow(OracleNumber, Int32)

Calculates the result of raising a specified OracleNumber structure to the power specified by an Int32 structure.

Pow(OracleNumber, OracleNumber)

Calculates the result of raising a specified OracleNumber structure to the power specified by a second OracleNumber structure.

Round(OracleNumber, Int32)

Gets the number nearest the specified OracleNumber structure's value with the specified precision.

Shift(OracleNumber, Int32)

Shifts the specified number of digits to the left or right.

Sign(OracleNumber)

Gets a value indicating the sign of an OracleNumber structure's Value property.

Sin(OracleNumber)

Calculates the sine of an OracleNumber.

Sinh(OracleNumber)

Calculates the hyperbolic sine of an OracleNumber.

Sqrt(OracleNumber)

Calculates the square root of the OracleNumber parameter.

Subtract(OracleNumber, OracleNumber)

Calculates the result of subtracting the second OracleNumber structure from the first.

Tan(OracleNumber)

Calculates the tangent of an OracleNumber.

Tanh(OracleNumber)

Calculates the hyperbolic tangent of an OracleNumber.

ToString()

Converts this OracleNumber structure to String.(Overrides ValueType.ToString().)

Truncate(OracleNumber, Int32)

Truncates the specified OracleNumber structure's value to the desired position.