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..

Parse(String,DB2RoundingMode) Method
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
 

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