Decision.ToDouble Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts a value to a double.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function ToDouble As Double
public double ToDouble()
public:
double ToDouble()
member ToDouble : unit -> float
public function ToDouble() : double
Return Value
Type: System.Double
A value that is a Double.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | The decision has no value or has multiple values. Alternatively, the value is not numeric. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.