Rational Explicit Conversion (Rational to BigInteger)
[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 a big integer.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
rat As Rational _
) As BigInteger
public static explicit operator BigInteger (
Rational rat
)
static explicit operator BigInteger (
Rational rat
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational value.
Return Value
Type: Microsoft.SolverFoundation.Common.BigInteger
A big integer that contains the value of the rat parameter.
.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.