Rational Implicit Conversion (Int32 to Rational)

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 an integer to a rational number.

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

public static implicit operator Rational (
	int n


Type: System.Int32
An integer value.

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
A rational number that contains the value of the n parameter.