BigFloat.Truncate Method

Truncates a BigFloat value to the nearest integer.

Definition

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

Parameters

value  BigFloat
A BigFloat value.

Return Value

BigFloat
The BigFloat value that equals the integer closest to value.

Implements

IFloatingPoint<TSelf>.Truncate(TSelf)

Exceptions

ArgumentNullException

value is null.

See Also