Rational.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 rational number to the nearest double.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public double ToDouble()

Return Value

Type: System.Double
The nearest double value.

Show: