Returns the value of the NBElement passed in after first converting it to a Double if required using the specified format.

C# | Visual Basic | Visual C++ | F# |

The current element's value converted to a Double data type using the specified format.

The format string uses the syntax documented in the Infocenter in the topic "Formatting and parsing numbers as strings (ak05615)".

Exception | Condition |
---|---|
FormatException | Thrown if the value can not be converted to a Double with the given format. |