Sharing Variables Between Menus
If you compare the MU%C menu and the MU%P menus, you’ll see that they have two menu labels in common
%CHG | %TOTL | MU%C | MU%P |
COST PRICE M%C
COST PRICE M%P
Shared variables
The calculator keeps track of the values you key in according to those labels. For example, if you key in COST and PRICE in the MU%C menu, exit to the BUS menu, and then display the MU%P menu, the calculator retains those values. In other words, the variables are shared between the two menus.
Example: Using Shared Variables. A food cooperative buys cases of canned soup with an invoice cost of $9.60 per case. If the
Keys:Display:Description:
# |
| ( |
| " | Displays MU%C menu. | ||||
9.6 |
|
|
| 7EF:8,&'(" | Stores 9.60 in COST. | ||||
| ) |
|
| ||||||
15 |
|
|
| 012345678#.&((" | Stores 15% in M%C. | ||||
+ |
|
|
| ||||||
|
|
|
| 52;7H8##&(+" | Calculates retail price. | ||||
* |
|
|
|
|
What is the markup on price? Switch menus but keep the same COST and PRICE.
e | L | " | Exits MU%C menu and |
|
|
| displays MU%P menu. |
6012345658#%&(+" Calculates markup as a percent of price.
3: Percentage Calculations in Business | 53 | |
File name : | Print data : 2003/7/11 |
|