Big Rational.Truncate Method
Rounds a rational number towards zero.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The integer rational number with the largest magnitude that is closest to the magnitude of value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static BigRational Truncate(
BigRational value
)
Parameters
- value BigRational
- A rational number.
Return Value
BigRationalThe integer rational number with the largest magnitude that is closest to the magnitude of value.