Difference between revisions of "Sub"
From WikiManual
| Line 1: | Line 1: | ||
| + | ===[[Operators]]:=== | ||
| + | {{Basic Commands}} | ||
| + | |||
To subtract in DB you must use inverse polish notation. For example: | To subtract in DB you must use inverse polish notation. For example: | ||
| Line 5: | Line 8: | ||
The result left on top of the stack is 3. | The result left on top of the stack is 3. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 21:45, 23 December 2005
Operators:
Basic Commands: |
To subtract in DB you must use inverse polish notation. For example:
Ordinarily you would write: 5-2=3 Now write: 5 2 sub
The result left on top of the stack is 3.