RoundOff Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
RoundOff(double, RoundOffAccuracy)
Rounds a double-precision floating-point value to the nearest integral value closest to the specified accuracy.
public static double RoundOff(this double value, RoundOffAccuracy accuracy)
Parameters
valuedoubleA double-precision floating-point number to be rounded.
accuracyRoundOffAccuracyThe accuracy to use in the rounding.