Returns the value of the NBElement passed in after first converting it to a Nullable<Double> if required with the specified format.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public static Nullable<double> ToNullableDouble(
NBElement value,
string format
)
public static Nullable<double> ToNullableDouble(
NBElement value,
string format
)
Public Shared Function ToNullableDouble (
value As NBElement,
format As String
) As Nullable(Of Double)
Public Shared Function ToNullableDouble (
value As NBElement,
format As String
) As Nullable(Of Double)
public:
static Nullable<double> ToNullableDouble(
NBElement^ value,
String^ format
)
public:
static Nullable<double> ToNullableDouble(
NBElement^ value,
String^ format
)
static member ToNullableDouble :
value : NBElement *
format : string -> Nullable<float>
static member ToNullableDouble :
value : NBElement *
format : string -> Nullable<float>
Return Value
Type:
Nullable
Double The current element's value converted to a
Nullable<Double> data type using the specified format.
Exception | Condition |
---|
System FormatException | Thrown if the value can not be converted to a Nullable<Double> with the given format. |
The format string uses the syntax documented in the Information Center in the topic "Formatting and parsing numbers as strings (ak05615)".