IFractional Operations<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#
a rounded to decimals decimal digits.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
T Round(
T a,
int decimals
)
Parameters
Return Value
Ta rounded to decimals decimal digits.