Microsoft® JScript
%= Operator

See Also

Language Reference 

Description
Used to divide two numbers and return only the remainder.

Syntax
result %= expression

The %= operator syntax has these parts:

Part Description
result Any variable.
expression Any numeric expression.

Remarks

Using the %= operator is exactly the same as specifying:


result = result % expression

For information on when a run-time error is generated by the / operator, please see the Arithmetic Operators table.


© 1996 by Microsoft Corporation.

Casa de Bender