# -¶

-

Subtraction

Result = expression1 - expression2

expression2
spatial, non spatial scalar
expression1
spatial, non spatial scalar
Result
spatial; non spatial if expression1 and expression2 are non spatial scalar

## Operation¶

For each cell, the value of expression2 is subtracted from the value of expression1. This difference is assigned to the corresponding cell on Result.

## Notes¶

A cell with missing value on expression1 or expression2 or on both expressions is assigned a missing value on Result.

Result-=expression1 is an alternative notation for Result = Result - expression1

## Group¶

This operation belongs to the group of Arithmetic operators

## Examples¶

1. • pcrcalc
binding
Result = Result.map;
Expr1 = Expr1.map;
Expr2 = Expr2.map;
initial
report Result = Expr1 - Expr2;

• python