Index
 
  Reference for Wiring 1.0 (ALPHA) 0020+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name  

- (minus)

   
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)
+ (addition)