number + number number - number number * number number / number number % number
These operators perform simple mathematical operations on their arguments.
+ gives the sum of the two arguments.
- gives the difference between the first and second arguments.
* gives the product of the two arguments.
/ gives the first argument divided by the second argument.
% gives the modulus of the first argument by the second, that is, the remainder of the integer division of the first argument by the second.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.