|
Used to divide two numbers and return only the remainder
result %= expression
result
Any variable.
expression
Any expression.
Using this operator is exactly the same as specifying:
result = result % expression
For information on when a run-time error is generated by the %= operator, see the Operator Behavior table.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.