Click or drag to resize

RoundingRoundDown(Int64, Int64) 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 long RoundDown(
	long i,
	long n
)

Parameters

i  Int64
The number to round down.
n  Int64
The rounding step.

Return Value

Int64
The greatest number k such that k <= i and k mod n == 0.
See Also