Click or drag to resize

NMathFunctionsRound(Double, Int32) Method

Rounds a double-precision floating point number to the specified number of digits.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Round(
	double d,
	int i
)

Parameters

d  Double
A double-precision floating point number.
i  Int32
Digits to round.

Return Value

Double
The result of d rounded to i decimal places.
See Also