NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

12.4.3 Modulo operator

The modulo operator computes the remainder of the division between two operands. The modulo operator is defined for Byte, Short, Integer and Long. The result of x Mod y is the value produced by x – (x / y) * y. If y is zero, a System.DivideByZeroException exception is thrown. The modulo operator never causes an overflow.

ModuloOperatorExpression ::= Expression Mod Expression