java——%

int a = 1%2; //结果为1
int b = -1%2; //结果为-1
double c = 5.2%2; //结果为1.2000000000000002
原文地址:https://www.cnblogs.com/YESheng/p/3673308.html