Rational Explicit Conversion (Rational to UInt32)

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 an unsigned integer.

This API is not CLS-compliant. The CLS-compliant alternative is .

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

public static explicit operator uint (
	Rational rat
)

Parameters

rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational value.

Return Value

Type: System.UInt32
An unsigned integer that contains the value of the rat parameter.

Show: