Operator Name Example
+ Plus x + y
- Minus/Negation x - y
* Multiply x*y
/ Divide x/y
% Modulo x%y
package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var nYear:Number = 2004;
trace(nYear % 4); // Displays: 0
}
}
}