Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

© 2015 Microsoft