| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### - (subtract)
Examples |  |
    int c = 50 - 5;  // Sets c to 45
    int d = c - 5;   // Sets d to 40
    int e = d - 60;  // Sets e to -20
Description |  | The value of the second parameter is subtracted from the first.
Syntax |  |
    value1 - value2
Parameters |  |
value1 |  | int or float
value2 |  | int or float
Usage |  | Web & Application
Related |  | -- (decrement) -= (subtract assign) + (add)

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |