Share via


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

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace