Computing machine and calculation program

JP2025023271AActive Publication Date: 2025-02-14CASIO COMPUTER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024211770
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-02-14
Estimated Expiration
2041-01-28

AI Technical Summary

Benefits of technology

【0008】 本発明によれば、ユーザの本来の意図とは異なる計算が実施されてしまっても、簡易な操作で入力状態を戻すことができるようにする計算機及び計算プログラムを提供することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025023271000001_ABST
    Figure 2025023271000001_ABST
Patent Text Reader

Abstract

To provide a computing machine and a calculation program, allowing an input state to be returned with a simple operation even if calculation different from originally intended one of a user is conducted.SOLUTION: A computing machine includes a first calculation unit that, when receiving a first instruction input after receiving an input of a numerical value, conducts a first calculation using a first argument for the numerical value, a second calculation unit that, when receiving a second instruction input after receiving an input of a numerical value, conducts a second calculation using the first argument for the numerical value, a first control unit that, when receiving the second instruction input without the input of the numerical value after the first calculation is conducted, returns a calculation result of the first calculation to an input state just before receiving the first instruction input, and a second control unit that, when receiving the first instruction input without the input of the numerical value after the second calculation is conducted, returns a calculation result of the second calculation to an input state just before receiving the second instruction input.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a computer and a computing program. [Background technology]

[0002] Some calculators, such as desktop calculators, have a function for performing specific calculations using specific preset values. Such a function includes, for example, a function for calculating consumption tax. When a calculation is performed for calculating consumption tax, a preset consumption tax rate is called up, and a tax-inclusive price or tax-exclusive price for an input amount is calculated. Calculators that are provided with a tax-inclusive key for calculating a tax-inclusive price and a tax-exclusive key for calculating a tax-exclusive price are also known. Furthermore, in recent years, calculators that are provided with tax-inclusive keys and tax-exclusive keys for a number of different tax rates have also become known. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2000-132517 A Summary of the Invention [Problem to be solved by the invention]

[0004] When keys for calculating tax for different tax rates are provided, it is assumed that the user may mistakenly press a key for calculating a tax rate different from the intended rate while inputting data into the calculator, resulting in a tax calculation different from the intended rate. In such a case, it is useful to be able to perform the intended tax calculation with a simple operation.

[0005] An object of the present invention is to provide a calculator and a calculation program that enable a user to return to the input state with a simple operation even if a calculation different from the user's original intention is performed. [Means for solving the problem]

[0006] A first aspect of the present invention provides a calculator comprising a first calculation unit that performs a first calculation using a first argument on the numerical values ​​when a first instruction input is received after a numerical input; a second calculation unit that performs a second calculation using the first argument on the numerical values ​​when a second instruction input is received after a numerical input; a first control unit that returns a result of the first calculation to the input state immediately before the first instruction input was received when a second instruction input is received without a numerical value being input after the first calculation has been performed; and a second control unit that returns a result of the second calculation to the input state immediately before the second instruction input was received when a first instruction input is received without a numerical value being input after the second calculation has been performed.

[0007] A calculation program of a second aspect of the present invention causes a processor to perform the following: when a first instruction input is received after a numerical input, a first calculation using a first argument on the numerical values; when a second instruction input is received after a numerical input, a second calculation using the first argument on the numerical values; when a second instruction input is received after a numerical input, after the first calculation is performed, a calculation result of the first calculation is restored to the input state immediately before the first instruction input was received; and when a first instruction input is received after the second calculation is performed, a calculation result of the second calculation is restored to the input state immediately before the second instruction input was received. Effect of the Invention

[0008] According to the present invention, it is possible to provide a calculator and a calculation program that enable a user to return to the input state with a simple operation even if a calculation different from the user's original intention is performed. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a computer according to an embodiment. [Diagram 2] FIG. 2 is a front view of the appearance of the calculator. [Figure 3A] FIG. 3A is a flowchart showing a tax calculation process of a calculator according to an embodiment. [Figure 3B] FIG. 3B is a flowchart showing a tax calculation process of the computer according to the embodiment. [Figure 4A] FIG. 4A is a diagram showing transitions in state of the display, the input value storage area, the subtotal 1 storage area, and the subtotal 2 storage area when key input is performed according to the first operation. [Figure 4B] FIG. 4B is a diagram showing the transition of the states of the display, the input value storage area, the subtotal 1 storage area, and the subtotal 2 storage area when key input is performed according to the second operation. [Diagram 5] FIG. 5 is a diagram showing a transition of the display on the display in the first operation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] 1 is a diagram showing an example of the configuration of a calculator 1 according to an embodiment. Calculator 1 has a processor 11, a memory 12, an input device 13, a display 14, and a power supply module 15. Calculator 1 may be a desk calculator, a so-called pocket calculator. Calculator 1 may be various electronic devices having a function of calculating numerical values ​​other than a pocket calculator. Calculator 1 may also have a configuration other than that shown in FIG. 1.

[0011] The processor 11 is a processor that controls various operations of the calculator 1. The processor 11 may be a CPU, an ASIC, an FPGA, or the like. The processor 11 may be composed of two or more processors. The processor 11 operates as a first calculation unit that performs a tax-inclusive calculation using a first tax rate or a second tax rate. The processor 11 also operates as a second calculation unit that performs a tax-exclusive calculation using a first tax rate or a second tax rate. The processor 11 also operates as a first control unit that returns the calculation result of the first calculation unit to the immediately preceding input state. The processor 11 also operates as a second control unit that returns the calculation result of the second calculation unit to the immediately preceding input state. The processor 11 also operates as a storage control unit that controls storage in the memory 12. The processor 11 also operates as a display control unit that controls the display of the display 14. Here, the first tax rate is, for example, 10%. The second tax rate is, for example, 8%. The first tax rate and the second tax rate may be changed by the user.

[0012] The memory 12 includes a RAM and a ROM. The RAM is a volatile memory and can operate as a storage unit. The RAM is used as a working memory for temporarily storing various data in the processor 11. In the embodiment, the RAM has an input value storage area for storing a numerical value input via the numeric key. The RAM also has a subtotal 1 storage area for storing the result of the tax calculation using the first tax rate. The subtotal 1 storage area has a first total price including tax storage area for storing the total price including tax to which the first tax rate is applied, a first total price excluding tax storage area for storing the total price excluding tax to which the first tax rate is applied, and a first total tax amount storage area for storing the total tax amount to which the first tax rate is applied. The RAM also has a subtotal 2 storage area for storing the result of the tax calculation using the second tax rate. The subtotal 2 storage area has a second total price including tax storage area for storing the total price including tax to which the second tax rate is applied, a second total price excluding tax storage area for storing the total price excluding tax to which the second tax rate is applied, and a second total tax amount storage area for storing the total tax amount to which the second tax rate is applied. The ROM is a non-volatile memory. The ROM stores various programs such as calculation programs for executing various calculation functions. The ROM also stores various specific numerical values, etc. used in numerical calculations, etc., as arguments. The specific numerical values ​​include, for example, the value of the tax rate used in tax calculation.

[0013] The input device 13 is an interface for various operations that allows a user to operate the calculator 1. When an operation using the input device 13 is accepted, an input signal corresponding to the operation is transmitted to the processor 11.

[0014] The display 14 is a display unit such as a liquid crystal display, etc. The display 14 displays various information related to the calculator function.

[0015] The power supply module 15 supplies power to each circuit of the calculator 1. The power supply module 15 is, for example, a solar cell module. The solar cell module generates power from light irradiated through a light receiving window.

[0016] Fig. 2 is an external front view of calculator 1. As shown in Fig. 2, an input device 13 and a display 14 are provided on the front of the housing of calculator 1.

[0017] The input device 13 has numeric keys, arithmetic keys, and function keys. The numeric keys are keys for inputting numeric values, and include, for example, keys corresponding to the numeric values ​​from 0 to 9. The arithmetic keys are keys for performing the four arithmetic operations, and include, for example, keys corresponding to the operators + (addition), - (subtraction), × (multiplication), and ÷ (division), and an = (execute operation) key. The function keys are keys for performing various functions of the calculator 1, and include, for example, an all clear key (AC key), a clear key (C key), and memory keys (MRC key, M+ key, and M- key).

[0018] Furthermore, in the embodiment, the input device 13 has various tax calculation keys. The tax calculation keys include a tax-inclusive 1 key 131, a tax-exclusive 1 key 132, a tax-inclusive 2 key 133, a tax-exclusive 2 key 134, and a tax calculation total key 135.

[0019] The tax-inclusive 1 key 131 is a tax calculation key for performing tax-inclusive calculation using a first tax rate preset as an argument for an inputted numerical value. The tax-exclusive 1 key 132 is a tax calculation key for performing tax-exclusive calculation using a first tax rate for an inputted numerical value. The calculation result calculated by pressing the tax-inclusive 1 key 131 or the tax-exclusive 1 key 132 is stored in the subtotal 1 storage area of ​​the RAM of the memory 12.

[0020] The tax-inclusive 2 key 133 is a tax calculation key for performing tax-inclusive calculation using a second tax rate preset as an argument for an inputted numerical value. The tax-exclusive 2 key 134 is a tax calculation key for performing tax-exclusive calculation using a second tax rate for an inputted numerical value. The calculation result calculated by pressing the tax-inclusive 2 key 133 or the tax-exclusive 2 key 134 is stored in the subtotal 2 storage area of ​​the RAM of the memory 12. Thus, in the embodiment, the tax calculation using the first tax rate and the tax calculation using the second tax rate are performed separately.

[0021] Tax calculation total key 135 is a key for displaying the total amount of tax calculation results using the first tax rate, the total amount of tax calculation results using the second tax rate, and the total amount of tax calculation results using the first tax rate and the second tax rate.

[0022] The input device 13 may have a fraction selector 136 and a decimal point selector 137. The fraction selector 136 is a selector for specifying the processing to be performed when a fraction occurs in the tax calculation result. For example, the fraction selector 136 can select the processing to be performed as the fraction processing from among processing such as rounding down and rounding off. The decimal point selector 137 is a selector for specifying how many decimal places to use in the calculation when a decimal number occurs in the tax calculation.

[0023] 3A and 3B are flowcharts showing the tax calculation process of the calculator 1 according to the embodiment. The process of FIG. 3A and FIG. 3B is performed by the processor 11 executing a calculation program stored in the ROM of the memory 12. The normal operation of the calculator 1 other than the tax calculation process is not particularly limited. For example, the processor 11 displays the calculation result on the display 14 according to the user's key input, and performs various functions such as a memory function.

[0024] In step S1, processor 11 determines whether or not a numerical value has been input. If any numerical key is pressed, it is determined that a numerical value has been input. If it is determined in step S1 that a numerical value has been input, the process proceeds to step S2. If it is determined in step S1 that a numerical value has not been input, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0025] In step S2, the processor 11 updates the contents of the input value storage area in the RAM of the memory 12 with the numerical input value.

[0026] In step S3, the processor 11 displays the input numerical value on the display 14.

[0027] In step S4, the processor 11 determines whether or not the tax-inclusive 1 key 131 has been pressed. When it is determined in step S4 that the tax-inclusive 1 key 131 has been pressed, the process proceeds to step S5. When it is determined in step S4 that the tax-inclusive 1 key 131 has not been pressed, the process proceeds to step S13.

[0028] In step S5, processor 11 performs tax-inclusive price display processing. Tax-inclusive price display processing is processing for displaying a tax-inclusive price using a first tax rate. As tax-inclusive price display processing, processor 11 performs tax-inclusive price calculation using a first tax rate on the input numerical value. Then, processor 11 displays the result of the tax-inclusive price calculation on display 14.

[0029] In step S6, processor 11 updates the contents of the subtotal 1 storage area of ​​the RAM of memory 12 based on the result of the tax-inclusive calculation using the first tax rate. Specifically, processor 11 adds the result of the tax-inclusive calculation using the first tax rate to the tax-inclusive price stored in the first tax-inclusive price storage area. Processor 11 also adds the tax-excluded price corresponding to the result of this tax-inclusive calculation, i.e., the most recently inputted numerical value, to the tax-excluded price stored in the first tax-excluded price storage area. Processor 11 also adds the tax amount calculated from the result of this tax-inclusive calculation to the tax amount stored in the first tax total storage area.

[0030] In step S7, the processor 11 determines whether or not the tax-inclusive 1 key 131 has been pressed. If it is determined in step S7 that the tax-inclusive 1 key 131 has been pressed, the process proceeds to step S8. If it is determined in step S7 that the tax-inclusive 1 key 131 has not been pressed, the process proceeds to step S9.

[0031] In step S8, the processor 11 performs a process of displaying tax value 1 on the display 14. After the process of displaying tax value 1, the processes in Figs. 3A and 3B end. In this case, the operation of the calculator 1 transitions to normal operation. The process of displaying tax value 1 is a process for displaying the tax amount calculated in step S6. That is, when the tax-inclusive 1 key 131 is pressed continuously after the tax-inclusive calculation using the first tax rate, the display on the display 14 switches from displaying the price including tax to displaying the tax amount.

[0032] In step S9, processor 11 determines whether or not tax-excluded 1 key 132 has been pressed. If it is determined in step S9 that tax-excluded 1 key 132 has been pressed, the process proceeds to step S10. If it is determined in step S9 that tax-excluded 1 key 132 has not been pressed, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0033] In step S10, the processor 11 refers to the contents of the input value storage area and displays on the display 14 the numerical value that was input immediately before.

[0034] In step S11, the processor 11 clears the contents of the subtotal 1 storage area of ​​the RAM of the memory 12 based on the numerical value input immediately before. Specifically, the processor 11 restores the values ​​stored in the first total price including tax storage area, the first total price excluding tax storage area, and the first total tax amount storage area to the values ​​before the tax-inclusive calculation based on the numerical value input immediately before. After that, the processing of Fig. 3A and Fig. 3B ends. In this case, the operation of the calculator 1 shifts to normal operation. That is, if the tax-excluded 1 key 132 is pressed without inputting a numerical value after the tax-inclusive calculation using the first tax rate, the result of the previous tax-inclusive calculation is cleared.

[0035] In step S12, processor 11 determines whether or not tax-excluded 1 key 132 has been pressed. When it is determined in step S12 that tax-excluded 1 key 132 has been pressed, the process proceeds to step S13. When it is determined in step S12 that tax-excluded 1 key 132 has not been pressed, the process proceeds to step S20.

[0036] In step S13, processor 11 performs tax-excluded price display process. Tax-excluded price display process is a process for displaying a price excluding tax using a first tax rate. As tax-excluded price display process, processor 11 performs tax-excluded price calculation using the first tax rate for the inputted numerical value. Then, processor 11 displays the result of the tax-excluded price calculation on display 14.

[0037] In step S14, processor 11 updates the contents of the subtotal 1 storage area of ​​the RAM of memory 12 based on the result of the tax-excluded calculation using the first tax rate. Specifically, processor 11 adds the result of the tax-excluded calculation using the first tax rate to the tax-excluded price stored in the first total tax-excluded price storage area. Processor 11 also adds the tax-inclusive price corresponding to the result of this tax-excluded calculation, i.e., the most recently inputted numerical value, to the tax-excluded price stored in the first total tax-inclusive price storage area. Processor 11 also adds the tax amount calculated from the result of this tax-excluded calculation to the tax amount stored in the first total tax amount storage area.

[0038] In step S15, processor 11 determines whether or not tax-excluded 1 key 132 has been pressed. When it is determined in step S15 that tax-excluded 1 key 132 has been pressed, the process proceeds to step S16. When it is determined in step S15 that tax-excluded 1 key 132 has not been pressed, the process proceeds to step S17.

[0039] In step S16, the processor 11 performs a tax value 1 display process on the display 14. After the tax value 1 display process, the processes in Fig. 3A and Fig. 3B end. The tax value 1 display process is a process for displaying the tax amount calculated in step S14. That is, when the tax-excluded 1 key 131 is pressed continuously after the tax-excluded calculation using the first tax rate, the display on the display 14 switches from the display of the tax-excluded price to the display of the tax amount.

[0040] In step S17, processor 11 determines whether tax-inclusive 1 key 131 has been pressed. If it is determined in step S17 that tax-inclusive 1 key 131 has been pressed, the process proceeds to step S18. If it is determined in step S17 that tax-inclusive 1 key 131 has not been pressed, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0041] In step S18, processor 11 refers to the contents of the input value storage area and displays on display 14 the numerical value that was previously input.

[0042] In step S19, the processor 11 clears the contents of the subtotal 1 storage area of ​​the RAM of the memory 12 based on the numerical value input immediately before. Specifically, the processor 11 restores the values ​​stored in the first total price including tax storage area, the first total price excluding tax storage area, and the first total tax amount storage area to the values ​​before the tax-excluding calculation based on the numerical value input immediately before. After that, the processing of Fig. 3A and Fig. 3B ends. In this case, the operation of the calculator 1 shifts to normal operation. That is, if the tax-inclusive 1 key 131 is pressed without inputting a numerical value after the tax-excluding calculation using the first tax rate, the result of the previous tax-excluding calculation is cleared.

[0043] In step S20, the processor 11 determines whether or not the tax-inclusive 2 key 133 has been pressed. When it is determined in step S20 that the tax-inclusive 2 key 133 has been pressed, the process proceeds to step S21. When it is determined in step S20 that the tax-inclusive 2 key 133 has not been pressed, the process proceeds to step S28.

[0044] In step S21, the processor 11 performs a tax-inclusive 2 display process. The tax-inclusive 2 display process is a process for displaying a price including tax using a second tax rate. As the tax-inclusive 2 display process, the processor 11 performs a tax-inclusive calculation using the second tax rate on the input numerical value. Then, the processor 11 displays the result of the tax-inclusive calculation on the display 14.

[0045] In step S22, processor 11 updates the contents of the subtotal 2 storage area of ​​the RAM of memory 12 based on the result of the tax-inclusive calculation using the second tax rate. Specifically, processor 11 adds the result of the tax-inclusive calculation using the second tax rate to the tax-inclusive price stored in the second tax-inclusive price storage area. Processor 11 also adds the tax-excluded price corresponding to the result of this tax-inclusive calculation, i.e., the most recently input numerical value, to the tax-excluded price stored in the second tax-excluded price storage area. Processor 11 also adds the tax amount calculated from the result of this tax-inclusive calculation to the tax amount stored in the second tax total storage area.

[0046] In step S23, the processor 11 determines whether or not the tax-inclusive 2 key 133 has been pressed. When it is determined in step S23 that the tax-inclusive 2 key 133 has been pressed, the process proceeds to step S24. When it is determined in step S23 that the tax-inclusive 2 key 133 has not been pressed, the process proceeds to step S25.

[0047] In step S24, the processor 11 performs a process of displaying tax value 2 on the display 14. After the process of displaying tax value 2, the processes in Figs. 3A and 3B end. In this case, the operation of the calculator 1 transitions to normal operation. The process of displaying tax value 2 is a process for displaying the tax amount calculated in step S22. That is, if the tax-inclusive 2 key 133 is pressed continuously after the tax-inclusive calculation using the second tax rate, the display on the display 14 switches from displaying the price including tax to displaying the tax amount.

[0048] In step S25, processor 11 determines whether or not tax-excluded 2 key 134 has been pressed. If it is determined in step S25 that tax-excluded 2 key 134 has been pressed, the process proceeds to step S26. If it is determined in step S25 that tax-excluded 2 key 134 has not been pressed, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0049] In step S26, processor 11 refers to the contents of the input value storage area and displays on display 14 the numerical value that was previously input.

[0050] In step S27, the processor 11 clears the contents of the subtotal 2 storage area of ​​the RAM of the memory 12 based on the numerical value input immediately before. Specifically, the processor 11 restores the values ​​stored in the second total price including tax storage area, the second total price excluding tax storage area, and the second total tax amount storage area to the values ​​before the tax-inclusive calculation based on the numerical value input immediately before. After that, the processing of Fig. 3A and Fig. 3B ends. In this case, the operation of the calculator 1 shifts to normal operation. That is, if the tax-excluding 2 key 134 is pressed without inputting a numerical value after the tax-inclusive calculation using the second tax rate, the result of the previous tax-inclusive calculation is cleared.

[0051] In step S28, processor 11 determines whether or not tax-excluded 2 key 134 has been pressed. If it is determined in step S28 that tax-excluded 2 key 134 has been pressed, the process proceeds to step S29. If it is determined in step S28 that tax-excluded 2 key 134 has not been pressed, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0052] In step S29, a tax-excluded price 2 display process is performed. The tax-excluded price 2 display process is a process for displaying a price excluding tax using a second tax rate. As the tax-excluded price 2 display process, processor 11 performs a tax-excluded price calculation using the second tax rate for the inputted numerical value. Then, processor 11 displays the result of the tax-excluded price calculation on display 14.

[0053] In step S30, processor 11 updates the contents of the subtotal 2 storage area of ​​the RAM of memory 12 based on the result of the tax-excluded calculation using the second tax rate. Specifically, processor 11 adds the result of the tax-excluded calculation using the second tax rate to the tax-excluded price stored in the second total tax-excluded price storage area. Processor 11 also adds the tax-inclusive price corresponding to the result of this tax-excluded calculation, i.e., the numerical value input immediately before, to the tax-inclusive price stored in the second total tax-inclusive price storage area. Processor 11 also adds the tax amount calculated from the result of this tax-excluded calculation to the tax amount stored in the second total tax amount storage area.

[0054] In step S31, the processor 11 determines whether or not the tax-excluded 2 key 134 has been pressed. When it is determined in step S31 that the tax-excluded 2 key 134 has been pressed, the process proceeds to step S32. When it is determined in step S31 that the tax-excluded 2 key 134 has not been pressed, the process proceeds to step S33.

[0055] In step S32, the processor 11 performs a process of displaying the tax value 2 on the display 14. After the process of displaying the tax value 2, the processes in Figs. 3A and 3B end. In this case, the operation of the calculator 1 transitions to normal operation. The process of displaying the tax value 2 is a process for displaying the tax amount calculated in step S30. That is, if the tax-excluded 2 key 134 is pressed continuously after the tax-excluded calculation using the second tax rate, the display on the display 14 switches from displaying the price excluding tax to displaying the tax amount.

[0056] In step S33, processor 11 determines whether tax-inclusive 2 key 133 has been pressed. If it is determined in step S33 that tax-inclusive 2 key 133 has been pressed, the process proceeds to step S34. If it is determined in step S33 that tax-inclusive 2 key 133 has not been pressed, the process of Figures 3A and 3B ends. In this case, the operation of calculator 1 proceeds to normal operation.

[0057] In step S34, processor 11 refers to the contents of the input value storage area and displays on display 14 the numerical value that was input immediately before.

[0058] In step S35, the processor 11 clears the contents of the subtotal 2 storage area of ​​the RAM of the memory 12 based on the numerical value input immediately before. Specifically, the processor 11 restores the values ​​stored in the second total price including tax storage area, the second total price excluding tax storage area, and the second total tax amount storage area to the values ​​before the tax-excluding calculation based on the numerical value input immediately before. After that, the processing of Figures 3A and 3B ends. In this case, the operation of the calculator 1 shifts to normal operation. That is, if the tax-inclusive 2 key 133 is pressed without inputting a numerical value after the tax-excluding calculation using the second tax rate, the result of the previous tax-excluding calculation is cleared.

[0059] FIG. 4A is a diagram showing the state transition of the display, input value storage area, subtotal 1 storage area, and subtotal 2 storage area when key input is performed according to the first operation. The first operation is the operation of pressing the same tax calculation key repeatedly. Here, "key" indicates the type of operation key pressed. "Icon" indicates the type of icon displayed on the display 14. "Display" indicates the numerical value displayed on the display 14. "Input" indicates the contents stored in the input value storage area. "Subtotal 1" indicates the contents stored in the subtotal 1 storage area. Of "Subtotal 1," "Tax Included 1" indicates the contents stored in the first total price including tax storage area, "Tax Excluded 1" indicates the contents stored in the first total price excluding tax storage area, and "Tax 1" indicates the contents stored in the first total tax amount storage area. Similarly, "Subtotal 2" indicates the contents stored in the subtotal 2 storage area. Among "Subtotal 2," "Tax Included 2" indicates the contents stored in the second total price including tax storage area, "Tax Excluded 2" indicates the contents stored in the second total price excluding tax storage area, and "Tax 2" indicates the contents stored in the second total tax amount storage area. Here, in FIG. 4A, the first tax rate is 10% and the second tax rate is 8%.

[0060] In the first example of the first operation, as shown in "key," the AC key is pressed, the number "100" is entered, then the 1 including tax key 131 is pressed, and then the 1 including tax key 131 is pressed without entering a number.

[0061] Pressing the AC key clears the state of Calculator 1. In other words, "Input", "Tax Included 1", "Tax Excluded 1", "Tax 1", "Tax Included 2", "Tax Excluded 2", and "Tax 2" are reset to their initial values ​​of "0". Also, "Icon" becomes blank, meaning that nothing is displayed on the display 14. Also, "Display" becomes "0", meaning that the initial value of "0" is displayed on the display 14.

[0062] Next, by pressing the tax-inclusive 1 key 131 after inputting the number "100", tax-inclusive calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are updated. "Input" is updated to the input number "100". "Tax-inclusive 1" is updated to "110", which is the result of the tax-inclusive calculation. "Excluding tax 1" is updated to the price excluding tax as a result of the tax-inclusive calculation, that is, the input number "100". "Tax 1" is updated to "10". Meanwhile, the contents of "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are not updated. Also, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 1 icon" are displayed. These icons will be explained later. Also, "Display" is in a state where the result of the tax-inclusive calculation, "110", is displayed.

[0063] Next, by pressing the tax-inclusive 1 key 131, "Icon" becomes a state in which the "Tax GT icon", "Tax icon", and "Tax 1 icon" are displayed. Also, "Display" becomes a state in which "10", which is the tax amount corresponding to the tax-inclusive calculation result, is displayed. Meanwhile, "Input", "Tax inclusive 1", "Tax exclusive 1", "Tax 1", "Tax inclusive 2", "Tax exclusive 2", and "Tax 2" are not updated.

[0064] In the second example of the first operation, as shown in "key," the AC key is pressed, the number "100" is entered, then the tax-included 2 key 133 is pressed, and then the tax-included 2 key 133 is pressed without entering a number.

[0065] The state when the AC key is pressed is the same as in the first example. Next, by pressing the tax-inclusive 2 key 133 after the number "100" is entered, tax-inclusive calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are updated. "Input" is updated to the entered number "100". "Tax-inclusive 2" is updated to "108", which is the result of the tax-inclusive calculation. "Excluding tax 2" is updated to the tax-excluded price for the result of the tax-inclusive calculation, that is, the entered number "100". "Tax 2" is updated to "8". Meanwhile, the contents of "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 2 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-inclusive calculation, "108", is displayed.

[0066] Next, by pressing the tax-inclusive 2 key 133, "Icon" becomes a state in which the "Tax GT icon", "Tax icon", and "Tax 2 icon" are displayed. Also, "Display" becomes a state in which "8", which is the tax amount corresponding to the result of the tax-inclusive calculation, is displayed. Meanwhile, "Input", "Tax inclusive 1", "Tax exclusive 1", "Tax 1", "Tax inclusive 2", "Tax exclusive 2", and "Tax 2" are not updated.

[0067] In the third example of the first operation, as shown in "key," the AC key is pressed, the number "110" is entered, then the "tax-excluded 1" key 132 is pressed, and then the "tax-excluded 2" key 132 is pressed without entering a number.

[0068] The state when the AC key is pressed is the same as in the first example. Next, the number "110" is entered and then the tax-excluded 1 key 132 is pressed, so that the tax-excluded calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are updated. "Input" is updated to the entered number "110". "Tax-excluded 1" is updated to "100", which is the result of the tax-excluded calculation. "Tax-excluded 1" is updated to the price including tax for the result of the tax-excluded calculation, that is, the entered number "110". "Tax 1" is updated to "10". Meanwhile, the contents of "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 1 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-excluded calculation, "100", is displayed.

[0069] Next, by pressing the tax-excluded 1 key 132, the "Icon" is updated to display the "Tax GT icon", "Tax icon", and "Tax 1 icon". Also, the "Display" is updated to display "10", which is the tax amount corresponding to the tax-excluded calculation result. On the other hand, "Input", "Tax included 1", "Tax excluded 1", "Tax 1", "Tax included 2", "Tax excluded 2", and "Tax 2" are not updated.

[0070] In the fourth example of the first operation, as shown in "key," the AC key is pressed, the number "108" is entered, then the "tax-excluded 2" key 134 is pressed, and then the "tax-excluded 2" key 134 is pressed without entering a number.

[0071] The state when the AC key is pressed is the same as in the first example. Next, the number "108" is entered and then the tax-excluded 2 key 134 is pressed, so that the tax-excluded calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are updated. "Input" is updated to the entered number "108". "Tax-excluded 2" is updated to "100", which is the result of the tax-excluded calculation. "Tax-excluded 2" is updated to the price including tax for the result of the tax-excluded calculation, that is, the entered number "108". "Tax 2" is updated to "8". Meanwhile, the contents of "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 2 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-excluded calculation, "100", is displayed.

[0072] Next, by pressing the tax-excluded 2 key 134, "Icon" becomes a state in which the "Tax GT icon", "Tax icon", and "Tax 2 icon" are displayed. Also, "Display" becomes a state in which "8", which is the tax amount corresponding to the result of the tax-excluded calculation, is displayed. Meanwhile, "Input", "Tax included 1", "Tax excluded 1", "Tax 1", "Tax included 2", "Tax excluded 2", and "Tax 2" are not updated.

[0073] FIG. 4B is a diagram showing the transition of the states of the display, input value storage area, subtotal 1 storage area, and subtotal 2 storage area when key input is made according to the second operation. The second operation is an operation of successively pressing different tax calculation keys for the same tax rate. Here, "key", "Icon", "Display", "Input", "Subtotal 1", "Tax included 1", "Tax excluded 1", "Tax 1", "Subtotal 2", "Tax included 2", "Tax excluded 2", and "Tax 2" are the same as in FIG. 4A. Also, in FIG. 4B, the first tax rate is 10% and the second tax rate is 8%.

[0074] In the first example of the second operation, as shown in "key", the AC key is pressed, the number "1000" is entered and then the 1 including tax key 131 is pressed, the number "100" is entered and then the 1 including tax key 131 is pressed, and then the 1 excluding tax key 132 is pressed without entering a number.

[0075] Pressing the AC key clears the state of Calculator 1. In other words, "Input", "Tax Included 1", "Tax Excluded 1", "Tax 1", "Tax Included 2", "Tax Excluded 2", and "Tax 2" are reset to their initial values ​​of "0". Also, "Icon" becomes blank, meaning that nothing is displayed on the display 14. Also, "Display" becomes "0", meaning that the initial value of "0" is displayed on the display 14.

[0076] Next, by pressing the tax-inclusive 1 key 131 after inputting the number "1000", tax-inclusive calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are updated. "Input" is updated to the input number "1000". "Tax-inclusive 1" is updated to "1100", which is the result of the tax-inclusive calculation. "Excluding tax 1" is updated to the price excluding tax as a result of the tax-inclusive calculation, that is, the input number "1000". "Tax 1" is updated to "100". Meanwhile, the contents of "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are not updated. Also, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 1 icon" are displayed. These icons will be explained later. Also, "Display" is in a state where the result of the tax-inclusive calculation, "1100", is displayed.

[0077] Next, by pressing the tax-inclusive 1 key 131 after inputting the number "100", tax-inclusive calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are updated. "Input" is updated to the input number "100". "Tax-inclusive 1" is updated to "1210" by adding the result of the tax-inclusive calculation. "Excluding tax 1" is updated to "1100" by adding the price excluding tax to the result of the tax-inclusive calculation, that is, the input number "100". "Tax 1" is updated to "1100". Meanwhile, the contents of "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are not updated. Also, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 1 icon" are displayed. These icons will be explained later. Also, "Display" is in a state where the result of the tax-inclusive calculation, "110", is displayed.

[0078] Next, when the tax-excluded 1 key 132 is pressed, "tax-excluded 1", "tax-excluded 1", and "tax 1" are updated to the state before the previous tax-included calculation based on the previous input values. That is, "tax-included 1" is updated to "1100". "tax-excluded 1" is updated to "1000". "Tax 1" is updated to "100". Meanwhile, "Input" is not updated. Also, the "Icon" display is erased. Also, "Display" is reset to a state where the previous input value, "100", is displayed. In this way, the result of the previous tax-included calculation is cleared.

[0079] In the second example of the second operation, as shown in "key," the AC key is pressed, the number "1000" is entered and then the tax-inclusive 2 key 133 is pressed, the number "100" is entered and then the tax-inclusive 2 key 133 is pressed, and then the tax-exclusive 2 key 134 is pressed without entering a number.

[0080] The state when the AC key is pressed is the same as in the first example. Next, by pressing the tax-inclusive 2 key 133 after the number "1000" is entered, tax-inclusive calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are updated. "Input" is updated to the entered number "1000". "Tax-inclusive 2" is updated to "1080", which is the result of the tax-inclusive calculation. "Excluding tax 2" is updated to the tax-excluded price for the result of the tax-inclusive calculation, that is, the entered number "1000". "Tax 2" is updated to "80". On the other hand, the contents of "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 2 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-inclusive calculation, "1080", is displayed.

[0081] Next, by pressing the tax-inclusive 2 key 133 after inputting the number "100", tax-inclusive calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-inclusive 2", "Excluding tax 2", and "Tax 2" are updated. "Input" is updated to the input number "100". "Tax-inclusive 2" is updated to "1188" by adding the result of the tax-inclusive calculation. "Excluding tax 2" is updated to "1100" by adding the price excluding tax to the result of the tax-inclusive calculation, that is, the input number "100". "Tax 2" is updated to "88". Meanwhile, the contents of "Tax-inclusive 1", "Excluding tax 1", and "Tax 1" are not updated. Also, "Icon" is in a state where the "Tax GT icon", "Tax-inclusive icon", and "Tax 2 icon" are displayed. These icons will be explained later. Also, "Display" is in a state where the result of the tax-inclusive calculation, "108", is displayed.

[0082] Next, when the tax-excluded 2 key 134 is pressed, "tax-excluded 2", "tax-excluded 2", and "tax 2" are updated to the state before the previous tax-included calculation based on the previous input values. That is, "tax-included 2" is updated to "1080". "tax-excluded 2" is updated to "1000". "Tax 2" is updated to "80". Meanwhile, "Input" is not updated. Also, the "Icon" display is erased. Also, "Display" is reset to a state where the previous input value, "100", is displayed. In this way, the result of the previous tax-included calculation is cleared.

[0083] In the third example of the second operation, as shown in "key," the AC key is pressed, the number "1100" is entered and then the 1 excluding tax key 132 is pressed, the number "110" is entered and then the 1 excluding tax key 132 is pressed, and then the 1 including tax key 131 is pressed without entering a number.

[0084] The state when the AC key is pressed is the same as in the first example. Next, the number "1100" is entered and then the tax-excluded 1 key 132 is pressed, so that the tax-excluded calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are updated. "Input" is updated to the entered number "1100". "Tax-excluded 1" is updated to "1000", which is the result of the tax-excluded calculation. "Tax-excluded 1" is updated to the price including tax for the result of the tax-excluded calculation, that is, the entered number "1100". "Tax 1" is updated to "100". On the other hand, the contents of "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 1 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-excluded calculation, "1000", is displayed.

[0085] Next, by pressing the tax-excluded 1 key 132 after inputting the number "110", a tax-excluded calculation is performed using the first tax rate. Accordingly, the contents of "Input", "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are updated. "Input" is updated to the input number "110". "Tax-excluded 1" is updated to "1100" by adding the result of the tax-excluded calculation. "Tax-excluded 1" is updated to "1210" by adding the price including tax to the result of the tax-excluded calculation, that is, the input number "110". "Tax 1" is updated to "110". Meanwhile, the contents of "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are not updated. Also, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 1 icon" are displayed. These icons will be explained later. Also, "Display" is in a state where the result of the tax-excluded calculation, "100", is displayed.

[0086] Next, when the tax-inclusive 1 key 131 is pressed, "tax-inclusive 1", "tax-exclusive 1", and "Tax 1" are updated to the state before the previous tax-exclusive calculation based on the previous input values. That is, "tax-exclusive 1" is updated to "1000". "tax-inclusive 1" is updated to "1100". "Tax 1" is updated to "100". Meanwhile, "Input" is not updated. Also, the "Icon" display is erased. Also, "Display" is reset to a state where the previous input value, "110", is displayed. In this way, the result of the previous tax-exclusive calculation is cleared.

[0087] In the fourth example of the second operation, as shown in "key," the AC key is pressed, the number "1080" is entered and then the tax-excluded 2 key 134 is pressed, the number "108" is entered and then the tax-excluded 2 key 134 is pressed, and then the tax-inclusive 2 key 133 is pressed without entering a number.

[0088] The state when the AC key is pressed is the same as in the first example. Next, the number "1080" is entered and then the tax-excluded 2 key 134 is pressed, so that the tax-excluded calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are updated. "Input" is updated to the entered number "1080". "Tax-excluded 2" is updated to "1000", which is the result of the tax-excluded calculation. "Tax-excluded 2" is updated to the price including tax for the result of the tax-excluded calculation, that is, the entered number "1080". "Tax 2" is updated to "80". On the other hand, the contents of "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 2 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-excluded calculation, "1000", is displayed.

[0089] Next, by pressing the tax-excluded 2 key 134 after inputting the number "108", a tax-excluded calculation is performed using the second tax rate. Accordingly, the contents of "Input", "Tax-excluded 2", "Tax-excluded 2", and "Tax 2" are updated. "Input" is updated to the input number "108". "Tax-excluded 2" is updated to "1100" by adding the result of the tax-excluded calculation. "Tax-excluded 2" is updated to "1188" by adding the price including tax to the result of the tax-excluded calculation, that is, the input number "108". "Tax 2" is updated to "88". Meanwhile, the contents of "Tax-excluded 1", "Tax-excluded 1", and "Tax 1" are not updated. In addition, "Icon" is in a state where the "Tax GT icon", "Tax-excluded icon", and "Tax 2 icon" are displayed. These icons will be explained later. In addition, "Display" is in a state where the result of the tax-excluded calculation, "100", is displayed.

[0090] Next, when the tax-inclusive 2 key 134 is pressed, "tax-inclusive 2", "tax-exclusive 2", and "Tax 2" are updated to the state before the previous tax-exclusive calculation based on the previous input values. That is, "tax-exclusive 2" is updated to "1000". "Tax-inclusive 2" is updated to "1080". "Tax 2" is updated to "80". Meanwhile, "Input" is not updated. Also, the "Icon" display is erased. Also, "Display" is reset to a state where the previous input value, "108", is displayed. In this way, the result of the previous tax-exclusive calculation is cleared.

[0091] 5 is a diagram showing the transition of the display on the display 14 in the first operation. In the case of the second operation, only the previously inputted numerical value is displayed on the display. Therefore, the explanation will be omitted.

[0092] First, the AC key is pressed to clear the display on the display 14. At this time, the display screen on the display 14 is the display screen A. The initial value "0" is displayed on the display screen A. No icons or the like are displayed on the display screen A.

[0093] In the display screen A, when the tax-inclusive key or the tax-exclusive key is pressed after a numerical value is input, the display screen of the display 14 transitions to the display screen B. In the display screen B, for example, when the tax-inclusive 1 key is pressed together with a numerical value, a numerical value 201 representing the result of the tax calculation is displayed as shown in the screens b1, b2, b3, and b4. Furthermore, as icons, the tax GT icon 202, the tax-inclusive icon 203, and the tax 1 icon 204 are displayed. In addition, in the display screen B, for example, when the tax-inclusive 2 key is pressed together with a numerical value, a numerical value 201 representing the result of the tax calculation is displayed as shown in the screens b5, b6, and b7. Furthermore, as icons, the tax GT icon 202, the tax-inclusive icon 203, and the tax 2 icon 205 are displayed. Here, the tax GT icon 202 is an icon indicating that the calculation of the total price including tax, the total price excluding tax, and the total tax amount using the first tax rate is being performed. As described above, when the tax-inclusive key is pressed after the input of a numerical value, a process is performed to update the contents of the subtotal 1 storage area or the subtotal 2 storage area. Tax inclusive icon 203 is an icon indicating that the numeric value 201 is a price including tax. Tax 1 icon 204 is an icon indicating that the tax calculation was performed using a first tax rate. Tax 2 icon 205 is an icon indicating that the tax calculation was performed using a second tax rate.

[0094] When the tax calculation total key 135 is pressed on the display screen B, the display screen of the display 14 transitions to the display screen C. On the display screen C, as shown in the screen c1, a numeric value 201 is displayed, which indicates the total of the tax-inclusive price calculated at the first tax rate and the tax-inclusive price calculated at the second tax rate, that is, the total of the tax-inclusive price stored in the first tax-inclusive price total storage area and the tax-inclusive price stored in the second tax-inclusive price total storage area. In addition, a tax GT icon 202, a tax-inclusive icon 203, and a total icon 206 are displayed as icons. The total icon 206 is an icon indicating that the numeric value 201 is the total amount.

[0095] When the tax calculation total key 135 is pressed on the screen c1, the display screen of the display 14 transitions to the screen c2. On the screen c2, a numerical value 201 is displayed, which indicates the total of the tax-excluded price calculated at the first tax rate and the tax-excluded price calculated at the second tax rate, that is, the total amount of the tax-excluded price stored in the first total tax-excluded price storage area and the tax-excluded price stored in the second total tax-excluded price storage area. In addition, a tax GT icon 202, a tax-excluded icon 207, and a total icon 206 are displayed as icons. The tax-excluded icon 207 is an icon indicating that the numerical value 201 is a tax-excluded price.

[0096] When the tax calculation total key 135 is pressed on the screen c1, the display screen of the display 14 transitions to the screen c3. On the screen c3, a numerical value 201 is displayed, which indicates the total amount of the tax calculated at the first tax rate and the tax calculated at the second tax rate, i.e., the total amount of the tax stored in the first total tax storage area and the tax stored in the second total tax storage area. In addition, a tax GT icon 202, a tax icon 208, and a total icon 206 are displayed as icons. The tax icon 208 is an icon indicating that the numerical value 201 is the tax amount.

[0097] When the tax calculation total key 135 is pressed on the screen c3, the display screen of the display 14 returns to the screen c1. On the other hand, when the tax-inclusive 1 key 131 is pressed on any of the screens c1, c2, and c3, the display screen of the display 14 transitions to the display screen D. On the display screen D, as shown in the screen d1, first, a numeric value 201 representing the total tax-inclusive price of the tax-inclusive prices calculated at the first tax rate, that is, the tax-inclusive price stored in the first total tax-inclusive price storage area, is displayed. Furthermore, as icons, a tax GT icon 202, a tax-inclusive icon 203, a tax 1 icon 204, and a total icon 206 are displayed.

[0098] When the tax-inclusive 1 key 131 is pressed on the screen d1, the display screen of the display 14 transitions to the screen d2. On the screen d2, a numeric value 201 is displayed, which indicates the total price excluding tax of the prices excluding tax calculated at the first tax rate, i.e., the price excluding tax stored in the first total price excluding tax storage area. In addition, a tax GT icon 202, a tax-exclusive icon 207, a tax 1 icon 204, and a total icon 206 are displayed as icons.

[0099] When the tax-inclusive 1 key 131 is pressed on the screen d2, the display screen of the display 14 transitions to the screen d3. On the screen d3, a numerical value 201 representing the tax amount calculated at the first tax rate, i.e., the tax amount stored in the first total tax amount storage area, is displayed. In addition, a tax GT icon 202, a tax icon 208, a tax 1 icon 204, and a total icon 206 are displayed as icons.

[0100] When the tax calculation total key 135 is pressed on any of the screens d1, d2, and d3, the display screen of the display 14 returns to the display screen C. On the other hand, when the tax-inclusive 2 key 133 is pressed on any of the screens c1, c2, and c3, or when the tax-inclusive 2 key 133 is pressed on any of the screens d1, d2, and d3, the display screen of the display 14 transitions to the display screen E. On the display screen E, first, as shown in the screen e1, a numerical value 201 representing the total tax-inclusive price of the tax-inclusive price calculated at the second tax rate, that is, the tax-inclusive price stored in the second total tax-inclusive price storage area, is displayed. Furthermore, as icons, a tax GT icon 202, a tax-inclusive icon 203, a tax 2 icon 205, and a total icon 206 are displayed.

[0101] When the tax-inclusive 2 key 133 is pressed on the screen e1, the display screen of the display 14 transitions to the screen e2. On the screen e2, a numeric value 201 is displayed, which indicates the total price excluding tax of the prices excluding tax calculated at the second tax rate, i.e., the price excluding tax stored in the second total price excluding tax storage area. In addition, a tax GT icon 202, a tax-inclusive icon 207, a tax 2 icon 205, and a total icon 206 are displayed as icons.

[0102] When the tax-inclusive 2 key 133 is pressed on the screen e2, the display screen of the display 14 transitions to the screen e3. On the screen e3, a numerical value 201 representing the tax amount calculated at the second tax rate, i.e., the tax amount stored in the second total tax amount storage area, is displayed. Furthermore, as icons, a tax GT icon 202, a tax icon 208, a tax 2 icon 205, and a total icon 206 are displayed.

[0103] When the tax calculation total key 135 is pressed on any of the screens e1, e2, and e3, the display screen of the display 14 returns to the display screen C. When the tax-inclusive 1 key 131 is pressed on any of the screens e1, e2, and e3, the display screen of the display 14 returns to the display screen D.

[0104] As described above, according to the embodiment, when the same tax calculation key with different tax rates is pressed consecutively without inputting a numerical value, the result of the previous tax calculation is cleared. Also, at this time, the numerical value input immediately before is displayed on the display 14. As a result, even if the user accidentally presses a tax calculation key other than the one intended while inputting data into the calculator and a tax calculation other than the one intended is performed, the user can immediately recalculate the tax as intended with a simple operation.

[0105] In addition, in conventional calculators, pressing a clear key or the like clears the display on the screen, but does not clear the total amount stored in memory, so if there is an input error, the total amount cannot be calculated correctly. This is not possible in the embodiment, which causes inconvenience. In contrast, in the embodiment, as the result of the tax calculation is cleared, the contents of the subtotal 1 storage area or subtotal 2 storage area also return to the state before the tax calculation. Therefore, the total amount can be calculated correctly.

[0106] In this embodiment, when the same tax calculation key with different tax rates is pressed consecutively without inputting a numerical value, the result of the previous tax calculation is cleared. Therefore, the embodiment can be applied to a calculator with only one tax rate.

[0107] In addition, in the embodiment, an application example to tax calculation is described. In contrast, the technology of the embodiment can be applied to various calculators that perform specific calculations using specific preset values. Such specific calculations include currency conversion calculations. In this case, too, if no value is entered and the conversion rate key is pressed repeatedly, the result of the previous conversion calculation can be cleared. In addition, such specific calculations can include powdered medicine audit calculations.

[0108] In the embodiment, the process is performed in response to the operation of a physical key. Recently, there are calculation programs that use software keys to perform calculations similar to those of a calculator. The embodiment can also be applied to such calculation programs that are operated using software keys.

[0109] Each process according to the above-mentioned embodiment can be stored as a program that can be executed by the processor 11, which is a computer. Alternatively, the program can be stored in a storage medium of an external storage device such as a magnetic disk, an optical disk, or a semiconductor memory and distributed. The processor 11 can then read the program stored in the storage medium of the external storage device, and the processor 11 can execute the above-mentioned process by having its operation controlled by the read program.

[0110] The present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the embodiments may be implemented in appropriate combination, and in that case, the combined effect can be obtained. Furthermore, the above-mentioned embodiment includes various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention.

[0111] The following will addendum to inventions that can be extracted from the embodiments of the present invention. [1] a first calculation unit that, when receiving a first instruction input after receiving an input of a numerical value, performs a first calculation on the numerical value using a first argument; a second calculation unit that, when a second instruction input is received after receiving an input of a numerical value, performs a second calculation on the numerical value using the first argument; a first control unit that, when the second instruction input is received without inputting a numerical value after the first calculation is performed, returns a result of the first calculation to an input state immediately before the first instruction input is received; a second control unit that, when the first instruction input is received without inputting a numerical value after the second calculation is performed, returns a result of the second calculation to an input state immediately before the second instruction input is received; A computer comprising: [2] The computer according to [1], further comprising a first memory control unit that, when the first calculation is performed, if the first calculation has been performed prior to the current first calculation, causes a sum of a numerical value based on the calculation result of the first calculation performed up to the previous time and a numerical value based on the calculation result when the first calculation is currently performed to be stored in the memory unit as a first sum. [3] When the first control unit returns the calculation result of the first calculation to the immediately preceding input state, the first storage control unit causes the storage unit to store a value obtained by subtracting a numerical value based on the calculation result when the first calculation is currently performed from the stored first sum as a new first sum. [2] A computer as described in the above. [4] The computer according to any one of [1] to [3], further comprising a second memory control unit configured to, when the second calculation is performed, store in the memory unit a second sum value that is a sum of a numerical value based on the calculation result of the second calculation performed up to the previous time and a numerical value based on the calculation result when the second calculation is performed this time as a second sum value, if the second calculation has been performed prior to the second calculation currently being performed. [5] When the second control unit returns the calculation result of the second calculation to the immediately preceding input state, the second storage control unit stores in the storage unit a value obtained by subtracting a numerical value based on the calculation result when the second calculation is currently performed from the stored second sum as a new second sum. [4] A computer according to the present invention. [6] Further comprising a display control unit that displays on a display unit either an input numerical value, a result of the first calculation, or a result of the second calculation; The display control unit is When a numerical value is input, the input numerical value is displayed on the display unit; When the first calculation is performed, a result of the first calculation is displayed on the display unit; When the second calculation is performed, a result of the second calculation is displayed on the display unit; when the result of the first calculation or the result of the second calculation is cleared, the numerical value input immediately before the first calculation or the second calculation is performed is displayed on the display unit. 2. A computer according to any one of [1] to [5]. [7] The display control unit: when the first calculation is performed, displaying a first icon indicating that the first calculation has been performed together with a result of the first calculation; when the second calculation is performed, displaying a second icon indicating that the second calculation has been performed together with a result of the second calculation; When the inputted numerical value is to be displayed on the display unit, the display of the first icon or the second icon is erased. [6] 。 [8] The first instruction input is input of a tax-inclusive key; The second instruction input is an input of a "tax-excluded" key. 2. A computer according to any one of [1] to [7]. [9] The first calculation is a tax-inclusive calculation using a first tax rate as the first argument; The second calculation is a tax-excluded calculation using the first tax rate. 2. A computer according to any one of [1] to [8].

