Returns the value of the NBElement passed in after first converting it to a Decimal if required using the specified precision and scale.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax
Parameters
- value
- Type: IBM.Broker.Plugin NBElement
The element whose value is to be converted.
- precision
- Type:
System Int32
The precision of the element.
- scale
- Type:
System Int32
The scale of the element.
Return Value
Type:
The current element's value converted to a Decimal data type using the specified precision and scale.
Exceptions
Exception | Condition |
---|---|
![]() | Thrown if the value can not be converted to a Decimal with the given precision and scale. |
See Also