CN118051466A - Electronic device, calculation support method, and program - Google Patents
Electronic device, calculation support method, and program Download PDFInfo
- Publication number
- CN118051466A CN118051466A CN202410259118.XA CN202410259118A CN118051466A CN 118051466 A CN118051466 A CN 118051466A CN 202410259118 A CN202410259118 A CN 202410259118A CN 118051466 A CN118051466 A CN 118051466A
- Authority
- CN
- China
- Prior art keywords
- tax
- calculation
- total
- key
- rate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 843
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000008569 process Effects 0.000 claims description 47
- 230000006870 function Effects 0.000 claims description 43
- 230000015654 memory Effects 0.000 claims description 41
- 238000012545 processing Methods 0.000 description 20
- 238000003825 pressing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 101100328485 Caenorhabditis elegans tax-4 gene Proteins 0.000 description 8
- 239000000470 constituent Substances 0.000 description 5
- 238000012937 correction Methods 0.000 description 4
- 230000007704 transition Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 102100024348 Beta-adducin Human genes 0.000 description 1
- 101000689619 Homo sapiens Beta-adducin Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/0225—User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/025—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
- G06F15/0283—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for data storage and retrieval
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/123—Tax preparation or submission
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Human Computer Interaction (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Calculators And Similar Devices (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
An electronic device, a computer-aided method, and a program capable of executing tax calculation for deriving a tax containing, not containing, or tax as a calculation result, by separately adding up calculation results when performing instruction of tax calculation repeatedly between a case where a 1 st operation key for setting a 1 st tax rate is operated as an execution instruction of tax calculation after a numerical value is input and a case where a2 nd operation key for setting a2 nd tax rate is operated after a numerical value is input, storing a 1 st total value corresponding to the 1 st tax rate and a2 nd total value corresponding to the 2 nd tax rate; when the execution instruction of the calculation of double imposition is issued, the calculation result of the tax calculation is displayed, and when a predetermined four-rule calculation is executed in the course of the repetition, the 1 st total value corresponding to the 1 st tax rate and the 2 nd total value corresponding to the 2 nd tax rate are stored so that the calculation result of the tax calculation executed after the four-rule calculation and the calculation result of the tax calculation executed before the four-rule calculation are added together.
Description
The application is a division of patent application of the application with the application date of 2019, 8-month and 16-date, the application number of 201910757759.7 and the application name of calculator, calculating method and storage medium.
Technical Field
The present invention relates to an electronic device, a calculation support method, and a program for performing tax calculation.
Background
In recent years, some tax calculators (electronic calculators) have a function of performing tax calculation using a tax rate set in advance. For example, the electronic calculator described in patent document 1 performs an arbitrary four-rule operation, and in a state where a numerical value (amount) to be a multiplication target is displayed, when a tax-containing key (confirm key) is operated, calculates and displays a tax-containing amount based on the 1st tax rate on the displayed numerical value. Also, when the tax-containing key (confirm key) is operated again, the tax-containing amount based on the 2 nd tax rate is calculated and displayed for the displayed numerical value.
The tax calculator described in reference 2 is provided with a plurality of tax calculation keys (tax calculation keys, tax-free calculation keys) corresponding to the tax rates, and a dedicated key (tax calculation total key) for calculating the total amount of tax. The tax calculator calculates and displays a tax amount based on a tax rate corresponding to each tax calculation key based on a numerical value normally calculated by an arbitrary four-law operation or a numerical value individually inputted in accordance with an operation on each tax calculation key. Further, a total of the tax-containing amounts calculated based on each of the plurality of tax rates is calculated and displayed.
Prior art literature
Patent literature
Patent document 1: japanese patent laid-open No. 10-143472
Patent document 2: japanese patent application laid-open No. 2017-174225
Disclosure of Invention
Problems to be solved by the invention
Conventionally, it has not been known that a 2 nd numerical value (e.g., a total of general calculations) related to a result of a 2 nd calculation (e.g., a general calculation, etc.) different from a1 st calculation (e.g., a tax calculation, etc.) can be displayed by an operation of the same key as that used for displaying a1 st numerical value (e.g., a total of tax calculations) related to a result of a1 st calculation (e.g., a tax calculation, etc.). And if the key for displaying the 1 st numerical value and the key for displaying the 2 nd numerical value are provided in the key input part, respectively, this occupies the space of two keys. .
The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a calculator, a calculation method, and a storage medium capable of displaying a numerical value related to the 1 st calculation and a numerical value related to the 2 nd calculation on a display unit based on the same operation.
Means for solving the problems
In order to solve the above-described problems, an electronic device according to the present invention is capable of performing tax calculation for deriving a tax-containing amount, a tax-free amount, or a tax amount as a calculation result, and includes: a storage control unit that separately adds up the calculation results when the execution instruction of the tax calculation is repeated between a case where the 1 st operation key for setting the 1 st tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted and a case where the 2 nd operation key for setting the 2 nd tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted, and stores the 1 st addition value corresponding to the 1 st tax rate and the 2 nd addition value corresponding to the 2 nd tax rate in a predetermined memory; and a display control unit that causes a predetermined display unit to display a calculation result of the tax calculation each time an instruction to execute the tax calculation is repeatedly performed, wherein when a predetermined four-rule operation is executed during the repetition, the storage control unit causes the predetermined memory to store a1 st total value corresponding to the 1 st tax rate and a2 nd total value corresponding to the 2 nd tax rate so as to total a calculation result of the tax calculation executed after the four-rule operation and a calculation result of the tax calculation executed before the four-rule operation.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present invention, the display unit can display the numerical value related to the 1 st calculation and the numerical value related to the 2 nd calculation based on the same operation.
Drawings
Fig. 1 is a front view showing an external configuration of a tax calculator according to the present embodiment.
Fig. 2 is a block diagram showing the configuration of an electronic circuit of the electronic calculator according to the present embodiment.
Fig. 3 is a flowchart for explaining the operation of the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 4 is a flowchart for explaining the operation of the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 5 is a flowchart for explaining the operation of the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 6 is a flowchart for explaining the operation of the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 7 is a flowchart for explaining the operation of the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 8 is a diagram showing a specific example of input operation and display for explaining the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 9 is a diagram showing a specific example of input operation and display for explaining the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 10 is a diagram showing a specific example of input operation and display for explaining the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 11 is a diagram showing a specific example of input operation and display for explaining the tax calculation function of the electronic calculator according to the present embodiment.
Fig. 12 is a diagram showing an example of a billing sheet format used in retail stores in india.
Detailed Description
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Fig. 1 is a front view showing an external configuration of a tax calculator according to the present embodiment. In the present embodiment, the tax calculator is implemented as the calculation-dedicated electronic calculator 10.
In addition to the electronic calculator 10, the tax calculator may be configured as a personal computer, a tablet computer, a smart phone, a mobile phone, a touch-screen PDA (personal digital assistant), an electronic book, a portable game machine, or the like having a calculation function (a calculation processing program is installed). A tax calculator such as the electronic calculator 10, to which no physical key (button) is attached, displays a soft keyboard similar to the key of the electronic calculator 10, and performs calculation processing based on a key operation performed on the soft keyboard.
The electronic calculator 10 of the present embodiment is provided with a tax calculation function of performing tax calculation based on a plurality of tax rates, for example, 5 tax rates. For example, in india, 5 tax rates (0%, 5%, 12%, 18%, and 28%) are used as consumption tax. Therefore, the electronic calculator 10 of the present embodiment is suitable for calculating tax amounts of products in which a plurality of 5 or less consumption tax types are mixed in india and the like.
A key input unit 11 including a plurality of keys, a display unit 12, and a solar panel 13 are provided on the front surface of the housing of the electronic calculator 10. The key input unit 11 is provided with numeric keys, operation keys, tax calculation function keys, and calculation function keys. The numerical keys include, for example, a plurality of keys corresponding to [00] [0] to [9], respectively. The operation keys include a plurality of keys corresponding to, for example, [ + ] (addition operation) key 11h1, [ - ] (subtraction operation) key 11h2, [ × ] (multiplication operation) key 11h3, [ ≡division operation) key 11h4, and [ (= ] (operation execution) key 11h0, which are used for normal computation based on four arithmetic operations.
TAX calculation function keys are provided with a TAX calculation key ([ GST+n (TAX-n) ]) 11b, a TAX calculation total key ([ GST GT (GT) ]) 11c, and a TAX calculation mode switching key ([ GST+/TAX- ]) 11d. Herein, GST refers to a shorthand notation that means the consumption tax in india as opposed to "Goodsand Service Tax". The character string in "[ ] (except for the character string in" ()) represents the character string printed on the key top of each tax calculation key 11b, and the character string in "(]) further represents the character string printed on the front face of the housing of the electronic calculator 10 for convenience. In the present specification, the same reference numerals are used not only for the tax calculation key 11 b.
TAX calculation keys ([ GST+n (TAX-n) ]) 11b include a TAX 0 calculation key ([ GST+0 (TAX-0) ]) 11b0, a TAX 1 calculation key ([ GST+1 (TAX-1) ]) 11b1, a TAX 2 calculation key ([ GST+2 (TAX-2) ]) 11b2, a TAX 3 calculation key ([ GST+3 (TAX-3) ]) 11b3, and a TAX 4 calculation key ([ GST+4 (TAX-4) ]) 11b4. The TAX 0 calculation key [ ([ gst+0 (TAX-0) ]) 11b0 is operated to input an execution instruction of TAX calculation using the TAX rate 0. Similarly, TAX 1 calculation keys (([ GST+1 (TAX-1) ]) 11b1, TAX 2 calculation keys ([ GST+2 (TAX-2) ]) 11b2, TAX 3 calculation keys ([ GST+3 (TAX-3) ]) 11b3, TAX 4 calculation keys ([ GST+4 (TAX-4) ]) 11b 4) are operated to input instructions for executing TAX calculations using TAX rate 1, TAX rate 2, TAX rate 3, TAX rate 4, respectively. In the present specification, "n" is used instead of each numerical value of 0 to 4 when the TAX calculation key ([ gst+n (TAX-n) ]) 11b is expressed in this way. In the present specification, the tax calculation key 11b is not limited to this, and the description will be made using "n" without using a specific numerical value unless any numerical value (an integer of 0 to 4) among all the numerical values that are preferable for "n" is particularly limited.
1 TAX calculation key 11b (TAX n calculation keys 11b0 to 11b 4) serves as both TAX-containing calculation keys [ GST+n ] and TAX-free calculation keys [ TAX-n ]. TAX calculation keys 11b (TAX n calculation keys 11b0 to 11b 4) are used as TAX-containing calculation keys [ gst+n ] or TAX-free calculation keys [ TAX-n ] in accordance with the TAX calculation mode switched key ([ gst+/TAX- ]) 11 d. By sharing 1 TAX calculation key 11b as TAX calculation key [ gst+n ] and TAX-free calculation key [ TAX-n ], the limited area of the front face of the housing is effectively used, and keys capable of executing TAX-containing calculation processing and TAX-free calculation processing corresponding to a plurality of (5) TAX rates, respectively, are provided.
In addition, tax rates (tax rate 0 to tax rate 4) assigned to the tax calculation keys 11b (tax n calculation keys 11b0 to 11b 4) are preset in the electronic calculator 10 at the time of factory shipment. For example, in the tax n calculation keys 11b0 to 11b4, 5 kinds of tax rates (0%, 5%, 12%, 18%, 28%) are set according to india use. The tax rates (tax rate 0 to tax rate 4) assigned to the tax n calculation keys 11b0 to 11b4 can be arbitrarily set by the user operation.
Tax calculation total key ([ Gstgt (GT) ]) 11c serves as both a total key ([ GT ] key) for displaying a total for general calculation (basic calculation) such as four-rule calculation or constant calculation and a GST total key ([ gstgt ] key) for displaying a total for the calculation result of tax calculation. In addition, in the case where the tax calculation total key 11c functions as a GST total key, the tax calculation is executed, and the processing mode of the electronic calculator 10 shifts to the tax total call mode (GST GT call mode). On the other hand, when the tax calculation total key 11c functions as a total key, the processing mode of the electronic calculator 10 is not particularly changed, but only the numerical value stored in the total storage area 22h is called up and displayed on the display unit 12. Regarding these processes, details will be described later using fig. 4.
The tax calculation total key 11c functions as either a sum key ([ GT ] key) or a GST sum key ([ gstgt ] key) based on the operation state immediately before the tax calculation total key 11c is operated. Specifically, when the tax calculation total key 11c is pressed during the period in which the result of the tax calculation performed is displayed on the display unit 12 immediately after the tax calculation is performed by the operation of the tax calculation key 11b, for example, when the processing mode of the electronic calculator 10 is not the tax total call mode, the tax calculation key 11b functions as a GST total key ([ GST GT ] key) for displaying the total of the calculation results of the tax calculation. In addition, when the processing mode of the electronic calculator 10 is not the tax total call mode, for example, after the normal calculation is performed immediately after the operation of the calculation execution key (= ] key) 11h0, that is, after the normal calculation is performed, when the tax calculation total key 11c is pressed while the result of the performed normal calculation is displayed on the display section 12, that is, when the tax calculation is not performed immediately after the operation of the tax calculation key 11b, the tax calculation key 11b functions as a total key ([ GT ] key for displaying the total of the normal calculation (basic calculation). The time for which the tax calculation total key 11c is pressed is shorter than a predetermined arbitrary time, and is shorter than the time for which the "long press" described later is performed. In the present specification, for convenience, a short-time pressing operation is described as a "short pressing" or a normal pressing operation.
When an operation (for example, a long press) different from a normal press operation is performed, the tax calculation total key 11c functions as a key opposite to the above. That is, for example, in the case where the tax calculation total key 11c is pressed for a long time immediately after the tax calculation is performed by the operation of the operation tax calculation key 11b, the tax calculation total key 11c functions as a total key ([ GT ] key). In addition, for example, in the case where the tax calculation total key 11c is pressed long after the normal calculation is performed by operating the arithmetic operation execution key (= ] key) 11h0, that is, not in the case where the tax calculation is performed immediately after the tax calculation is performed by the operation of the tax calculation key 11b, the tax calculation total key 11c functions as a GST total key ([ GST GT ] key). The operation of the tax calculation total key 11c different from the normal operation may be other operations than the long-press operation (the operation of continuing the pressed state for the predetermined arbitrary time or longer).
The function keys include, for example, a clear-all key ([ AC ] key 11 a), a clear key ([ C ] key), a plurality of memory keys ([ MRC ] [ M- ] [ m+ ]), a root key ([ v ] key), a [% ] key 11g, and the like. The [% ] key 11g is used to start, in addition to the calculation of the percentage, a tax rate setting process for setting the tax rate corresponding to each of the tax calculation keys 11b (tax n calculation keys 11b0 to 11b 4) to a value input by a key operation.
The checking function key is a key used in a checking function for confirming/correcting the content of a calculation performed before. Among the checking function keys, a confirmation key ([ CHECK BACK ] key 11e, [ CHECK FOWARD ] key 11 f) and a correction key ([ CORRECT ] key) 11k are included. The [ CHECK BACK ] key 11e and the [ CHECK FOWARD ] key 11f are keys for switching and displaying the contents (calculation data) of the calculation performed before in units of steps. When the [ CHECK BACK ] key 11e is operated, the calculation data of the step which is switched to the direction having the smaller number of steps is displayed, and when the [ CHECK FOWARD ] key 11f is operated, the calculation data of the step which is switched to the direction having the larger number of steps is displayed. In addition, 1 step is in units of "number) +function" input for calculation. In the "function", a code of a key operated for four operations, tax-containing calculation, tax-free calculation, and the like is stored. The correction key 11k is a key for indicating correction of the calculation content ("set number+function") displayed by operation of the [ CHECK BACK ] key 11e or the [ CHECK FOWARD ] key 11 f. By inputting the corrected calculation content after the correction key 11k is operated, the displayed calculation data that was previously input can be corrected.
The loop selector 11y sets the calculation method of the mantissa processing. For example, the "F" setting designates that the display section 12 displays the displayable maximum bit including the decimal point and thereafter. The "CUT" setting specifies the truncation of the bit specified by the decimal point selector 11 z. The "UP" setting specifies the carry of the bit specified by the decimal point selector 11 z. The "5/4" setting specifies rounding of the bits specified by the decimal point selector 11 z. The decimal point selector 11z sets the number following the decimal point to be displayed in several digits on the display section 12. The "ADD2" setting is a decimal point setting in which the input numerical value is specified to a predetermined number of digits.
The display unit 12 is constituted by a dot matrix type liquid crystal display unit. The numerical value input by the operation of the key input unit 11 is displayed on the display unit 12. A limited number of lines (for example, 1 line) is displayed on the display unit 12. Further, in a state display area provided along the side of the display unit 12, characters and symbols (symbols) indicating the calculation mode in setting and various setting states are displayed. For example, the number of steps 12a, tax calculation mode symbol 12b, tax calculation key symbol 12c, tax total call mode symbol 12d, total display symbol 12e, storage symbol 12f, and the like are displayed in the status display area. In fig. 1, all the symbols that can be displayed on the same screen are conveniently displayed for the purpose of describing the status display area, but in any status that can be obtained by the electronic calculator 10, the display of a large number of symbols on the same screen is not limited to the above.
The step number 12a indicates the position of the current display object step in which the "number of positions+function" inputted by the operation of the key input unit 11 is 1 step. The TAX calculation mode symbol 12b indicates a current TAX calculation mode, and indicates, for example, [ gst+ ] in the case of the TAX calculation mode in which the TAX calculation is performed, and indicates, [ TAX- ] in the case of the TAX calculation mode in which the TAX calculation is not performed.
The tax calculation key symbol 12c is a symbol indicating any one of a tax rate for tax calculation and tax-containing calculation or tax-free calculation in the case where tax calculation is performed by operation of the tax calculation key 11 b. When the tax calculation key 11b is used as the tax-containing calculation key [ gst+n ], any one of [ gst+0], [ gst+1], [ gst+2], [ gst+3] and [ gst+4] corresponding to the tax rates 0 to 4 is displayed. In addition, when the TAX calculation key 11b is used as the TAX-free calculation key [ TAX-n ], any one of [ TAX-0], [ TAX-1], [ TAX-2], [ TAX-3] and [ TAX-4] corresponding to the TAX rates 0 to 4 is displayed.
The tax total call mode symbol 12d is a symbol indicating that the tax calculation total key ([ Gstgt (GT) ] 11 c) is operated to transition to the tax total call mode (gstgt call mode), and for example, "RCL" is displayed. In the tax total call mode, the total amount of tax calculated for each tax rate (tax rates 0 to 4) can be displayed in a switching manner, based on the key operation on the tax calculation total key 11c, with the total amount of tax included, the total amount of tax not included, and the total amount of tax calculated. In the tax total call mode, the tax calculating key 11b is operated to designate tax rates (tax rates 0 to 4) to be displayed, and the tax-containing total amount, the non-tax-containing total amount, and the tax total amount can be displayed in a switching manner as the designated total of tax calculation for each tax rate.
The total display symbol 12e is a symbol indicating that the calculation result of the normal calculation performed by the operation of the operation execution key = ]11h0 is stored in the total storage area 22h, and for example, "GT" is displayed. The storage symbol 12f is a symbol indicating that a numerical value is stored by the storage function according to an operation of the storage key ([ M- ] [ m+ ]).
The solar panel 13 generates power when the electronic calculator 10 is used with a brightness level of illuminance of ambient light. The solar panel 13 functions as a power supply unit 26 (shown in fig. 2) of the electronic calculator 10 during power generation, and supplies power to each unit of the electronic calculator 10. When the solar panel 13 does not generate electricity, power is supplied to each part of the electronic calculator 10 by a primary battery as the power supply part 26 provided separately to the electronic calculator 10.
Fig. 2 is a block diagram showing the configuration of an electronic circuit of the electronic calculator 10 according to the present embodiment. The electronic circuit of the electronic calculator 10 includes a plurality of units constituting a computer including a CPU 21.
The CPU21 controls the operations of the respective parts of the circuit by executing a calculation processing program 22a stored in the memory 22. When an input operation to the key input section 11 is performed, the CPU21 detects the key to which the input operation is performed based on the key input signal from the key input section 11, and performs various calculation processes corresponding to the detected keys. The electronic calculator 10 realizes a calculation process including a process by a calculation function described in the following operation description by the CPU21 controlling operations of the respective units of the circuit in accordance with commands described in the calculation processing program 22a, and by cooperation of software and hardware.
The calculation processing program 22a may be stored in the memory 22 in advance, may be read from an external recording medium 23 such as a memory card via the recording medium reading section 24, or may be downloaded from a server 30 on a communication network N (including the internet or the like) via the communication section 25.
The memory 22 is provided with an area for storing the following data in addition to the calculation processing program 22 a: an area (tax memory) storing the calculation result of tax calculation, an aggregate storage area 22h, a tax aggregate call pattern area 22k, a tax calculation pattern area 22m, a buffer storage area 22n, a display storage area 22p, a tax rate storage area 22r, and the like. The tax memory (1 st memory) includes a tax rate 0 total storage area 22b, a tax rate 1 total storage area 22c, a tax rate 2 total storage area 22d, a tax rate 3 total storage area 22e, a tax rate 4 total storage area 22f, and a tax total storage area 22g. In the following description, the tax rate 0 total storage area 22b, the tax rate 1 total storage area 22c, the tax rate 2 total storage area 22d, the tax rate 3 total storage area 22e, and the tax rate 4 total storage area 22f will be collectively referred to as tax total storage areas 22b to 22f that are distinguished by tax rates.
The tax rate 0 total storage area 22b is an area for storing data calculated by tax calculation based on the tax rate 0. The tax rate 0 total storage area 22b stores a numerical value of the result of tax-containing calculation based on the tax rate 0. Specifically, the total amounts of the tax-containing amount (0 th tax-containing amount), the tax amount (0 th tax amount), and the non-tax amount (0 th non-tax amount) which are the results of the tax-containing calculation of the tax rate 0 of 1 or more times after the last input operation to the [ AC ] key 11a are stored as the 0 th tax-containing total amount, the 0 th non-tax-containing total amount, and the 0 th tax total amount, respectively.
Similar to the tax rate 0 total storage area 22b described above, the tax rate 1 total storage area 22c, the tax rate 2 total storage area 22d, the tax rate 3 total storage area 22e, and the tax rate 4 total storage area 22f are areas for storing data calculated by tax calculation based on the tax rates 1 to 4, respectively. Detailed description is omitted.
The tax total storage area 22g is an area for storing data indicating the total of numerical values calculated by tax calculation based on all tax rates 0 to 4. In the tax total storage area 22g, a tax-containing total amount, a non-tax-containing total amount corresponding to the tax-containing total amount, and a tax-containing total amount corresponding to the tax-containing total amount, which are added up to the 0 th to 4 th tax-containing total amounts, are stored in accordance with an input operation of the tax calculation total key 11 c.
The total storage area 22h is an area for storing data indicating the total of the numerical values calculated by the normal calculation (the 2 nd memory). In the total storage area 22h, a calculation result of the normal calculation is calculated by an operation of the operation execution key = ]11h0, and a numerical value as the calculation result is added to the numerical value stored in the total storage area 22 h.
The tax total call mode region 22k sets a tax total call mode flag indicating whether or not the tax total call mode is in the call mode state to the on state or the off state, based on an input operation to the tax calculation total key 11 c. When the tax calculation total key 11c is pressed immediately after tax calculation based on the operation of the tax calculation key 11b, or when the tax calculation total key 11c is pressed for a long time immediately after normal calculation, the tax total call mode is turned on (transition to the tax total call mode). Further, when, for example, the [ AC ] key 11a is operated as a predetermined instruction for turning off the tax total call mode, the tax total call mode is turned off. Further, the switching of on/off of the tax total call mode is not limited to the operation of the tax calculation total key 11c and the [ AC ] key 11 a. For example, the on/off state of the tax total call mode may be switched according to other key operations or the processing result of the electronic calculator 10.
When the tax total calling mode is in the on state, the tax calculation total key 11c is operated (pressed) and displayed in the tax total storage area 22g, while switching among the tax-containing total amount, the non-tax-containing total amount, and the tax total amount. When the tax total calling mode is on, the tax calculation key 11b (tax n calculation keys 11b0 to 11b 4) is operated (pressed), and the tax total amount, the non-tax total amount, and the tax total amount stored in the tax total storage areas 22b to 22f, which are divided by the tax rate, can be switched and displayed.
When the numeric key and the operation key of the key input unit 11 are input, the on state of the tax total call mode is maintained. Therefore, by the input operation of the tax calculation total key 11c or the tax calculation keys 11b (11 b0 to 11b 4), the normal calculation using the numeric key and the operation key can be performed while displaying the result of the tax calculation and confirming it. In the normal calculation in the on state of the tax total call mode, the display unit 12 is caused to display a numerical value as a result of the tax calculation, and four arithmetic operations and the like can be performed on the number of positions displayed on the display unit 12.
The tax calculation mode region 22m stores tax calculation mode data indicating which state of the tax-containing calculation mode or the tax-free calculation mode is switched according to the input operation to the tax calculation mode switching key 11 d.
The buffer memory area 22n stores the inputted digits to be combined with the last inputted function and form a unit. The display memory area 22p stores the numerical value displayed on the display unit 12 at this time. For example, when the numerical value "100" as a setting number and the TAX 1 calculation key ([ gst+1 (TAX-1) ]) 11b1 as a function are sequentially operated by the operation of the numerical key, the numerical value "100" as a setting number is stored in the buffer memory area 22n, the numerical value "105" is stored in the display memory area 22p (wherein, when the TAX rate 1 is set to 5%), the numerical value "105" is displayed on the display unit 12 as a result of TAX-containing calculation of the TAX rate 1. In this way, the respective values stored in the buffer memory area 22n and the display memory area 22p are sequentially overwritten and updated according to the latest input operation.
The tax rate storage area 22r stores numerical values indicating tax rates 0 to 4 set to the tax calculation keys 11b (tax n calculation keys 11b0 to 11b 4), respectively. For example, at the time of factory shipment, 5 tax rates (0%, 5%, 12%, 18%, and 28%) are set to tax n calculation keys 11b0 to 11b4 according to use in india. In this case, in the tax rate storage area 22e, the values of "0", "5", "12", "18", and "28" are stored for the tax rates 0 to 4 corresponding to the tax n calculation keys 11b0 to 11b4, respectively.
Next, the operation of the electronic calculator 10 of the present embodiment will be described. Fig. 3, 4, 5, 6, and 7 are flowcharts for explaining the operation of the tax calculation function of the electronic calculator 10 according to the present embodiment. Fig. 8, 9, 10 and 11 are diagrams showing specific examples of input operations and displays for explaining the tax calculation function of the electronic calculator 10 according to the present embodiment.
In the following description, the TAX rate 1 corresponding to the TAX 1 calculation key ([ gst+1 (TAX-1) ] 11b1 is set to 5%, and will be described conveniently.
First, the user operates (presses) [ AC ] key 11a in order to clear the display and the contents of the memory before starting the calculation. If the [ AC ] key 11a is operated (step A9: yes), the CPU21 clears all of tax total storage areas 22b to 22f, tax total storage area 22g, total storage area 22h, buffer storage area 22n and display storage area 22p of the memory 22, which are discriminated by tax rate (step A12). The CPU21 turns off the tax total call mode flag stored in the tax total call mode region 22k (step a 13). When the [ AC ] key 11a is operated in a state where the numerical value such as the previous tax calculation result is displayed, the CPU21 clears the numerical value displayed previously and displays "0". In addition, when the [ AC ] key 11a is operated in a state where the previous symbol is displayed in the state display area of the display section 12, the CPU21 clears the previously displayed symbol so as not to be displayed.
Immediately after the input operation of the [ AC ] key 11a, in the case where the input operation to the tax calculation key 11b (any one of the tax n calculation keys 11b0 to 11b 4) is detected (yes in step a 19), a117: yes), the CPU21 reads out the tax rate set for any one of the tax n calculation keys 11b0 to 11b4 subjected to the input operation from the tax rate storage area 22r of the memory 22, and displays the tax rate on the display unit 12 (step a 118). For example, in the case where the tax 1 calculation key 11b1 is operated immediately after the input operation of the [ AC ] key 11a, the CPU21 reads out the numerical value representing the tax rate 1 (5%) set in the tax 1 calculation key 11b1 from the tax rate storage area 22r, and displays "5" on the display section 12.
Here, when an input operation to the tax calculation key 11b (any one of the tax n calculation keys 11b0 to 11b 4) is detected without continuing to operate other keys than the tax calculation key 11b (yes in step a19: yes in step a 117), that is, when the key operation of the tax calculation key 11b is continued, the CPU21 reads any one of the tax rates 0 to 4 set to the tax calculation key 11b to which the input operation is performed from the memory 22 in the same manner as described above, and displays the tax rate on the display unit 12 (step a 118).
That is, if the tax calculation keys 11b (tax n calculation keys 11b0 to 11b 4) are continuously operated immediately after the input operation of the [ AC ] key 11a, the tax rates 0 to 4 set for the respective tax calculation keys 11b can be continuously switched and displayed. In addition, after the last input operation is performed on the [ AC ] key 11a, when the input operation of only the tax calculation key 11b is continuously performed 2 or more times, the input operation of the tax calculation key 11b 2 nd and subsequent times is not strictly performed immediately after the input operation of the [ AC ] key 11a, but in this specification, such input operation is also regarded as being performed immediately after the input operation of the [ AC ] key 11 a. Further, after the input operation is finally performed on the [ AC ] key 11a, as long as the input operation other than the tax calculation key 11b is performed 1 time, the input operation of the tax calculation key 11b performed thereafter is not regarded as being performed immediately after the input operation of the [ AC ] key 11 a.
Next, if the user operates the numeric key to input the numeric value that is the object of calculation (yes in step a 10), the CPU21 inputs the numeric value (numeric value code) corresponding to the numeric key of the input operation, stores the input numeric value in the display storage area 22p, and displays it on the display section 12 (step a 15).
Next, if the operation key is operated (step a11: yes), the CPU21 inputs an operation (operation code) corresponding to the operation key of the input operation, and displays an operation (symbol) symbol of the inputted operation in the state display area of the display unit 12 (step a 16).
The CPU21 performs an operation based on the inputted operation code and the inputted numerical value code, and stores the numerical value of the result in the middle of the operation in the display storage area 22p and displays the numerical value on the display unit 12. In the following, similarly, by repeating the input of the numerical code and the operation code, the CPU21 sequentially stores the inputted numerical code and operation code. When the operation execution key "=" (equivalent) 11h0 is operated by the user operation (yes in step a 17), the CPU21 inputs the operation code corresponding to the operation execution key ("=" key) 11h0 of the input operation, performs calculation corresponding to the numerical code and the operation code inputted so far, stores the numerical value of the calculation result in the display storage area 22p, and displays it on the display unit 12. The CPU21 also stores the numerical value, which is a result of the normal calculation corresponding to the numerical value code and the operation code, in the total storage area 22h (step a 18). In the case where the total storage area 22h has stored the numerical value, the CPU21 adds the numerical value as a result of the normal calculation to the previously stored numerical value, and stores it in the memory 22. In the case where the operation execution key "=" (equivalent) 11h0 is not operated by the user operation (step a17: no), the CPU21 returns to the standby state of the input operation.
When an input operation of the tax calculation key 11b is detected in a state in which a numerical value is displayed on the display section 12 (yes in step a 19. Fwdarw.a117. No), the CPU21 performs tax calculation on the numerical value (number of places) displayed on the display section 12, that is, the numerical value stored in the display storage area 22p, using the tax rate set as any one of the tax n calculation keys 11b0 to 11b4 on which the input operation is performed, except for the input operation of the [ AC ] key 11 a. The numerical value to be subjected to tax calculation is not limited to the numerical value displayed by normal calculation, and may be inputted only by an input operation of a numerical key.
The tax calculation key 11b (each of the tax n calculation keys 11b0 to 11b 4) serves as both a key for performing tax-containing calculation and a key for performing tax-free calculation. When the tax calculation key 11b is operated, the CPU21 refers to the tax calculation mode area 22m to determine which of the tax-containing calculation mode and the tax-free calculation mode the current tax calculation mode is. Here, in the case where the current tax calculation mode is the tax calculation mode (step a110, tax is included), the CPU21 executes the tax calculation, and executes the tax calculation process of displaying the result of the tax calculation according to the key operation (step a 111). Further, in the case where the current tax calculation mode is the tax-free calculation mode (step a110, tax-free), the CPU21 performs tax-free calculation, and performs tax-free calculation processing that displays the result of the tax calculation according to the key operation (step a 112).
Further, the tax calculation mode is switched by the operation of the tax calculation mode switching key 11 d. When the operation of the tax calculation mode switching key 11d is detected (step A14: yes), the CPU21 refers to the tax calculation mode area 22m to determine which of the tax-containing calculation mode and the tax-free calculation mode the current tax calculation mode is.
Here, when the current tax calculation mode is the tax-containing calculation mode (step a113, including tax), the CPU21 stores tax calculation mode data indicating the tax-free calculation mode in the tax calculation mode area 22m (step a 114). The CPU21 also displays a TAX calculation mode symbol 12b ([ TAX- ]) indicating that the TAX calculation mode is not included in the state display area of the display unit 12 (step a 116).
On the other hand, when the current tax calculation mode is the tax-free calculation mode (step a113, tax-free), the CPU21 stores tax calculation mode data indicating the tax-free calculation mode in the tax calculation mode area 22m (step a 115). The CPU21 also displays a tax calculation mode symbol 12b ([ gst+ ]) indicating the tax calculation mode in the status display area of the display unit 12 (step a 116).
When the tax calculation mode is switched according to the operation of the tax calculation mode switching key 11d, the CPU21 maintains the calculation results (including no tax total amount, including tax total amount, and tax total amount) stored in the tax total storage areas 22b to 22f, which are divided according to the tax rate, unchanged. Therefore, in the case of mixed execution of tax-containing calculation and tax-free calculation, even if the tax calculation mode is switched, the calculation result in the middle of calculation is maintained.
Next, the tax-containing calculation processing in the present embodiment will be described with reference to a flowchart shown in fig. 5.
When the tax 0 calculation key 11B0 is operated (yes in step B1), the CPU21 executes tax rate 0 calculation processing using the tax rate 0 set to the tax 0 calculation key 11B0 (step B6). Similarly, when the tax 1 calculation key 11B1 is operated (yes in step B2), the CPU21 executes the tax rate 1 calculation process (step B10), when the tax 2 calculation key 11B2 is operated (yes in step B3), executes the tax rate 2 calculation process (step B3), when the tax 3 calculation key 11B3 is operated (yes in step B4), executes the tax rate 3 calculation process (step B8), and when the tax 4 calculation key 11B4 is operated (yes in step B5), executes the tax rate 4 calculation process (step B9).
The tax rate 0 calculation process, the tax rate 1 calculation process, the tax rate 2 calculation process, the tax rate 3 calculation process, and the tax rate 4 calculation process each perform substantially the same process. Here, the tax rate 1 calculation process will be described, and detailed description of other calculation processes will be omitted.
Fig. 6 is a flowchart for explaining tax rate 1 calculation processing of tax-containing calculation processing in the present embodiment.
When an input operation of the tax 1 calculation key 11B1 is detected (step B2: yes), the CPU21 refers to the tax total calling mode area 22k to determine whether or not the tax total calling mode is in an off state. The tax total call mode is transitioned to the on state by the operation of the tax calculation total key 11 c. The transition to the on state of the tax total call mode is executed in step a28 described later.
Here, when the tax total call mode is in the off state (yes in step B21), the CPU21 reads out the value (set number) stored in the display storage area 22p, calculates the tax-containing amount and the tax amount based on the non-containing tax and the tax rate 1 ("5%") which is the tax rate corresponding to the tax calculation key 11B for the input operation, and stores the calculated tax-containing amount and the calculated tax amount in the tax rate 1 total storage area 22c together with the non-containing tax indicated by the displayed value (step B22). Further, the CPU21 stores the value for tax-containing calculation stored in the display storage area 22p in the buffer storage area 22n, and stores the value of tax-containing calculated on the basis of the tax rate 1 in the display storage area 22p (step B23). The CPU21 displays the calculated tax amount based on the tax rate 1 on the display unit 12 (step B24).
In addition, in the period from when the [ AC ] key 11a is finally input to when the step B22 is executed this time, when the step B22 is executed 1 or more times before the step B22 is executed this time, the non-tax-containing amount or the total amount thereof, the tax-containing amount or the total amount thereof, and the tax amount or the total amount thereof calculated in the step B22 executed 1 or more times before the step B22 is executed this time are stored in the tax rate 1 total storage area 22c. Thus, if no tax amount or its total amount, tax amount or its total amount has been stored in the tax rate 1 total storage area 22c at the time of executing step B22, the no tax amount, tax amount and tax amount calculated at the time of executing step B22 at this time are added to each of the stored no tax amount or its total amount, respectively. Thus, the tax-containing amount, the total amount of the tax-containing amount, and the tax-containing amount, which are obtained by the tax-containing calculation (step B22) of all tax rates 1 of 1 or more times, executed after the operation AC key 11a is input last, are stored in the tax rate 1 total storage area 22c.
In this way, the CPU21 can continue to instruct tax-containing calculation of a plurality of values (digits) according to the input operation to the tax 1 calculation key 11b 1.
In addition, in a state in which the tax-containing amount is displayed, by continuing to operate the tax 1 calculation key 11b1 operated to instruct tax calculation, it is possible to switch the respective displays of the tax-containing amount, the non-tax-containing amount, and the tax amount. For example, when the tax-containing amount calculated based on the tax rate 1 is displayed (step B24), if the tax 1 calculation key 11B1 is operated (step B25: yes), the CPU21 reads out the numerical value (set number) stored in the buffer memory area 22n and displays it as the tax-free amount (step B26). As described above, at this time, i.e., immediately after the tax-containing calculation (immediately after steps B22, B23 are performed), the value for the tax-containing calculation, which does not contain tax, is stored in the buffer storage area 22n. When the tax-free amount is displayed (step B26), and when the tax 1 calculation key 11B1 is operated (step B27: yes), the CPU21 reads out the value (the tax-free amount) stored in the buffer memory area 22n, recalculates the tax amount based on the read-out value and the tax rate 1, and causes the display unit 12 to display the value (step B28). When the tax 1 calculation key 11B1 is then operated (step B29: yes), the CPU21 reads the value (no tax amount) stored in the buffer storage area 22n, recalculates the tax amount based on the read value and the tax rate 1, and causes the display section 12 to display the value (step B24).
In this way, after calculating the tax amount based on the operation of the tax 1 calculation key 11b1, the electronic calculator 10 can sequentially switch and display each display of the tax amount, the non-tax amount, and the tax amount for each operation of the tax 1 calculation key 11b 1. Therefore, the tax-containing amount, the non-tax-containing amount, and the tax amount can be easily confirmed.
On the other hand, when the tax total calling mode is on (no in step B21), the CPU21 reads out the 1 st tax-containing total amount indicating the total of tax-containing amounts calculated by the tax rate 1 for at least one of the numerical values from the tax rate 1 total storage area 22c and displays the same on the display unit 12 (step B30). The transition to the on state of the tax total call mode will be described later.
When the tax 1 calculation key 11B1 is operated while the 1 st tax-containing total amount is displayed (yes in step B31), the CPU21 reads out and displays the 1 st tax-free total amount (total of tax-free amounts) corresponding to the 1 st tax-containing total amount from the tax rate 1 total storage area 22c (step B32). When the tax 1 calculation key 11B1 is operated in a state in which the 1 st tax-free amount is displayed (yes in step B33), the CPU21 reads out and displays the 1 st tax total amount (total of tax amounts) corresponding to the 1 st tax-containing total amount from the tax 1 total storage area 22c (step B34). When the tax 1 calculation key 11B1 is operated while the 1 st tax total amount is displayed (yes in step B35), the CPU21 reads out and displays the 1 st tax-containing total amount from the tax rate 1 total storage area 22c (step B30).
That is, the electronic calculator 10 can sequentially switch to display the 1 st tax-containing total amount, the 1 st non-tax-containing total amount, and the 1 st tax-containing total amount calculated based on the tax rate 1, each time the tax 1 calculating key 11b1 is operated in the on state of the tax total call mode. Therefore, after tax calculation is performed on a plurality of numerical values by the tax rate 1, the 1 st tax-containing total amount, the 1 st non-tax-containing total amount, and the 1 st tax-containing total amount can be easily confirmed as calculation results of the plurality of tax calculations using the tax rate 1.
When the tax total call mode is in the on state (no in step B21), and when any one of the plurality of tax calculation keys 11B (11B 0 to 11B 4) is detected to be operated (no in step B31, no in step B33, no in step B35), the CPU21 shifts to the calculation processing corresponding to the operated tax calculation key 11B (steps B36 to B39), and executes the same processing as in steps B21 to B35.
For example, when it is detected that the tax 0 calculation key 11B0 is operated in a state where any one of the 1 st tax-containing total amount, the 1 st tax-free total amount, and the 1 st tax-containing total amount is displayed (step B31: no, step B33: no, step B35: no→step B36: yes), the CPU21 shifts to the tax rate 0 calculation process (step B6). In this case, since the tax total calling mode is in the on state, the CPU21 reads out and displays the 0 th tax-containing total amount (the total of tax-containing amounts of tax rate 0) from the tax rate 0 total storage area 22B in the same manner as in step B30 described above. When the tax 0 calculation key 11B1 is operated in a state where the 0 th tax-containing total amount is displayed, the CPU21 reads out and displays the 0 th tax-free total amount (the total of tax-free amounts of the tax rate 0) from the tax rate 1 total storage area 22c in the same manner as the step B32 described above. When the tax 0 calculation key 11B0 is operated in a state where the 0 th tax-free total amount is displayed, the CPU21 reads out and displays the 0 th tax total amount (the total of tax amounts of the tax rate 0) from the tax rate 0 total storage area 22B in the same manner as the step B34 described above.
Also, in the case where it is detected that the tax 2 calculation key 11B2 is operated (step B37: yes), the CPU21 shifts to the tax rate 2 calculation process (step B7), and the same process as described above is performed. When the tax 3 calculation key 11B3 is detected to be operated (yes in step B38), the CPU21 shifts to the tax rate 3 calculation process (step B8), and when the tax 4 calculation key 11B4 is detected to be operated (yes in step B27), the CPU21 shifts to the tax rate 4 calculation process (step B9), and the same processes as described above are executed. When it is detected that the tax calculation total key 11c is operated (yes in step B40), the CPU21 shifts to a process of displaying the total of the tax-containing total amount calculated by each tax rate, the non-tax-containing total amount, and the tax-containing total amount (processes in steps a29 to a214 described later). Further, in the case where the operation of the tax calculation total key 11c is not detected (step B40: NO), the CPU21 returns to the standby state of the input operation. In addition, in the tax rate 0 calculation process, the tax rate 2 calculation process, the tax rate 3 calculation process, and the tax rate 4 calculation process, if the operation of the tax 1 calculation key 11B1 is detected, as shown in fig. 5, the flow shifts to the tax rate 1 calculation process (step B10).
In each of the calculation processes of the tax rates 0 to 4, when the tax total call mode is in the on state, by operating the tax calculation key 11b corresponding to each other tax rate and shifting to another calculation process corresponding to the operated tax calculation key 11b, the tax-containing total amount, the non-tax-containing total amount, and the tax total amount calculated based on the tax rate corresponding to the other calculation process can be displayed.
Therefore, when the tax total calling mode is in the on state, by selecting any one of the plurality of tax calculation keys 11b (11 b0 to 11b 4), the tax-containing total amount, the non-tax-containing total amount, and the tax total amount calculated based on the tax rate corresponding to the operated tax calculation key 11b can be easily confirmed.
Next, the tax-free calculation processing in the present embodiment will be described with reference to a flowchart shown in fig. 7. Here, a case where the tax 1 calculation key 11b1 is operated will be described. The tax 0 calculation key 11b0, the tax 2 calculation key 11b2, the tax 3 calculation key 11b3, and the tax 4 calculation key 11b4 are operated, and the same processing as in the case where the tax 1 calculation key 11b1 is operated is performed, and detailed description thereof is omitted.
When it is detected that the tax 1 calculation key 11b1 is operated, the CPU21 reads out the numerical value (digit) stored in the display storage area 22p, and calculates a non-tax amount based on the tax amount and the tax rate 1 ("5%") which is the tax rate corresponding to the tax calculation key 11b operated by the input operation, using the read-out numerical value as the tax amount (step C13). Further, the CPU21 also stores the numerical value for tax-free calculation stored in the display storage area 22p in the buffer storage area 22n, and stores the numerical value for tax-free calculated on the basis of the tax rate 1 in the display storage area 22p (step C2). Further, the CPU21 displays the calculated tax free amount based on the tax rate 1 on the display unit 12 (step C3).
Further, in a state where no tax is displayed, by continuing to operate the tax 1 calculation key 11b1 operated for instructing tax calculation, it is possible to switch the display of no tax and no tax. For example, when the non-tax-containing amount calculated based on the tax rate 1 is displayed (step C3), if the tax 1 calculation key 11b1 is operated (step C4: yes), the CPU21 reads out the value (tax-containing amount) stored in the buffer memory area 22n, recalculates the tax amount based on the read-out value and the tax rate 1, and displays the value on the display unit 12 (step C5). When the tax 1 calculation key 11b1 is continuously operated (yes in step C6), the CPU21 reads out the numerical value stored in the buffer memory area 22n (no tax amount is included), and causes the display unit 12 to display the read-out numerical value (step C3).
In this way, after the tax-free amount is calculated according to the operation of the tax 1 calculation key 11b1, the electronic calculator 10 can alternately switch and display each display of the tax-free amount and the tax amount each time the tax 1 calculation key 11b1 is operated. Therefore, it is possible to easily confirm that tax and tax are not contained.
In the tax-free calculation process, even if the tax 1 calculation key 11b1 is operated, the tax-containing amount is not displayed. In the tax-containing calculation process, the calculation result calculated in response to the operation of the tax calculation key 11b is reflected (added) to the tax rate 1 total storage area 22c, but in the non-tax-containing calculation process, the calculation result is not reflected to the tax rate 1 total storage area 22c.
On the other hand, in step C3, the numerical value calculated by the tax-free calculation (tax-free amount is not included) can be used as the placement number, and the tax-containing calculation and the normal calculation using other tax rates can be continuously performed.
For example, in a market using a plurality of tax rates such as india, it is expressed in MRP (abbreviation of Maximum RETAIL PRICE and retail price=tax amount). Therefore, in the case of performing tax-containing calculation using other tax rates based on the tax-containing amount, it is necessary to re-perform tax-containing calculation corresponding to other tax rates after returning the tax-containing amount to the non-tax-containing amount, and calculate the non-tax-containing amount, the tax-containing amount, and the tax amount.
In the electronic calculator 10 of the present embodiment, when the tax-free calculation as described above is required in the middle of performing the tax-free calculation (the tax-free total amount, the tax-containing total amount, and the tax-total amount) on the plurality of numerical values, even if the tax-free calculation mode is switched from the tax-free calculation mode to the tax-free calculation mode, the data (calculation results up to the middle of the calculation) of the tax-rate-specific tax total storage areas 22b to 22f corresponding to the tax rates 0 to 4 are not discarded (cleared). Therefore, even in the case where tax-containing calculation and tax-free calculation are mixed and executed, the electronic calculator 10 can switch tax calculation modes and execute as needed, and thus can efficiently perform tax calculation.
Next, a process according to the present embodiment corresponding to an input operation to the tax calculation total key ([ Gstgt (GT)) 11c will be described with reference to a flowchart shown in fig. 4. The tax calculation total key 11c serves as both a total key ([ GT) key for displaying a total for a normal calculation (basic calculation) and a GST total key ([ gstgt ] key) for displaying a total for a calculation result of the tax calculation.
When the operation of the tax calculation total key 11c is detected (step A21: yes), the CPU21 judges whether or not the tax total call mode flag is in an on state (step A22). When it is determined that the tax total call mode flag is on (yes in step a 22), the CPU21 advances the process to step a29. In other words, regardless of whether or not the numerical value indicating the result of the execution of the tax calculation or the normal calculation is being displayed on the display unit 12, that is, regardless of the display content of the display unit 12, when it is determined that the tax total call mode flag is in the on state (yes in step a 22), the process proceeds to step a29. When it is determined that the tax total call mode flag is on (no in step A22), it is determined whether the operation of the tax calculation total key 11c is a normal press (the operation in the continuously pressed state is less than a predetermined time) or a long press (the operation in the continuously pressed state is continued for a predetermined time or longer).
Here, when it is determined that the normal pressing operation is performed (no in step a 23), the CPU21 determines whether or not the operation immediately before the tax calculation total key 11c is pressed is tax calculation. That is, the CPU21 determines whether or not the tax calculation total key 11c is operated immediately after the tax calculation according to the operation of the tax calculation key 11b, in other words, determines whether or not the tax calculation total key 11c is operated following the operation of the tax calculation key 11 b.
Here, when it is determined that the tax calculation total key 11c is operated immediately after the tax calculation (yes in step a 26), the CPU21 turns on the tax total call mode stored in the tax total call mode region 22k (step a 28). That is, the tax calculation total key 11c operated immediately after the tax calculation is used as a GST total key ([ gstgt ] key) for displaying the total of the calculation results concerning the tax calculation.
In this case, the CPU21 calculates the tax-containing total amount, the tax-free total amount, and the tax total amount, which are respectively added to the tax-containing total amount, the tax-free total amount, and the tax total amount calculated based on the tax rates 0 to 4 stored in the tax-rate-divided tax-total storage areas 22b to 22f, and stores the calculated tax-containing amount, the tax-free total amount, and the tax total amount in the tax-total storage area 22g. The CPU21 also stores the calculated total tax amount in the display storage area 22p and displays the total tax amount on the display unit 12 (step a 29).
When the tax-containing total amount is displayed (step A29), and when the tax calculation total key 11c is operated (step A210: yes), the CPU21 reads out the tax-free total amount from the tax total storage area 22g, stores the tax-free total amount in the display storage area 22p, and displays the tax-free total amount on the display unit 12 instead of the tax-containing total amount (step A211).
When the tax total amount is not included (step a 211), and when the tax calculation total key 11c is operated (yes in step a 212), the CPU21 reads out the tax total amount from the tax total storage area 22g, stores the tax total amount in the display storage area 22p, and displays the tax total amount on the display unit 12 instead of the tax total amount not included (step a 213).
When the tax total amount is displayed (step a 213), and when the tax calculation total key 11c is operated (yes in step a 214), the CPU21 reads out the tax-containing total amount from the tax total storage area 22g, stores the tax-containing total amount in the display storage area 22p, and displays the tax-containing total amount on the display unit 12 instead of the tax total amount (step a 29).
That is, the electronic calculator 10 of the present embodiment can calculate the tax-containing total amount based on the operation of the tax calculation total key 11c, and can sequentially switch the display to the tax-containing total amount, the non-tax-containing total amount corresponding to the tax-containing total amount, and the tax-containing total amount corresponding to the tax-containing total amount every time the tax calculation total key 11c is operated. Therefore, the tax-containing total amount, the non-tax-containing total amount, and the tax total amount can be easily confirmed.
On the other hand, when the operation immediately before the tax calculation total key 11c is pressed is not tax calculation, that is, it is determined that the tax calculation total key 11c is operated immediately after the normal operation calculation (no in step a 26), the CPU21 reads out the numerical value as the normal calculation result stored in the total storage area 22h, stores it in the display storage area 22p, and causes it to be displayed on the display section 12 (step a 27). That is, the tax calculation total key 11c operated immediately after the normal calculation is used as a total key ([ GT ] key) for displaying the total calculated by the normal calculation.
In this way, in the electronic calculator 10 of the present embodiment, 1 tax calculation total key 11c is provided on the front surface of the housing of a limited area, and serves as both the sum key ([ GT ] key) and the GST sum key ([ gstgt ] key). Since the tax calculation total key 11c switches the functions according to the state just after the tax calculation and immediately after the main operation calculation, the total calculated tax (including the total amount of tax, the total amount of no tax, and the total amount of tax) and the total calculated in general can be easily displayed.
In addition, in the case where the operation of the tax calculation total key 11c is detected (step A21: yes), in the case where it is determined that the operation of the tax calculation total key 11c is a long press operation (step A23: yes), the CPU21 performs processing so as to display a calculation result contrary to the case where the foregoing tax calculation total key 11c is pressed.
That is, in the case where the tax calculation total key 11c is pressed for a long time (yes in step A23), in the case where it is determined that the operation of the tax calculation total key 11c is performed immediately after the tax calculation (yes in step A24), the CPU21 reads out the numerical value stored in the total storage area 22h as a result of the normal calculation, stores it in the display storage area 22p, and causes it to be displayed on the display unit 12 (step A27).
If the tax calculation total key 11c is pressed for a long time (yes in step a 23), and if it is determined that the operation of the tax calculation total key 11c is not performed immediately after the tax calculation (no in step a 24), the CPU21 turns on the tax total call mode stored in the tax total call mode area 22k (step a 28), similarly to the above. The CPU21 calculates and stores the tax-containing total amount, the tax-free total amount, and the tax total amount, which are respectively added to the tax-containing total amount, the tax-free total amount, and the tax total amount, in the tax-containing total storage area 22g, based on the tax-containing amount, the tax-free total amount, and the tax total amount calculated based on the tax rates 0 to 4 stored in the tax-containing total storage areas 22b to 22f, which are respectively divided by the tax rates. The CPU21 also stores the calculated total tax amount in the display storage area 22p and displays the total tax amount on the display unit 12 (step a 29).
In this way, by pressing the tax calculation total key 11c for a long time, a process opposite to the case of the normal operation of pressing the tax calculation total key 11c can be performed. Thus, regardless of whether or not tax calculation is performed immediately before the tax calculation total key 11c is operated, the total of tax calculation (including the tax total amount, the non-tax total amount, the tax total amount) and the total of normal calculation can be easily switched and displayed by merely changing the operation time (the pressing time) to the tax calculation total key 11 c.
Next, an example of inputting a specific numerical value and tax calculation according to the present embodiment will be described. Here, for ease of explanation, an example of tax calculation using two tax 1 calculation keys 11b1[ gst+1] (tax rate 1 (5%)) and tax 2 calculation keys 11b2[ gst+2] (tax rate 2 (10%)) will be described. Tax calculation using the tax 0 calculation key 11b0, the tax 3 calculation key 11b3, and the tax 4 calculation key 11b4 is performed as in the case where the tax 1 calculation key 11b1 and the tax 2 calculation key 11b2 are operated, and detailed description thereof is omitted.
Fig. 8 (a) and (B) show specific key operations used in the following description, numerical values displayed on the display unit 12, tax-containing total amounts stored in the tax rate 1 total storage area 22c and the tax rate 2 total storage area 22d, tax-free total amounts and tax total amounts, and normally calculated total amounts stored in the total storage area 22h, respectively. The key operations shown in fig. 8 (a) and 8 (B) show examples of mixing and performing tax calculations and general calculations. Fig. 8 (a) shows key operations in the case where the operation immediately before the tax calculation total key 11c is tax calculation, and fig. 8 (B) shows key operations in the case where the operation immediately before the tax calculation total key 11c is not tax calculation. Fig. 9 shows an example of the key operation and display on the display section 12 shown in fig. 8 (a).
If the [ AC ] key 11a is operated, the CPU21 clears the tax total storage areas 22b to 22f discriminated by the tax rate (FIG. 9 (A)). The CPU21 refers to the TAX calculation mode area 22m, and displays [ gst+ ] as a TAX calculation mode symbol 12b in the state display area of the display unit 12 if it is determined that the current TAX calculation mode is the TAX calculation mode, and displays [ TAX- ] as a TAX calculation mode symbol 12b in the state display area of the display unit 12 if it is determined that the current TAX calculation mode is the TAX calculation mode. As described above, since the tax calculation mode is not changed even if the [ AC ] key 11a is operated, fig. 9 (a) is a display example in the case where the tax calculation mode immediately before the operation of the [ AC ] key 11a is the tax-containing calculation mode.
Thereafter, for tax calculation, if the numerical value "200" is input, the CPU21 stores the input numerical value in the display storage area 22p and displays it on the display section 12. Next, if the tax 1 calculation key 11B1 is operated, the CPU21 causes the display section 12 to display "210" of the tax amount calculated based on the tax rate 1 and "gst+1" as the tax calculation key symbol 12c (fig. 9 (B1)). The CPU21 also stores the result of tax calculation using the tax rate 1 based on the tax 1 calculation key 11b1 in the tax rate 1 total storage area 22c. In this case, as shown in fig. 8 (a), the tax-containing total amount "210" of the tax rate 1, the non-tax-containing total amount "200" of the tax rate 1, and the tax-containing total amount "10" of the tax rate 1 are stored in the tax-rate-1 total storage area 22c. At the same time, the tax free amount "200" is stored in the buffer storage area 22n (not shown).
Next, for normal calculation, if keys of "100", [ × ], "7", [ = ] are operated, the CPU21 performs normal calculation of "100×7=700", stores the numerical value of the calculation result "700" in the display storage area 22p, and displays it on the display section 12 (fig. 9 (B2)). The CPU21 also stores the calculation result of the normal calculation in the total storage area 22h. The CPU21 displays "GT" as the total display symbol 12e in the status display area of the display unit 12.
Next, for tax calculation, if the numerical value "300" is input, the CPU21 stores the input numerical value in the display storage area 22p and displays it on the display section 12. Next, if the tax 1 calculation key 11b1 is operated, the CPU21 stores the tax-containing amount "315" calculated based on the numerical value "300" and the tax rate 1 being displayed on the display section 12 in the display storage area 22p, and displays it on the display section 12. At the same time, the CPU21 causes the display section 12 to display the tax calculation key symbol "gst+1" (fig. 9 (B3)). The CPU21 also stores the result of tax calculation using the tax rate 1 based on the tax 1 calculation key 11b1 in the tax rate 1 total storage area 22c. In this case, as shown in fig. 8 (a), the tax-containing amount "315" of the tax rate 1, the non-tax-containing amount "300" of the tax rate 1, and the tax amount "15" of the tax rate 1, which are the results of the calculation of the tax of the logarithmic value "300", are added to the previously stored tax-containing total amount "210" of the tax rate 1, the non-tax-containing total amount "200" of the tax rate 1, and the tax total amount "10" of the tax rate 1, respectively. As a result, the tax-containing total amount "525" of the tax rate 1, the non-tax-containing total amount "500" of the tax rate 1, and the tax-containing total amount "25" of the tax rate 1 are stored in the tax-rate-1 total storage area 22c. At the same time, the tax free amount "300" is stored in the buffer storage area 22n (not shown).
Similarly, if the numerical value "1000" is input, the numerical value "2000" is input by operating the tax 2 calculation key 11b2, and then the numerical value "2000" is input by operating the tax 2 calculation key 11b2, each time the tax 2 calculation key 11b2 is operated, the CPU21 sequentially stores each numerical value that has just been input as a tax-free amount, and tax-containing amounts ("1100", "2200") of the tax rate 2 calculated on the basis of each tax-free amount and the tax rate 2 in the display memory area 22p, and sequentially displays the tax-free amounts on the display unit 12. At the same time, the CPU21 causes the display section 12 to display the tax calculation key symbol "gst+2" (fig. 9 (B4) and 9 (B5)). Further, as shown in fig. 8 (a), the CPU21 stores the result of tax calculation using the tax rate 2 based on the tax 2 calculation key 11b2 in the tax rate 2 total storage area 22d. Meanwhile, first, the tax-free "1000" is stored in the buffer storage area 22n, and then, the tax-free "2000" is stored in the buffer storage area 22n (not shown).
In this way, the electronic calculator 10 of the present embodiment can arbitrarily designate the tax rate for tax calculation on the inputted numerical value by operating the tax 1 calculation key 11b1 or the tax 2 calculation key 11b 2. Therefore, for example, when calculating the total tax-containing amount of a plurality of products having different applicable tax rates, even if a plurality of products having different applicable tax rates are mixed, it is possible to individually specify the tax rates and input the tax-containing amount. The tax calculation results (including tax amount, no tax amount, tax amount) of the tax 1 calculation key 11b1 and the tax 2 calculation key 11b2 can be stored in the tax rate 1 total storage area 22c and the tax rate 2 total storage area 22d, respectively. Therefore, as described later, in the tax total call mode, the result of tax calculation can be displayed in accordance with the tax rate according to the operation of the tax 1 calculation key 11b1 or the tax 2 calculation key 11b 2.
Fig. 9 (C1) to (C3) and fig. 9 (F1) show display examples when the tax calculation total key Gstgt (GT) 11C is operated (see fig. 4).
After performing tax calculation on the plurality of numerical values shown in fig. 9 (B1) to (B5), if the operation of normally pressing the tax calculation total key 11c is performed, since immediately after the tax calculation, the CPU21 sets the tax total call mode to on. The CPU21 calculates a tax-containing total amount "3825" indicating the total (525+3300) of the tax-containing total amounts to which the tax rate 1 and the tax rate 2 are applied, based on the tax-containing amounts, the non-tax-containing total amounts, and the tax-containing total amounts of the tax rate 1 and the tax rate 2 stored in the tax-rate 1 total storage area 22C and the tax-rate 2 total storage areas 22d to 22f, respectively, and stores the tax-containing total amount "3825" in the tax total storage area 22g and displays the tax-containing total amount in the display unit 12 (line 3 from bottom of fig. 8 (a), fig. 9 (C1)). The CPU21 also displays "RCL" as the tax total call pattern symbol 12d in the status display area of the display unit 12 (fig. 9 (C1)). If the tax calculation total key 11C is further operated, as shown in fig. 9 (C2), the CPU21 displays a tax-free total amount "3500" indicating the total of tax-free total amounts to which the tax rate 1 and the tax rate 2 are applied, respectively. If the tax calculation total key 11C is further operated, as shown in fig. 9 (C3), the CPU21 displays a tax total amount "325" indicating the total of tax total amounts to which the tax rate 1 and the tax rate 2 are applied, respectively. If the tax calculation total key 11C is further operated, the CPU21 returns to the display shown in fig. 9 (C1), reads out the tax-containing total amount "3825" from the tax total storage area 22g, and causes the display unit 12 to display the tax-containing total amount.
On the other hand, after tax calculation is performed on the plurality of numerical values shown in fig. 9 (B1) to (B5), if the tax calculation total key 11c is pressed for a long time, the CPU21 reads out and displays the total amount "700" of normal calculation stored in the total storage area 22h (line 1 from the bottom of fig. 8 (a), fig. 9 (F1)).
Next, a case of key operation shown in fig. 8 (B) will be described. In addition, the tax calculation shown in fig. 8 (B), the detailed description of the parts that are the same as those of fig. 8 (a) described above is omitted. In fig. 8 (B), after tax calculation for a plurality of values (200 [ gst+1]300[ gst+1]1000[ gst+1]2000[ gst+1 ]), normal calculation (100× ]7 = ]) is performed, and the tax calculation total key 11c is operated immediately thereafter.
In this case, in response to the operation of the tax calculation total key 11c, the CPU21 displays the normally calculated total amount "700" stored in the total storage area 22h (line 3 from the bottom of fig. 8 (B), fig. 9 (F1)).
On the other hand, after tax calculation is performed on the plurality of numerical values shown in lines 1 to 6 of fig. 8 (B), if the tax calculation total key 11c is pressed for a long time, the CPU21 sets the tax total call mode to on. The CPU21 calculates a tax-containing total amount "3825" representing the total (525+3300) of the tax-containing total amounts to which the tax rate 1 and the tax rate 2 are applied, based on the tax-containing amounts, the non-tax-containing total amounts, and the tax-containing total amounts of the tax rate 1 and the tax rate 2 stored in the tax-rate 1 total storage area 22C and the tax-rate 2 total storage area 22d, respectively, and stores the tax-containing total amount "3825" in the tax total storage area 22g and displays the tax-containing total amount in the display unit 12 (line 1 from bottom of fig. 8 (B), fig. 9 (C1)). The CPU21 also displays "RCL" as the tax total call pattern symbol 12d in the status display area of the display unit 12 (fig. 9 (C1)).
Thus, by operating (short pressing) the tax calculation total key 11c immediately after the normal calculation, or by long pressing the tax calculation total key 11c immediately after the tax calculation, the total based on the normal calculation can be displayed. Further, since the tax calculation total key 11c is operated (short pressed) immediately after the tax calculation or the tax calculation total key 11c is pressed for a long time immediately after the normal calculation is performed as described above, the total by the tax calculation can be displayed, and therefore, 1 tax calculation total key 11c can be used separately according to the operation state just before.
Next, a case will be described in which the tax 1 calculation key 11b1 or the tax 2 calculation key 11b2 is operated after the tax total call mode is set to the on state.
Fig. 9 (D1) to (D3) show examples of display in the case where the tax 1 calculation key 11b1 is operated. If the tax 1 calculation key 11b1 is operated in the display states shown in fig. 9 (C1) to (C3), the CPU21 displays the 1 st tax-containing total amount "525" calculated based on the tax rate 1 as shown in fig. 9 (D1). If the tax 1 calculation key 11b1 is further operated, the CPU21 displays that the 1 st tax-free total "500" as shown in fig. 9 (D2). If the tax 1 calculation key 11b1 is further operated, the CPU21 displays the 1 st tax total "25" as shown in fig. 9 (D3). If the tax 1 calculation key 11b1 is further operated, the CPU21 returns to the display shown in fig. 9 (D1) to display the 1 st tax-containing total amount "525".
When the tax 2 calculation key 11b2 is operated in the display states shown in fig. 9 (D1) to (D3), the CPU21 switches to the display of the 2 nd tax-containing total shown in fig. 9 (E1) described below. When the tax calculation total key 11C is operated in the display states shown in fig. 9 (D1) to (D3), the CPU21 shifts to the display state containing the tax total amount shown in fig. 9 (C1) described above.
Fig. 9 (E1) to (E3) show display examples in the case where the tax 2 calculation key 11b2 is operated. If the tax 2 calculation key 11b2 is operated in the state of the display shown in fig. 9 (C1) to (C3), the CPU21 displays the 2 nd tax-containing total amount "3300" calculated based on the tax rate 2 as shown in fig. 9 (E1). Here, if the tax 2 calculation key 11b2 is operated, the CPU21 displays that the 2 nd contains no tax total "3000" as shown in fig. 9 (E2). If the tax 2 calculation key 11b2 is further operated, the CPU21 displays the 2 nd tax total "300" as shown in fig. 8 (E3). If the tax 2 calculation key 11b2 is further operated, the CPU21 returns to the display shown in fig. 9 (E1) to display the 2 nd tax-containing total "3300".
When the tax 1 calculation key 11b1 is operated in the display states shown in fig. 9 (E1) to (E3), the CPU21 switches to the display of the 1 st tax-containing total shown in fig. 9 (D1). When the tax calculation total key 11C is operated in the display states shown in fig. 9 (E1) to (E3), the CPU21 shifts to the display state containing the tax total amount shown in fig. 9 (C1).
As described above, the electronic calculator 10 according to the present embodiment can switch and display the tax-containing total amount, the tax-free total amount, and the tax total amount of each of the tax rates 1 and 2 by a simple operation based on the operation of the tax 1 calculation key 11b1 and the tax 2 calculation key 11b2 while the tax total call mode is in the on state. Therefore, the tax-containing total amount, the non-tax-containing total amount, and the tax total amount for each tax rate can be easily confirmed.
Further, the electronic calculator 10 of the present embodiment can switch display to any one of the total display (fig. 9 (C1) to (C3)), the total display of the tax rate 1 corresponding to the tax 1 calculation key 11b1 (fig. 9 (D1) to (D3)), and the total display of the tax rate 2 corresponding to the tax 2 calculation key 11b2 (fig. 9 (E1) to (E3)) by operating the tax calculation total key 11C, the tax 1 calculation key 11b1, and the tax 2 calculation key 11b2 while the tax total call mode is in the on state.
Next, a case where tax-containing calculation and tax-free calculation are mixed will be described. Fig. 10 shows specific key operations, numerical values displayed on the display unit 12, and tax-containing total amounts, non-tax-containing total amounts, and tax-containing total amounts stored in the tax rate 1 total storage area 22c and the tax rate 2 total storage area 22d, respectively, used in the following description.
The key operations shown in fig. 8 (a) and 8 (B) described above are described for the case where only the tax-containing calculation is performed, and the key operation shown in fig. 10 shows an example where the calculation mode is switched to the tax-free calculation mode and performed in the middle of the tax-containing calculation.
If the [ AC ] key 11a is operated, the CPU21 clears the tax total storage areas 22b to 22f divided by tax rate. Here, the calculation mode is a tax-containing calculation mode, and the display unit 12 displays [ gst+ ] indicating the tax-containing calculation mode as the tax calculation mode symbol 12b.
Then, for TAX calculation (TAX-containing calculation), if the numerical value "200" is input as a TAX-free amount, the TAX 1 calculation key 11b1 ([ gst+1 (TAX-1) ]), the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the TAX-containing amount "210" calculated by the TAX-containing calculation on the basis of the TAX-free amount and the TAX rate 1, and "gst+1" indicating that the symbol of the TAX-containing amount calculated on the basis of the TAX rate 1 is displayed. Further, the CPU21 stores the result of tax calculation using the tax rate 1 based on the tax 1 calculation key 11b1 in the tax rate 1 total storage area 22c. In this case, as shown in fig. 9, the tax-containing total amount "210" of the tax rate 1, the non-tax-containing total amount "200" of the tax rate 1, and the tax-containing total amount "10" of the tax rate 1 are stored in the tax-rate-1 total storage area 22c.
Also, for tax calculation, if the numerical value "300" is input as a tax-free amount, the tax 2 calculation key 11b2 is operated, the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the tax-containing amount "330" calculated by the tax-containing calculation on the basis of the tax-free amount and the tax rate 2, and "gst+2" representing a symbol in which the tax-containing amount calculated on the basis of the tax rate 2 is displayed. Further, the CPU21 stores the result of tax calculation using the tax rate 2 based on the tax 2 calculation key 11b2 in the tax rate 2 total storage area 22d. In this case, as shown in fig. 10, the tax-containing total amount "330" of the tax rate 2, the non-tax-containing total amount "300" of the tax rate 2, and the tax-containing total amount "30" of the tax rate 2 are stored in the tax rate 2 total storage area 22d.
Next, when the tax 2 calculation key 11b2 is operated in a state of the tax-containing total amount "330" displayed as the tax rate 2, the CPU21 reads out the numerical value "300" stored in the buffer memory area 22n as the tax-free amount, and causes it to be displayed on the display unit 12.
Here, the TAX calculation mode switch key 11d ([ gst+/TAX- ]) is operated so that the calculation mode is the TAX-free calculation mode. If an operation of the tax calculation mode switching key 11d is detected, the CPU21 switches the calculation mode to the tax-free calculation mode. The CPU21 causes the display unit 12 to display [ TAX- ] indicating the TAX calculation mode as the TAX calculation mode symbol 12 b.
Then, for TAX calculation (without TAX calculation), if the numerical value "660" is input as the TAX-containing amount, the TAX 2 calculation key 11b2 ([ gst+2 (TAX-2) ]), the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the TAX-free amount "600" calculated by the TAX-free calculation on the basis of the TAX-containing amount and the TAX rate 2, and "TAX-2" indicating that the symbol of the TAX-free amount calculated on the basis of the TAX rate 2 is displayed. In the tax-free calculation, as shown in fig. 10, the result of the tax-free calculation is not reflected in the tax rate 2 total storage area 22d.
Here, the TAX calculation mode switch key 11d ([ gst+/TAX- ]) is operated so that the calculation mode is the TAX-containing calculation mode. If an operation of the tax calculation mode switching key 11d is detected, the CPU21 switches the calculation mode to the tax-containing calculation mode.
Then, for tax calculation (tax-containing calculation), if the tax 1 calculation key 11b1 ([ gst+1 ]) is operated in a state where the value "600" is displayed by the tax-free calculation, the CPU21 displays the "630" representing the tax-containing amount calculated by the tax-containing calculation based on the value being displayed and the tax rate 1 and the "gst+1" representing the symbol on which the tax-containing amount calculated based on the tax rate 1 is displayed. Further, the CPU21 adds the result of tax calculation (no tax, tax) using the tax rate 1 based on the tax 1 calculation key 11b1 to the numerical value previously stored in the tax rate 1 total storage area 22c. As a result, the tax-containing total amount "840" of the tax rate 1, the non-tax-containing total amount "800" of the tax rate 1, and the tax-containing total amount "30" of the tax rate 1 are stored in the tax rate 1 total storage area 22c.
In this way, when tax-containing calculation based on the tax rate 1 is performed on the value "660" indicating the tax-containing amount based on the tax rate 2, the tax-free calculation for calculating the value "660" can be performed by switching to the tax-free calculation mode in the middle of the tax-containing calculation. The numerical value (the placement number) displayed on the display unit 12 as the calculation result of the tax-free calculation may be directly the subject of the tax calculation. In the tax-free calculation, the numerical values stored in the tax rate 1 total storage area 22c and the tax rate 2 total storage area 22d are not affected. Therefore, by switching the tax calculation mode to the tax-containing calculation mode again, and selecting another tax rate 1 for the displayed numerical value to perform the tax-containing calculation, the tax-containing calculation result based on the tax rate 1 can be reflected in the tax rate 1 total storage area 22c.
Therefore, in the market using a plurality of tax rates such as india, when tax calculation is required by another tax rate based on commodity price using a tax-containing label, it is possible to switch to the tax-free calculation mode to execute the tax-free calculation, calculate the price of the tax-free amount, and execute the tax-containing calculation based on another tax rate again.
Next, a case where tax calculation and normal calculation are performed in a mixed manner will be described. Fig. 11 shows specific key operations used in the following description, numerical values displayed on the display unit 12, and tax-containing total amounts, non-tax-containing total amounts, and tax-containing total amounts stored in the tax rate 1 total storage area 22c and the tax rate 2 total storage area 22d, respectively. Here, an example will be described in which four arithmetic operations are performed using numerical values (digits) obtained by tax calculation. The downward arrows in the 3rd to 8 th columns of fig. 10 indicate that the same numerical values as the numerical values of the 5 th rows of the columns (the numerical values do not change) are present from the 6 th row to the 2nd row of the lowermost row of the columns.
If the [ AC ] key 11a is operated, the CPU21 clears the tax total storage areas 22b to 22f divided by tax rate. Here, the calculation mode is a tax-containing calculation mode, and the display unit 12 displays [ gst+ ] indicating the tax-containing calculation mode as the tax calculation mode symbol 12b.
Next, if the numerical value "200" is input as the tax-free amount and the tax 1 calculation key 11b1 is operated, the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the tax-containing amount "210" calculated by the tax-containing calculation based on the tax-free amount and the tax rate 1 and "gst+1" indicating that the symbol of the tax-containing amount calculated based on the tax rate 1 is displayed. Further, the CPU21 stores the result of tax calculation using the tax rate 1 based on the tax 1 calculation key 11b1 in the tax rate 1 total storage area 22c. In this case, as shown in fig. 11, the tax-containing total amount "210" of the tax rate 1, the non-tax-containing total amount "200" of the tax rate 1, and the tax-containing total amount "10" of the tax rate 1 are stored in the tax-rate-1 total storage area 22c.
Similarly, if the numerical value "200" is input as the tax-free amount and the tax 1 calculation key 11b1 is operated, the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the tax-containing amount "315" calculated by the tax-containing calculation on the basis of the tax-free amount and the tax rate 1. Further, the CPU21 adds the result of tax calculation using the tax rate 1 to the value stored in the tax rate 1 total storage area 22c. As a result, as shown in fig. 11, the tax-containing total amount "525" of the tax rate 1, the non-tax-containing total amount "500" of the tax rate 1, and the tax-containing total amount "25" of the tax rate 1 are stored in the tax rate 1 total storage area 22c.
Next, if the numerical value "1000" is input as the non-tax-containing amount and the tax 2 calculation key 11b2 is operated, the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the tax-containing amount "1100" calculated by the tax-containing calculation on the basis of the non-tax-containing amount and the tax rate 2 and "gst+2" indicating that the symbol of the tax-containing amount calculated on the basis of the tax rate 2 is displayed. Further, the CPU21 stores the result of tax calculation using the tax rate 2 based on the tax 2 calculation key 11b2 in the tax rate 2 total storage area 22d. In this case, as shown in fig. 11, the tax-containing total amount "1100" of the tax rate 2, the non-tax-containing total amount "1000" of the tax rate 2, and the tax-containing total amount "100" of the tax rate 2 are stored in the tax rate 2 total storage area 22d.
Similarly, if the numerical value "2000" is input as the tax-free amount and the tax 2 calculation key 11b2 is operated, the CPU21 stores the input numerical value in the buffer storage area 22n, and displays the tax-containing amount "2200" calculated by the tax-containing calculation on the basis of the tax-free amount and the tax rate 2. Further, the CPU21 adds the result of tax calculation using the tax rate 2 to the value stored in the tax rate 2 total storage area 22d. As a result, as shown in fig. 11, the tax-containing total amount "3300" of the tax rate 2, the non-tax-containing total amount "3000" of the tax rate 2, and the tax-containing total amount "300" of the tax rate 2 are stored in the tax rate 2 total storage area 22d.
Here, in order to display the total of tax calculation, an operation of normally pressing the tax calculation total key 11c is performed. The CPU21 detects that the tax calculation total key 11c is operated, and determines whether the tax calculation calling mode is in an on state. If an operation is detected in which the tax total calling mode is not in the on state but immediately after the tax calculation, the CPU21 sets the tax total calling mode to the on state, and causes the display section 12 to display "RCL" indicating that the tax total calling mode is in the on state. The "RCL" on the left side of the outside of the table of fig. 11 shows that the corresponding row being displayed is the call mode. Further, the downward arrow indicates that the call mode is continued from the 6 th row to the 2 nd row from the next, i.e., immediately before the [ AC ] key is pressed.
When the tax total calling mode is turned on, the CPU21 stores a tax-containing total amount "3825" obtained by adding up the tax-containing total amounts calculated by the tax rate 1 and the tax rate 2 in the tax total storage area 22g and displays the tax-containing total amount "3825" on the display unit 12. Here, if the tax calculation total key 11c is repeatedly operated, the CPU21 sequentially calculates the tax free total amount "3500" and the tax total amount "325" based on the key operation, stores the tax free total amount "3500" and the tax total amount "325" in the tax total storage area 22g, and reads out and displays the tax free total amount "3500" and the tax total amount "325" from the display unit 12.
In a state where the tax total amount "325" is displayed, if the key input [ ≡ ] [2] [ = ] is entered for four operations, the CPU21 executes four operations of "325++2=162.5" on the numerical value "325" displayed on the display unit 12, and causes the numerical value "162.5" as a result of the calculation to be displayed on the display unit 12. The value "162.5" is stored in the total storage area 22h. Further, the four operations may be performed not only by displaying the tax total amount, but also by displaying the tax-containing total amount or the tax-free total amount.
In this way, even if the operation key or the numerical key is operated for four operations in the middle of tax calculation, the on state of the tax total call mode can be maintained. The values stored in the tax rate 1 total storage area 22c, the tax rate 2 total storage area 22d, and the tax total storage area 22g by the tax calculation are also maintained as they are.
Here, in order to display the total of tax calculation, an operation of normally pressing the tax calculation total key 11c is performed. If it is detected that the tax calculation total key 11c is operated, the CPU21 judges whether the tax total calling mode is in an on state. At this time, the tax total call mode is already in an on state. Accordingly, in response to an operation of the tax calculation total key 11c, the CPU21 causes the display unit 12 to display the tax-containing total amount stored in the tax total storage area 22 g. That is, when a tax-containing total reading instruction is input by the operation of the tax calculation total key 11c in a state in which the tax total calling mode is set to the on state, the CPU21 reads out the value "3825" of the tax-containing total stored in the display storage area 22p and displays the value "162.5" of the result of the four operations being displayed on the display unit 12.
Next, in order to display the tax-containing total amount calculated by tax rate 1, the tax 1 calculation key 11b1 is operated. If the tax 1 calculation key 11b1 is operated, the CPU21 reads out the 1 st tax-containing total amount value "525" stored in the tax rate 1 total storage area 22c and causes the display unit 12 to display the value instead of the tax-containing total amount "3825" since the tax total calling mode is in the on state.
Here, if the tax calculation total key 11c is operated again, the CPU21 causes the display unit 12 to display the tax-containing total amount "3825" stored in the tax total storage area 22g in accordance with the operation of the tax calculation total key 11c, as described above. That is, in a state in which the tax total calling mode is set to the on state, the tax-containing total amount can be displayed in accordance with the operation of the tax calculation total key 11c, not only in a case in which the numerical value based on the calculation result of the four operations, which is the calculation result of the normal calculation, is being displayed, but also in a case in which the numerical value based on the calculation result of the tax calculation is being displayed on the display unit 12. That is, the tax-containing total amount can be displayed regardless of the display content when the tax calculation total key 11c is operated, as long as the tax total calling mode is set to the on state.
In order to display the tax-containing total amount calculated by tax rate 2, the tax 2 calculation key 11b2 is further operated. If the tax 2 calculation key 11b2 is operated, the CPU21 reads out the 2 nd tax-containing total amount "3300" stored in the tax rate 2 total storage area 22d according to the operation of the tax 2 calculation key 11b2 and causes it to be displayed on the display unit 12, instead of displaying the tax-containing total amount "3825".
That is, as shown in fig. 11, when the numerical value related to the tax calculation result based on the tax rate 1 is stored in the tax rate 1 total storage area 22c and the numerical value related to the tax calculation result based on the tax rate 2 is stored in the tax rate 2 total storage area 22d, the numerical value (including the tax total amount) stored in the tax rate 1 total storage area 22c is read and displayed according to the operation of the tax 1 calculation key 11b1 in the state in which the tax total calling mode is set to the on state, and similarly, the numerical value (including the tax total amount) stored in the tax rate 2 total storage area 22d can be read and displayed according to the operation of the tax 2 calculation key 11b 2.
Further, although not shown, if the numerical values relating to the results of tax calculation based on tax rates 0, 3, and 4 are stored in the tax rate 0 total storage area 22b, the tax rate 3 total storage area 22e, and the tax rate 4 total storage area 22f, respectively, the respective corresponding numerical values (tax-containing total amount) can be read and displayed in accordance with the operation of the tax 0 calculation key 11b0, the tax 3 calculation key 11b3, or the tax 4 calculation key 11b 4.
In the above description, the tax total calling mode is in the on state, and at least the tax-containing total is displayed according to the operation of the tax n calculation keys 11b0 to 11b4, but it may be also displayed without containing both or one of the tax total and the tax total.
Next, when the tax 2 calculation key 11b2 is repeatedly operated in a state where the 2 nd tax-containing total amount "3300" is displayed, the CPU21 reads out the tax-free total amount "3000" and the tax-containing total amount "300" from the tax-rate 2 total storage area 22d in accordance with the key operation, and causes them to be sequentially displayed on the display unit 12.
In a state where the tax total amount "300" is displayed, if the key input [ ++2 ] = ] is entered for four operations, the CPU21 executes four operations of "300++2=150" on the numerical value "300" displayed on the display unit 12, and causes the numerical value "150" as a result of the calculation to be displayed on the display unit 12. The value "150" is added to the value stored in the aggregate storage area 22 h. Further, not only the tax total amount may be displayed to perform the four operations, but also the tax-containing total amount or the tax-free total amount may be displayed to perform the four operations.
If it is detected that the [ AC ] key is operated, the CPU21 sets the tax total calling mode to an off state, and clears all memories including tax total memory areas 22b to 22f and tax total memory area 22g, which are divided by tax rate.
Thus, the tax total call mode remains on until the [ AC ] key is operated. When the tax total calling mode is in the on state, the numerical values stored in the tax total storage areas 22b to 22f, which are divided according to the tax rate, can be displayed on the display unit 12 by the operation of the tax calculation key 11b, and the numerical values can be the target of normal calculation.
As described above, in the electronic calculator 10 of the present embodiment, since the tax total call mode is maintained in the on state even when the normal calculation tax total call mode is performed, the tax calculation and the normal calculation can be performed separately, and the calculation results can be stored. Therefore, tax calculation and general calculation can be easily performed in a mixed manner. The total amount (including the tax total amount, the total amount without tax, and the tax total amount) calculated based on the tax stored in the tax total storage area 22g or the calculation result (including the tax total amount, the total amount without tax, and the tax total amount) calculated based on each tax stored in the tax rate 1 total storage area 22c can be displayed on the display unit 12 as a target of normal calculation according to a key operation. Therefore, the normal calculation can be simply performed with respect to the result (set number) of the tax calculation as an object.
Fig. 12 is an example of a billing form format used in a retail store in india, and is a diagram in which a posting column of a total amount is extracted. The billing list can be respectively written with values according to 5 different tax rates, and the numerical values are sequentially written with columns of a tax-free total amount, a State GST (SGST) according to the tax rate, CENTRAL GST (CGST) according to the tax rate, an Inter-State GST (IGST) according to the tax rate, a tax-containing total amount and a tax-containing total amount according to the tax rate from the top. Numerical values are entered into each column according to tax calculations actually performed at the storefront.
The entry of the numerical value of the bill is described with reference to the input operation example shown in fig. 11. When the tax calculation total key 11c is operated immediately after the tax calculation, the tax total call mode is turned on, and the tax-containing total amount "3825" is displayed on the display unit 12 (line 6 of fig. 11). The logger sees the value and remembers it in the column "GTAND TOTAL" in the billing sheet (line 6 of fig. 12). Next, when the tax 2 calculation key 11b2 is operated, the 2 nd tax-containing total amount "3300" is displayed on the display unit 12 (line 14 in fig. 11), and the posting person transfers the posting value to the tax-containing total amount column of the tax rate 2 in the posting bill (line 5 in fig. 12). When the tax 2 calculation key 11b2 is operated again, the no tax sum "3000" of the 2 nd is displayed on the display unit 12 (line 15 of fig. 11), and the posting person turns the tax sum-free column posting value of the tax rate 2 in the posting bill (line 1 of fig. 12, column 3). Next, when the tax 2 calculation key 11b2 is operated again, the tax sum "300" of the tax rate 2 is displayed on the display unit 12 (line 16 of fig. 11), and then, when the half of the tax sum of the tax rate 2 is calculated using the numerical value in the display, the execution result "150" as the normal calculation is displayed on the display unit 12 (line 18 of fig. 11). The logger transfers the log values to the columns of SGST, CGST for tax rate 2 in the bill (column 3, line 2, line 3 of fig. 12). In this example, no particular numerical value should be recalled to column IGST. Further, although not illustrated in fig. 10, by operating the tax 1 calculation key 11b1 in the on state of the tax total call mode, the tax rate 1 is also displayed with the tax rate 2 as well as the tax calculation result or the normal calculation result for the tax calculation result, and as shown in column 2 of fig. 12, the numerical value can be transferred to each column of the billing sheet.
As described above, according to the electronic calculator of the present embodiment, the tax total calling mode is turned on after the tax calculation is completed, and then, the SGST, CGST, or IGST can be calculated by using the calculated tax total amount by normal calculation. Further, since the tax total calling mode is maintained in the on state as long as the specific operation ([ AC ] key operation) is not performed and the respective values stored in the tax total storage areas 22b to 22f and the tax total storage area 22g that are discriminated by the tax rate are held once the tax total calling mode is turned on, the tax total amount (including tax amount/not including tax amount/tax amount) or a plurality of tax total amounts that are discriminated by the tax rate (including tax amount/not including tax amount/tax amount) can be called out at any time and displayed on the display unit 12 by operating the tax calculation total key 11c or the tax calculation key 11b after the tax calculation is completed, and further, the tax total amount and a plurality of tax total amounts discriminated by the tax rate can be calculated at desired timing by executing normal calculation using the displayed values, such as SGST, CGST, or IGST. Therefore, according to the electronic calculator of the present embodiment, in particular, in the case where the tax total amount or the tax total amount differentiated by the tax rate is not directly transferred to the bill, but the tax total amount or the tax total amount differentiated by the tax rate is transferred to the bill after the normal calculation is performed based on each numerical value, the job of transferring to the bill is easily performed.
The methods described in the embodiments, that is, the respective methods such as the processes shown in the flowcharts of fig. 3 to 7, can be stored and distributed as programs executable by a computer in a recording medium such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory. The computer reads a program recorded in an external recording medium and controls the operation by the program, whereby the same processing as the functions described in the embodiments can be realized.
The data of the program for realizing each method may be transmitted as a program code over a network (internet), or the program data may be fetched from a computer (server device or the like) connected to the network (internet), thereby realizing the same functions as those of the above-described embodiments.
The present application is not limited to the embodiments, and various modifications can be made in the implementation stage without departing from the gist thereof. Further, the embodiments include applications in various stages, and various applications can be extracted by appropriate combinations of a plurality of constituent elements disclosed. For example, even if several constituent elements are deleted from all constituent elements shown in the embodiment or several constituent elements are combined, the problems described in the section of the problem to be solved by the application can be solved, and when the effects described in the section of the effect of the application can be obtained, a structure obtained by deleting or combining the constituent elements can be extracted as the application.
Description of the reference numerals
The electronic calculator 10 …, the 11 … key input unit, the 11b0 … tax 0 calculation key, the 11b1 … tax 1 calculation key, the 11b2 … tax 2 calculation key, the 11b3 … tax 3 calculation key, the 11b4 … tax 4 calculation key, the 11c … tax calculation total key, the 11d … tax calculation mode switching key, the 12 … display unit, the 21 … CPU, the 22 … memory, the 22a … calculation processing program, the 22b … tax rate 0 total storage area, the 22c … tax rate 1 total storage area, the 22d … tax rate 2 total storage area, the 22e … tax rate 3 total storage area, the 22f … tax rate 4 total storage area, the 22g … tax total storage area, the 22h … total storage area, the 22k … total calling mode area, and the 22m … tax calculation mode area.
Claims (11)
1. An electronic device capable of performing tax calculation for deriving a tax containing, non-containing, or tax as a calculation result, comprising:
A storage control unit that separately adds up the calculation results when the execution instruction of the tax calculation is repeated between a case where the 1 st operation key for setting the 1 st tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted and a case where the 2 nd operation key for setting the 2 nd tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted, and stores the 1 st addition value corresponding to the 1 st tax rate and the 2 nd addition value corresponding to the 2 nd tax rate in a predetermined memory; and
A display control unit for displaying the calculation result of the tax calculation on a prescribed display unit every time the execution instruction of the tax calculation is repeated,
When a predetermined four-rule operation is performed during the repetition, the storage control unit causes the predetermined memory to store a1 st total value corresponding to the 1 st tax rate and a 2 nd total value corresponding to the 2 nd tax rate so as to sum a calculation result of the tax calculation performed after the four-rule operation and a calculation result of the tax calculation performed before the four-rule operation.
2. The electronic device of claim 1, wherein the electronic device comprises a memory device,
When a predetermined four-rule operation is executed during the repetition, the display control means causes the display unit to display a predetermined flag indicating a calculation mode in which a calculation result of the tax calculation executed after the four-rule operation and a calculation result of the tax calculation executed before the four-rule operation are added up.
3. The electronic device according to claim 1 or 2, characterized in that,
The display control means causes the display unit to display the calculation result of the four operations, and causes the display unit to display the total sum value instead of the calculation result of the four operations when the 3 rd operation key is operated as a display instruction for the total sum value obtained by adding the 1 st sum value and the 2 nd sum value while the calculation result of the four operations is being displayed on the display unit.
4. An electronic device, comprising:
A3 rd operation key for switching between a1 st calculation for deriving a tax-free amount by setting the numerical value as a tax-containing amount and a2 nd calculation for deriving a tax-containing amount by setting the numerical value as a tax-free amount, in a case where a1 st operation key for setting a1 st tax rate or a2 nd operation key for setting a2 nd tax rate is operated as an execution instruction of tax calculation subsequent to input of the numerical value; and
And a control unit that displays the non-tax amount or the tax amount as a calculation result of the tax calculation every time the tax calculation is repeated, and adds, for each tax rate, only calculation results at the time the 1 st calculation and the 2 nd calculation among the 1 st calculation and the 2 nd calculation are repeated, thereby storing a total value of the each tax rate in a memory.
5. The electronic device of claim 4, wherein the electronic device comprises a memory device,
When the non-tax-containing amount is displayed on the display section as a calculation result of the 1 st calculation based on the operation of the 1 st operation key, in a case where the 2 nd operation key is operated subsequent to the 3 rd operation key, the 2 nd calculation is executed by applying the non-tax-containing amount being displayed as the inputted numerical value.
6. The electronic device of claim 4 or 5, wherein the electronic device comprises a display device,
The display unit is provided with a 4 th operation key for displaying a total sum of the sum values of the tax rates stored in the memory on the display unit by being operated when the non-tax rate is displayed as the calculation result of the 1 st calculation.
7. The electronic device of claim 6, wherein the electronic device comprises a memory device,
The control unit displays the total value corresponding to the 1 st tax rate when the 1 st operation key is operated and displays the total value corresponding to the 2 nd tax rate when the 2 nd operation key is operated, when the total value is displayed on the display unit.
8. A calculation assisting method performed by an electronic device capable of performing tax calculation for deriving a tax containing, no tax containing, or tax as a calculation result, the calculation assisting method comprising:
a storage control process for separately adding up the calculation result when the tax calculation execution instruction is repeated between a case where the 1 st operation key for setting the 1 st tax rate is operated as the tax calculation execution instruction after the numerical value is inputted and a case where the 2 nd operation key for setting the 2 nd tax rate is operated as the tax calculation execution instruction after the numerical value is inputted, and storing the 1 st addition value corresponding to the 1 st tax rate and the 2 nd addition value corresponding to the 2 nd tax rate in a predetermined memory; and
A display control process for displaying the calculation result of the tax calculation on a predetermined display unit every time the execution instruction of the tax calculation is repeated,
In the storage control process, when a predetermined four-rule operation is performed during the repetition, a1 st total value corresponding to the 1 st tax rate and a2 nd total value corresponding to the 2 nd tax rate are stored in the predetermined memory so that a calculation result of the tax calculation performed after the four-rule operation and a calculation result of the tax calculation performed before the four-rule operation are added together.
9. A method of computing assistance performed by an electronic device, comprising:
A switching process of switching, when a predetermined 3 rd operation key is operated, tax calculation when a1 st operation key for setting a1 st tax rate or a2 nd operation key for setting a2 nd tax rate is operated as an instruction to execute tax calculation after a numerical value is input, between 1 st calculation for deriving a tax-free amount by setting the numerical value as a tax-containing amount and 2 nd calculation for deriving a tax-containing amount by setting the numerical value as a tax-free amount; and
And a control process of displaying the non-tax-containing amount or the tax-containing amount as a calculation result of the tax calculation every time the tax calculation is repeated, and adding, for each tax rate, only calculation results at the time the 1 st calculation and the 2 nd calculation out of the 1 st calculation and the 2 nd calculation are repeated, thereby storing a total value of the each tax rate in a memory.
10. A program, characterized in that,
A computer of an electronic device capable of performing tax calculation for deriving a tax containing, non-containing, or tax as a calculation result functions as:
A storage control unit that separately adds up the calculation results when the execution instruction of the tax calculation is repeated between a case where the 1 st operation key for setting the 1 st tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted and a case where the 2 nd operation key for setting the 2 nd tax rate is operated as the execution instruction of the tax calculation after the numerical value is inputted, and stores the 1 st addition value corresponding to the 1 st tax rate and the 2 nd addition value corresponding to the 2 nd tax rate in a predetermined memory; and
A display control unit for displaying the calculation result of the tax calculation on a prescribed display unit every time the execution instruction of the tax calculation is repeated,
When a predetermined four-rule operation is performed during the repetition, the storage control unit causes the predetermined memory to store a1 st total value corresponding to the 1 st tax rate and a 2 nd total value corresponding to the 2 nd tax rate so as to sum a calculation result of the tax calculation performed after the four-rule operation and a calculation result of the tax calculation performed before the four-rule operation.
11. A program, characterized in that,
Causing the computer to function as:
A switching unit that, when a predetermined 3 rd operation key is operated, switches between a1 st calculation for deriving a tax-free amount by setting a numerical value as the tax-containing amount and a 2 nd calculation for deriving a tax-containing amount by setting the numerical value as the tax-free amount, when a1 st operation key for setting a1 st tax rate or a 2 nd operation key for setting a 2 nd tax rate is operated as an instruction to execute tax calculation subsequent to input of the numerical value; and
And a control unit that displays the non-tax amount or the tax amount as a calculation result of the tax calculation every time the tax calculation is repeated, and adds, for each tax rate, only calculation results at the time the 1 st calculation and the 2 nd calculation among the 1 st calculation and the 2 nd calculation are repeated, thereby storing a total value of the each tax rate in a memory.
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018-168366 | 2018-09-07 | ||
JP2018168366 | 2018-09-07 | ||
JP2019080317A JP7383902B2 (en) | 2018-09-07 | 2019-04-19 | Calculators, calculation methods, and programs |
JP2019-080317 | 2019-04-19 | ||
CN201910757759.7A CN110888830B (en) | 2018-09-07 | 2019-08-16 | Calculator, calculating method and storage medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910757759.7A Division CN110888830B (en) | 2018-09-07 | 2019-08-16 | Calculator, calculating method and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118051466A true CN118051466A (en) | 2024-05-17 |
Family
ID=69745858
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410259118.XA Pending CN118051466A (en) | 2018-09-07 | 2019-08-16 | Electronic device, calculation support method, and program |
CN201910757759.7A Active CN110888830B (en) | 2018-09-07 | 2019-08-16 | Calculator, calculating method and storage medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910757759.7A Active CN110888830B (en) | 2018-09-07 | 2019-08-16 | Calculator, calculating method and storage medium |
Country Status (2)
Country | Link |
---|---|
JP (2) | JP7487828B2 (en) |
CN (2) | CN118051466A (en) |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3050260B2 (en) | 1993-04-02 | 2000-06-12 | 矢崎総業株式会社 | Temperature switch and temperature detector |
CN2217236Y (en) * | 1994-07-22 | 1996-01-10 | 信利电子有限公司 | Calculator for calculating tax rate |
JP2001273266A (en) | 2000-03-24 | 2001-10-05 | Sharp Corp | Information processor, method and device for display therefor |
US7313538B2 (en) * | 2001-02-15 | 2007-12-25 | American Express Travel Related Services Company, Inc. | Transaction tax settlement in personal communication devices |
JP2006293498A (en) | 2005-04-06 | 2006-10-26 | Sharp Corp | Electronic computer |
JP2011186567A (en) * | 2010-03-05 | 2011-09-22 | Casio Computer Co Ltd | Electronic calculator and program |
JP2017174225A (en) * | 2016-03-24 | 2017-09-28 | カシオ計算機株式会社 | Tax calculator, tax calculation method and program |
JP6816392B2 (en) * | 2016-06-30 | 2021-01-20 | カシオ計算機株式会社 | Computational equipment, computational methods, and programs |
JP6759766B2 (en) * | 2016-06-30 | 2020-09-23 | カシオ計算機株式会社 | Tax calculators, tax calculators, and programs |
JP6428734B2 (en) * | 2016-09-21 | 2018-11-28 | カシオ計算機株式会社 | Tax calculation device, tax calculation method, program |
JP6825285B2 (en) * | 2016-09-23 | 2021-02-03 | カシオ計算機株式会社 | Computer, calculation printing method, program |
CN107870886B (en) * | 2016-09-23 | 2021-05-18 | 卡西欧计算机株式会社 | Computing device, computing method, and computer-readable storage medium |
JP6635132B2 (en) | 2018-02-06 | 2020-01-22 | カシオ計算機株式会社 | Tax calculator, tax calculation method and tax calculation program |
-
2019
- 2019-08-16 CN CN202410259118.XA patent/CN118051466A/en active Pending
- 2019-08-16 CN CN201910757759.7A patent/CN110888830B/en active Active
-
2023
- 2023-07-03 JP JP2023108978A patent/JP7487828B2/en active Active
- 2023-07-03 JP JP2023108979A patent/JP7487829B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110888830B (en) | 2024-03-22 |
JP7487829B2 (en) | 2024-05-21 |
JP2023121841A (en) | 2023-08-31 |
JP7487828B2 (en) | 2024-05-21 |
JP2023121840A (en) | 2023-08-31 |
CN110888830A (en) | 2020-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107239431B (en) | Tax computer, tax calculating method and recording medium for recording program | |
CN107861907B (en) | Calculation device, calculation method, and recording medium | |
JP7487755B2 (en) | calculator | |
JP7383902B2 (en) | Calculators, calculation methods, and programs | |
JP6635132B2 (en) | Tax calculator, tax calculation method and tax calculation program | |
CN110888830B (en) | Calculator, calculating method and storage medium | |
JP7176603B2 (en) | Computing device, computing method, and program | |
JP6593505B1 (en) | Computer, electronic device, setting method, and program | |
JP6915669B2 (en) | Tax calculator, tax calculation method, and tax calculation program | |
JP7416138B2 (en) | Calculator, setting support method and program | |
JP7163705B2 (en) | Calculators, calculation methods, and programs | |
JP7279355B2 (en) | Calculator, display method, and program | |
JP6620907B1 (en) | Computer, setting method, and program | |
CN107562677B (en) | Calculation device, calculation method, and recording medium having program recorded thereon | |
JP6528483B2 (en) | Computation processing device and program | |
JP7500934B2 (en) | Computer, calculation method, and program | |
JP7031691B2 (en) | Electronics, control methods, and programs | |
JP6950344B2 (en) | Arithmetic logic units, calculation methods, and programs | |
JP2021092973A (en) | Electronic apparatus, control method for electronic apparatus, and control program for electronic apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |