WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
ToNullableDecimal Method (value, precision, scale)
NamespacesIBM.Broker.PluginNBElementConvertToNullableDecimal(NBElement, Int32, Int32)
SUMMARY
Returns the value of the NBElement passed in after first converting it to a Nullable<Decimal> if required with the specified precision and scale.
Declaration Syntax
C#Visual BasicVisual C++F#
public static Nullable<decimal> ToNullableDecimal(
	NBElement value,
	int precision,
	int scale
)
Public Shared Function ToNullableDecimal ( _
	value As NBElement, _
	precision As Integer, _
	scale As Integer _
) As Nullable(Of Decimal)
public:
static Nullable<Decimal> ToNullableDecimal(
	NBElement^ value, 
	int precision, 
	int scale
)
static member ToNullableDecimal : 
        value:NBElement * 
        precision:int * 
        scale:int -> Nullable<decimal> 
Parameters
value (NBElement)
The element whose value is to be converted.
precision (Int32)
The precision of the element.
scale (Int32)
The scale of the element.
Return Value
The current element's value converted to a Nullable<Decimal> data type with specified precision and scale.
Exceptions
ExceptionCondition
FormatExceptionThrown if the value can not be converted to a Nullable<Decimal> with specified precision and scale.

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