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
 

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