DB2Decimal Members
Represents the DECIMAL Db2® data type. Encapsulates the decimal .NET data type if the maximum precision is 29 digits and the string data type if the maximum precision is 31 digits. The following tables list the members that are exposed by the DB2Decimal structure.
Public Fields
Field | Description |
---|---|
![]() |
The DB2Decimal value for mathematical constant e, which is 2.7182818284590452354. |
![]() |
The maximum precision for DB2Decimal: 31 . |
![]() |
The maximum scale for DB2Decimal: 31 . |
![]() |
The maximum value for DB2Decimal: 9.999999999999999999999999999999E+30 . |
![]() |
The DB2Decimal value of -1 . |
![]() |
The minimum value for DB2Decimal: -9.999999999999999999999999999999E+30 . |
![]() |
The null value for DB2Decimal. |
![]() |
The DB2Decimal value of 1 . |
![]() |
The DB2Decimal value for mathematical constant Pi,
which is 3.14159265358979323846 . |
![]() |
The DB2Decimal value of 0 . |
Public Constructors
Constructor | Description |
---|---|
![]() |
Initializes a new DB2Decimal structure with the specified decimal value. |
Public Properties
Property | Description |
---|---|
![]() |
Gets a value that indicates if the value that is stored in the DB2Decimal structure is null. |
![]() |
Gets a value that indicates the precision of the DB2Decimal structure's value. |
![]() |
Gets a value that indicates the scale of the DB2Decimal structure's value. |
![]() |
Gets the value that is stored in the DB2Decimal structure. |
![]() |
Gets the approximate value that is stored in the DB2Decimal structure. |
Public Methods
Method | Description |
---|---|
![]() |
Converts the supplied String value to the DB2Decimal structure. |
![]() |
Returns a string that represents the DB2Decimal structure. |
![]() |
Converts the supplied DB2Decimal structure to a decimal. |
![]() |
Converts the supplied decimal to DB2Decimal structure. |