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