Helper.LookupColumnDataOnlyAsDouble Method
Gets a double-precision 64-bit floating-point value from the specified string.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function LookupColumnDataOnlyAsDouble ( _
context As WorkflowContext, _
val As Object _
) As Double
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As Double
returnValue = Helper.LookupColumnDataOnlyAsDouble(context, _
val)
public static double LookupColumnDataOnlyAsDouble(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectThe string containing the data.
Return Value
Type: System.Double
The double-precision 64-bit floating-point data portion of the string.
Remarks
This method throws a CoercionException if val cannot be cast to a String object, or is not in the correct format.