Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
System
Globalization
CCMath
amod
System.Globalization.CCMath.amod C# (CSharp) Method
CCMath Class Documentation
Show file
Open project: runefs/Marvin
amod()
public
static
method
The adjusted remainder functions for integers as defined in "Calendrical Calculations".
public
static
amod
(
int
x
,
int
y
) :
int
x
int
The integer argument to be divided.
y
int
The integer divisor argument.
return
int
public static int amod(int x, int y) { int i = mod(x, y); return (i == 0) ? y : i; } }
Same methods
CCMath::
amod
(
double
x
,
double
y
) :
double
CCMath
amod
div
div_mod
mod
round
signum