dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleNumber Structure / Parse Method / Parse(String,String) Method
The System.String to be parsed.
The format to use. It is the same format as the Oracle TO_NUMBER function uses. You can read more about the format in Oracle documentation.

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

    Parameters

    value
    The System.String to be parsed.
    format
    The format to use. It is the same format as the Oracle TO_NUMBER function uses. You can read more about the format in Oracle documentation.

    Return Value

    A new OracleNumber structure.
    Remarks
    Note that the "format" parameter is applied only if you have Oracle Client with the same bitness as your application installed.
    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