Decision.ToDouble Method

Solver Foundation 3.0

[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)

public double ToDouble()

Return Value

Type: System.Double
A value that is a Double.

ExceptionCondition
InvalidCastException

The decision has no value or has multiple values. Alternatively, the value is not numeric.

Show: