Helper.FormattedCurrency Method
Converts a value to a currency value.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function FormattedCurrency ( _
context As WorkflowContext, _
val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String
returnValue = Helper.FormattedCurrency(context, _
val)
public static string FormattedCurrency(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context object that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectA value to be converted.
Return Value
Type: System.String
The currency value.
Remarks
This method converts the value to a currency value.
This method throws a CoercionException exception if val is null or not a Double object.