Returns the value of the NBElement passed in after first converting it to a Decimal if required.


- value (NBElement)
- The element whose value is to be converted.

The current element's value converted to a Decimal data type.

Exception | Condition |
---|---|
FormatException | Thrown if the value can not be converted to a Decimal. |