Name | Description | |
---|---|---|
DB2DecimalFloat Constructor | Overloaded. Initializes a new instance of the DB2DecimalFloat structure. |
The following tables list the members exposed by DB2DecimalFloat.
Name | Description | |
---|---|---|
DB2DecimalFloat Constructor | Overloaded. Initializes a new instance of the DB2DecimalFloat structure. |
Name | Description | |
---|---|---|
MaxPrecision | Represents the maximum precision, which is 34. | |
MaxValue | Represents the maximum value of a DB2DecimalFloat structure. | |
MinValue | Represents the minimum value of a DB2DecimalFloat structure. | |
NaN | Not a number value. | |
NegativeInfinity | Negative infinity value. | |
Null | Represents a null value that can be assigned to the Value property of a DB2DecimalFloat structure. | |
PositiveInfinity | Positive infinity value. | |
sNaN | Not a number value. Signals an error when used in a numeric operation. | |
Zero | Represents the zero value. |
Name | Description | |
---|---|---|
IsNull | Indicates whether the Value property of the DB2DecimalFloat is Null. | |
Precision | Gets the precision of the current DB2DecimalFloat object (the number of significant figures). | |
Scale | Gets the scale of the DB2DecimalFloat value. | |
Value | Gets the value of the DB2DecimalFloat structure. System.OverflowException is thrown in case if the precision of the DB2DecimalFloat value is greater than what a .NET decimal type can contain. | |
ValueApproximate | Gets the value of the DB2DecimalFloat structure. If the precision of the DB2DecimalFloat value is greater than what a .NET decimal type can contain, the less significant digits are lost and no exception is thrown. |
Name | Description | |
---|---|---|
Abs | Gets the absolute value of the DB2DecimalFloat. | |
Add | Adds two DB2DecimalFloat values. | |
Ceiling | Returns the smallest integer number greater than or equal to the specified DB2DecimalFloat number. | |
CompareTo | Overloaded. Compares the current DB2DecimalFloat object to the specified object and returns an integer that represents their relative values. | |
Divide | Divides one DB2DecimalFloat value by another. | |
Equals | Overloaded. Compares two DB2DecimalFloat structures to determine if they are equal. | |
Floor | Returns the largest integer number less than or equal to the specified DB2DecimalFloat number. | |
GetHashCode | Gets a hash code for the DB2DecimalFloat instance. | |
GreaterThan | Determines whether the first of two DB2DecimalFloat values is greater than the second. | |
GreaterThanOrEqual | Determines whether the first of two DB2DecimalFloat values is greater than or equal to the second. | |
LessThan | Determines whether the first of two DB2DecimalFloat values is less than the second. | |
LessThanOrEqual | Determines whether the first of two DB2DecimalFloat values is less than or equal to the second. | |
Multiply | Multiplies two DB2DecimalFloat structures. | |
NotEquals | Determines whether two DB2DecimalFloat values are not equal. | |
Parse | Overloaded. Converts a System.String representation of a number to its DB2DecimalFloat equivalent. | |
Subtract | Subtracts one DB2DecimalFloat structure from another. | |
ToString | Converts the current DB2DecimalFloat structure to a System.String. |
Addition | Calculates the sum of the two DB2DecimalFloat structures. |
Division | Divides one DB2DecimalFloat value by another. |
Equality | Determines whether two DB2DecimalFloat values are equal. |
Explicit Type Conversion | Overloaded. Converts the DB2DecimalFloat parameter to System.Decimal. |
Greater Than | Compares two DB2DecimalFloat structures to determine if the first is greater than the second. |
Greater Than or Equal | Compares two DB2DecimalFloat structures to determine if the first is greater than or equal to the second. |
Implicit Type Conversion | Overloaded. Converts the System.Decimal parameter to the DB2DecimalFloat. |
Inequality | Determines whether two DB2DecimalFloat values are not equal. |
Less Than | Compares two DB2DecimalFloat structures to determine if the first is less than the second. |
Less Than or Equal | Compares two DB2DecimalFloat structures to determine if the first is less than or equal to the second. |
Multiplication | Multiplies two DB2DecimalFloat structures. |
Subtraction | Subtracts one DB2DecimalFloat structure from another. |