BigRational.Truncate Method

Rounds a rational number towards zero.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static BigRational Truncate(
	BigRational value
)

Parameters

value  BigRational
A rational number.

Return Value

BigRational
The integer rational number with the largest magnitude that is closest to the magnitude of value.

See Also