【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.16.1.10 mod2
Contents
Description
Divides x by y and returns the remainder.
The arithmetic is same with Excel, but not same with c/c++.
Syntax
int mod2( int x, int y )
Parameters
- x
- [input] dividend
- y
- [input] divisor
Return
remainder of division of x by y
Examples
EX1
void mod2_ex1() { out_int("", mod2(-72, 256)); // 184 }
Remark
See Also
Header to Include
origin.h