IFractionalOperations<T>.Round Method

Rounds a value to the specified number of decimal digits.

Definition

Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
T Round(
	T a,
	int decimals
)

Parameters

a  T
A value.
decimals  Int32
The number of decimal digits to round to.

Return Value

T
a rounded to decimals decimal digits.

See Also