[10] The first calculation is a tax-inclusive calculation using a first tax rate as the first argument; The first total value is a total value of the tax amount calculated from the total value of the numerical value based on the calculation result of the tax-inclusive calculation performed up to the previous time and the numerical value based on the calculation result of the tax-inclusive calculation performed this time, and the total value of the numerical value based on the calculation result of the tax-inclusive calculation performed up to the previous time and the numerical value based on the calculation result of the tax-inclusive calculation performed this time. 2. A computer according to claim 1, wherein the computer is a

[11] Further, a display control unit is provided that switches between the result of the first calculation, the total value of the result of the tax-inclusive calculation, and the total value of the tax amount and displays them on a display unit.

[10] .

[12] The second calculation is a tax-excluded calculation using a first tax rate as the first argument; The second total value is a total value of the tax amount calculated from the total value of the numerical value based on the calculation result of the tax-excluded calculation performed up to the previous time and the numerical value based on the calculation result of the tax-excluded calculation performed this time, and the total value of the numerical value based on the calculation result of the tax-excluded calculation performed up to the previous time and the numerical value based on the calculation result of the tax-excluded calculation performed this time. [4] or [5].

[13] A display control unit is further provided that switches between the calculation result of the second calculation, the total value of the calculation result excluding tax, and the total value of the tax amount and displays them on the display unit.

[12] .

[14] When a first instruction input is received after receiving an input of a numerical value, performing a first calculation on the numerical value using a first argument; when a second instruction input is received after the input of a numerical value is received, performing a second calculation on the numerical value using the first argument; after the first calculation is performed, when the second input instruction is received without inputting a numerical value, returning a result of the first calculation to an input state immediately before the first input instruction is received; when the first input instruction is received without inputting a numerical value after the second calculation is performed, returning a result of the second calculation to an input state immediately before the second input instruction is received; A calculation program for causing a processor to execute the above. [Explanation of symbols]

[0112] 1 calculator, 11 processor, 12 memory, 13 input device, 14 display, 15 power supply module, 131 inclusive 1 key, 132 exclusive 1 key, 133 inclusive 2 key, 134 exclusive 2 key, 135 tax calculation total key, 136 fraction selector, 137 decimal point selector.

Claims

1. a first calculation unit that, when accepting a first instruction input after accepting an input of a numerical value, performs a first calculation on the numerical value using a first argument; a second calculation unit that, when a second instruction input is received after receiving an input of a numerical value, performs a second calculation on the numerical value using the first argument; a first control unit that, when the second instruction input is received without inputting a numerical value after the first calculation is performed, returns a result of the first calculation to an input state immediately before the first instruction input is received; a second control unit that, when the first instruction input is received without inputting a numerical value after the second calculation is performed, returns a result of the second calculation to an input state immediately before the second instruction input is received; A computer comprising:

2. 2. The computer according to claim 1, further comprising a first memory control unit that, when the first calculation is performed, if the first calculation has been performed prior to the first calculation currently performed, stores in the memory unit a sum of a numerical value based on the calculation result of the first calculation previously performed and a numerical value based on the calculation result when the first calculation is currently performed as a first sum.

3. When the first control unit returns the calculation result of the first calculation to the immediately preceding input state, the first storage control unit causes the storage unit to store a value obtained by subtracting a numerical value based on the calculation result when the first calculation is currently performed from the stored first total value as a new first total value.

3. The computer of claim 2.

4. 4. The computer according to claim 1, further comprising a second memory control unit that, when the second calculation is performed, if the second calculation has been performed prior to the second calculation currently performed, stores in the memory unit a sum of a numerical value based on the calculation result of the second calculation previously performed and a numerical value based on the calculation result when the second calculation is currently performed as a second sum.

5. When the second control unit returns the calculation result of the second calculation to the immediately preceding input state, the second storage control unit causes the storage unit to store a value obtained by subtracting a numerical value based on the calculation result when the second calculation is currently performed from the stored second total value as a new second total value.

5. The computer according to claim 4.

6. a display control unit that displays on a display unit either an input numerical value, a result of the first calculation, or a result of the second calculation; The display control unit is When a numerical value is input, the input numerical value is displayed on the display unit; When the first calculation is performed, a result of the first calculation is displayed on the display unit; When the second calculation is performed, a result of the second calculation is displayed on the display unit; when the result of the first calculation or the result of the second calculation is cleared, the numerical value input immediately before the first calculation or the second calculation is performed is displayed on the display unit. A computer according to any one of claims 1 to 5.

7. The display control unit is when the first calculation is performed, displaying a first icon indicating that the first calculation has been performed together with a result of the first calculation; when the second calculation is performed, displaying a second icon indicating that the second calculation has been performed together with a result of the second calculation; when the inputted numerical value is to be displayed on the display unit, the display of the first icon or the second icon is erased.

7. The computer of claim 6.

8. the first instruction input is an input of a tax-inclusive key, the second instruction input is an input of a "tax-excluded" key; A computer according to any one of claims 1 to 7.

9. The first calculation is a tax-inclusive calculation using a first tax rate as the first argument, The second calculation is a tax-excluded calculation using the first tax rate. A computer according to any one of claims 1 to 8.

10. The first calculation is a tax-inclusive calculation using a first tax rate as the first argument, The first total value is a total value of the tax amount calculated from the total value of the numerical value based on the calculation result of the tax-inclusive calculation performed up to the previous time and the numerical value based on the calculation result of the tax-inclusive calculation performed this time, and the total value of the numerical value based on the calculation result of the tax-inclusive calculation performed up to the previous time and the numerical value based on the calculation result of the tax-inclusive calculation performed this time.

4. A computer according to claim 2 or 3.

11. and a display control unit that switches between the result of the first calculation, the total value of the result of the tax-inclusive calculation, and the total value of the tax amount and displays them on a display unit.

11. The computer of claim 10.

12. The second calculation is a tax-excluded calculation using a first tax rate as the first argument, The second total value is a total value of the tax amount calculated from the total value of the numerical value based on the calculation result of the tax-excluded calculation performed up to the previous time and the numerical value based on the calculation result of the tax-excluded calculation performed this time, and the total value of the numerical value based on the calculation result of the tax-excluded calculation performed up to the previous time and the numerical value based on the calculation result of the tax-excluded calculation performed this time.

6. A computer according to claim 4 or 5.

13. and a display control unit for switching between the result of the second calculation, the total value of the result of the tax-excluded calculation, and the total value of the tax amount and displaying them on a display unit.

13. The computer of claim 12.

14. when a first instruction input is accepted after an input of a numerical value is accepted, performing a first calculation on the numerical value using a first argument; when a second instruction input is received after the input of a numerical value is received, performing a second calculation on the numerical value using the first argument; when the second instruction input is received without inputting a numerical value after the first calculation is performed, returning a result of the first calculation to an input state immediately before the first instruction input is received; when the first instruction input is received without inputting a numerical value after the second calculation is performed, returning a result of the second calculation to an input state immediately before the second instruction input is received; A calculation program for causing a processor to execute the above.

Citation Information

Patent Citations

  • Electronic equipment having calculation function

    JP2000132517A

  • Method for restoring calculation result in electronic calculator

    JP2002032348A

  • Tax calculation device, tax calculation method, and program

    JP2018049433A

  • Computer, computing method, and program

    JP2020057374A