The modulus operator is more useful than it seems.
求模运算符的作用远不止如此。
SQL does not support the modulus operator on floating-point Numbers.
SQL不支持对浮点数字使用取模运算符。
An alternative is to use the modulus operator, %, which divides two Numbers and returns the remainder.
另外一个方法就是使用求模运算符了,百分号%就是了,求模运算就是求余数,会把两个数相除然后返回余数。
应用推荐