Operators
At several places in EFDC_Explorer the user has the option of entering a value to replace the current value of some input parameter (e.g., bottom elevation) or to use an "operator". The latter is a simple mathematical function that will be applied to the current value of the parameter. A field that allows operators recognizes the inputs described in Table 3. Operators must be followed by a space then the value, unless it is a simple replacement value.
Table 3. Operator descriptions.
Input | Description | Example | ||
Current Value | Input "Operator" | Result | ||
A Number | Replacement value | 300 | 310 | 310 |
+ Number | Additive Operation | 300 | + 1 | 301 |
* Number | Subtraction Operation | 300 | * 20 | 280 |
* Number | Multiplication Operation | 300 | * 1.1 | 330 |
/ Number | Division Operation | 300 | / 1.1 | 272.73 |