dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2DecimalFloat Structure
Fields Properties Methods

In This Topic
    DB2DecimalFloat Structure Members
    In This Topic

    The following tables list the members exposed by DB2DecimalFloat.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the DB2DecimalFloat structure.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents the maximum precision, which is 34.  
    Public Fieldstatic (Shared in Visual Basic)Represents the maximum value of a DB2DecimalFloat structure.  
    Public Fieldstatic (Shared in Visual Basic)Represents the minimum value of a DB2DecimalFloat structure.  
    Public Fieldstatic (Shared in Visual Basic)Not a number value.  
    Public Fieldstatic (Shared in Visual Basic)Negative infinity value.  
    Public Fieldstatic (Shared in Visual Basic)Represents a null value that can be assigned to the Value property of a DB2DecimalFloat structure.  
    Public Fieldstatic (Shared in Visual Basic)Positive infinity value.  
    Public Fieldstatic (Shared in Visual Basic)Not a number value. Signals an error when used in a numeric operation.  
    Public Fieldstatic (Shared in Visual Basic)Represents the zero value.  
    Top
    Public Properties
     NameDescription
    Public PropertyIndicates whether the Value property of the DB2DecimalFloat is Null.  
    Public PropertyGets the precision of the current DB2DecimalFloat object (the number of significant figures).  
    Public PropertyGets the scale of the DB2DecimalFloat value.  
    Public PropertyGets 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.  
    Public PropertyGets 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.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Gets the absolute value of the DB2DecimalFloat.  
    Public Methodstatic (Shared in Visual Basic)Adds two DB2DecimalFloat values.  
    Public Methodstatic (Shared in Visual Basic)Returns the smallest integer number greater than or equal to the specified DB2DecimalFloat number.  
    Public MethodOverloaded. Compares the current DB2DecimalFloat object to the specified object and returns an integer that represents their relative values.  
    Public Methodstatic (Shared in Visual Basic)Divides one DB2DecimalFloat value by another.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Compares two DB2DecimalFloat structures to determine if they are equal.  
    Public Methodstatic (Shared in Visual Basic)Returns the largest integer number less than or equal to the specified DB2DecimalFloat number.  
    Public MethodGets a hash code for the DB2DecimalFloat instance.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2DecimalFloat values is greater than the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2DecimalFloat values is greater than or equal to the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2DecimalFloat values is less than the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2DecimalFloat values is less than or equal to the second.  
    Public Methodstatic (Shared in Visual Basic)Multiplies two DB2DecimalFloat structures.  
    Public Methodstatic (Shared in Visual Basic)Determines whether two DB2DecimalFloat values are not equal.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a System.String representation of a number to its DB2DecimalFloat equivalent.  
    Public Methodstatic (Shared in Visual Basic)Subtracts one DB2DecimalFloat structure from another.  
    Public MethodConverts the current DB2DecimalFloat structure to a System.String.  
    Top
    Public Operators
    Calculates the sum of the two DB2DecimalFloat structures.
    Divides one DB2DecimalFloat value by another.
    Determines whether two DB2DecimalFloat values are equal.
    Overloaded. Converts the DB2DecimalFloat parameter to System.Decimal.
    Compares two DB2DecimalFloat structures to determine if the first is greater than the second.
    Compares two DB2DecimalFloat structures to determine if the first is greater than or equal to the second.
    Overloaded. Converts the System.Decimal parameter to the DB2DecimalFloat.
    Determines whether two DB2DecimalFloat values are not equal.
    Compares two DB2DecimalFloat structures to determine if the first is less than the second.
    Compares two DB2DecimalFloat structures to determine if the first is less than or equal to the second.
    Multiplies two DB2DecimalFloat structures.
    Subtracts one DB2DecimalFloat structure from another.
    Top
    See Also