Rational.ToDouble Method
[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)
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
The nearest double value.
.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.