dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2DecimalFloat Structure / Explicit Type Conversion Operator / Explicit Type Conversion(Decimal,DB2DecimalFloat) Operator
The source DB2DecimalFloat object to convert.

In This Topic
    Explicit Type Conversion(Decimal,DB2DecimalFloat) Operator
    In This Topic
    Converts the DB2DecimalFloat parameter to System.Decimal.
    Syntax
    'Declaration
     
    Overloads Public Operator Narrowing CType( _
       ByVal source As DB2DecimalFloat _
    ) As Decimal
    public decimal operator explicit( 
       DB2DecimalFloat source
    )

    Parameters

    source
    The source DB2DecimalFloat object to convert.

    Return Value

    A new System.Decimal structure.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also