NBElementConvert ToNullableDecimal Method (NBElement, Int32, Int32)IBM Integration Bus
Returns the value of the NBElement passed in after first converting it to a Nullable<Decimal> if required with the specified precision and scale.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public static Nullable<decimal> ToNullableDecimal(
	NBElement value,
	int precision,
	int scale
)

Return Value

Type: OnlineNullable OnlineDecimal 
The current element's value converted to a Nullable<Decimal> data type with specified precision and scale.
Exceptions

ExceptionCondition
OnlineSystem FormatExceptionThrown if the value can not be converted to a Nullable<Decimal> with specified precision and scale.
See Also