Returns the value of the NBElement passed in after first converting it to a Decimal if required using the specified precision and scale.


The current element's value converted to a Decimal data type using the specified precision and scale.

Exception | Condition |
---|---|
FormatException | Thrown if the value can not be converted to a Decimal with the given precision and scale. |