求模运算符的作用远不止如此。
SQL不支持对浮点数字使用取模运算符。
SQL does not support the modulus operator on floating-point Numbers.
在这种情况下你最好的选择是使用绝对值做模运算符时如果你想基本整数的除法。
Your best bet in situations like this is to operate on absolute values when doing modulo operators if you want basic integer division.
应用推荐