| NMathFunctionsRound(Double, Int32) Method |
Rounds a double-precision floating point number to the specified number of digits.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Round(
double d,
int i
)
Public Shared Function Round (
d As Double,
i As Integer
) As Double
public:
static double Round(
double d,
int i
)
static member Round :
d : float *
i : int -> float
Parameters
- d Double
- A double-precision floating point number.
- i Int32
- Digits to round.
Return Value
DoubleThe result of
d rounded to
i decimal places.
See Also