BasicFunctionsPMod Method |
Computes the modulus x % y, but with a result guaranteed to be greater than or equal to zero.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static int PMod(
int x,
int y
)
Parameters
- x Int32
- Numerator.
- y Int32
- Denominator.
Return Value
Int32The remainder of the division of
x by
y, guaranteed to be in the non-negative range.
See Also