dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2DecimalFloat Structure / Parse Method / Parse(String,DB2RoundingMode) Method
The System.String to be parsed.
One of the DB2RoundingMode values that determines how to adjust the DB2DecimalFloat value when digits need to be discarded..

In This Topic
    Parse(String,DB2RoundingMode) Method
    In This Topic
    Converts a System.String representation of a number to its DB2DecimalFloat equivalent using the specified rounding mode.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Parse( _
       ByVal value As String, _
       ByVal roundMode As DB2RoundingMode _
    ) As DB2DecimalFloat
    public static DB2DecimalFloat Parse( 
       string value,
       DB2RoundingMode roundMode
    )

    Parameters

    value
    The System.String to be parsed.
    roundMode
    One of the DB2RoundingMode values that determines how to adjust the DB2DecimalFloat value when digits need to be discarded..

    Return Value

    A new DB2DecimalFloat 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