另外一个方法就是使用求模运算符了,百分号%就是了,求模运算就是求余数,会把两个数相除然后返回余数。
An alternative is to use the modulus operator, %, which divides two Numbers and returns the remainder.
另外一个方法就是使用求模运算符了,百分号%就是了,求模运算就是求余数,会把两个数相除然后返回余数。
An alternative is to use the modulus operator, %, which divides two Numbers and returns the remainder.
应用推荐