WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
ToDecimal Method (value, format)
NamespacesIBM.Broker.PluginNBElementConvertToDecimal(NBElement, String)
SUMMARY
Returns the value of the NBElement passed in after first converting it to a Decimal if required.
Declaration Syntax
C#Visual BasicVisual C++F#
public static decimal ToDecimal(
	NBElement value,
	string format
)
Public Shared Function ToDecimal ( _
	value As NBElement, _
	format As String _
) As Decimal
public:
static Decimal ToDecimal(
	NBElement^ value, 
	String^ format
)
static member ToDecimal : 
        value:NBElement * 
        format:string -> decimal 
Parameters
value (NBElement)
The element whose value is to be converted.
format (String)
The format specifier for the convertion.
Return Value
The current element's value converted to a Decimal data type using the specified format.
Remarks
The format string uses the syntax documented in the Infocenter in the topic "Formatting and parsing numbers as strings (ak05615)".
Exceptions
ExceptionCondition
FormatExceptionThrown if the value can not be converted to a Decimal with the given format.

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0