Click or drag to resize

RoundingRoundUp(Int32, Int32) Method

Returns the next number k with k >= i and k mod n == 0.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static int RoundUp(
	int i,
	int n
)

Parameters

i  Int32
The number to round up.
n  Int32
The rounding step.

Return Value

Int32
The smallest number k such that k >= i and k mod n == 0.
See Also