JP2020042767A - Calculator, calculation method, and program - Google Patents

Calculator, calculation method, and program Download PDF

Info

Publication number
JP2020042767A
JP2020042767A JP2019080317A JP2019080317A JP2020042767A JP 2020042767 A JP2020042767 A JP 2020042767A JP 2019080317 A JP2019080317 A JP 2019080317A JP 2019080317 A JP2019080317 A JP 2019080317A JP 2020042767 A JP2020042767 A JP 2020042767A
Authority
JP
Japan
Prior art keywords
tax
calculation
numerical value
total
displayed
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.)
Granted
Application number
JP2019080317A
Other languages
Japanese (ja)
Other versions
JP7383902B2 (en
JP2020042767A5 (en
Inventor
博明 吉澤
Hiroaki Yoshizawa
博明 吉澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to CN201910757759.7A priority Critical patent/CN110888830B/en
Priority to CN202410259118.XA priority patent/CN118051466A/en
Publication of JP2020042767A publication Critical patent/JP2020042767A/en
Publication of JP2020042767A5 publication Critical patent/JP2020042767A5/ja
Priority to JP2023108979A priority patent/JP7487829B2/en
Priority to JP2023108978A priority patent/JP7487828B2/en
Application granted granted Critical
Publication of JP7383902B2 publication Critical patent/JP7383902B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

To provide a calculator, a calculation method, and a program that can switch between a numerical value associated with tax calculation and a numerical value associated with ordinary calculation to display it on a display.SOLUTION: A calculator comprises a control section configured to: perform first calculation using a numerical value according to an input of an execution instruction of first calculation; store a first numerical value associated with a result of the performed first calculation in a first memory and display it on a display; perform second calculation using a numerical value according to an input of an execution instruction of second calculation different from the first calculation; store a second numerical value associated with a result of the performed second calculation in a second memory and display it on the display; display the first numerical value stored in the first memory on the display when inputting of a first reading instruction is performed while the numerical value indicating the result of the performed first calculation is displayed on the display; and display the second numerical value stored in the second memory on the display when inputting of the first reading instruction is performed while the numerical value indicating the result of the performed second calculation is displayed on the display.SELECTED DRAWING: Figure 4

Description

本発明は、税計算をする計算機、計算方法、及びプログラムに関する。   The present invention relates to a calculator for calculating tax, a calculation method, and a program.

近年の税計算機(電卓)には、予め設定された税率を用いて税計算をする機能を設けたものがある。例えば、特許文献1に記載された電卓は、任意の四則計算を行い、乗算の対象となる数値(金額)を表示した状態で、税込キー(確認キー)を操作すると、表示されている数値に第1の税率をもとにした税込み額を算出して表示する。同様にして、税込キー(確認キー)を再度操作すると、表示されている数値に第2の税率をもとにした税込み額を算出して表示する。   In recent years, some tax calculators (calculators) have a function of calculating a tax using a preset tax rate. For example, the calculator described in Patent Literature 1 performs arbitrary four arithmetic calculations, and operates a tax-inclusive key (confirmation key) while displaying a numerical value (amount) to be multiplied. A tax-inclusive amount based on the first tax rate is calculated and displayed. Similarly, when the tax-inclusive key (confirmation key) is operated again, a tax-inclusive amount based on the second tax rate is calculated and displayed on the displayed numerical value.

また、引用文献2に記載された税計算機には、複数の税率にそれぞれ対応する複数の税計算キー(税込み計算キー、税抜き計算キー)と、税込総合計額を算出するための専用キー(税計算合計キー)とが設けられている。税計算機は、各税計算キーに対する操作に応じて、任意の四則計算などによる通常計算された数値、あるいは個別に入力された数値をもとに、各税計算キーに対応する税率による税込み額を算出して表示する。さらに、複数の税率のそれぞれをもとに算出された税込額の総合計を算出して表示する。   In addition, the tax calculator described in the cited reference 2 has a plurality of tax calculation keys (calculation key including tax, calculation key without tax) respectively corresponding to a plurality of tax rates, and a dedicated key (calculation key including tax). Tax calculation total key) is provided. The tax calculator calculates the tax-inclusive amount at the tax rate corresponding to each tax calculation key based on the numerical value calculated normally by any four arithmetic calculations or the numerical value entered individually according to the operation on each tax calculation key. Calculate and display. Furthermore, a total sum of tax included amounts calculated based on each of the plurality of tax rates is calculated and displayed.

特開平10−143472号公報JP-A-10-143472 特開2017−174225号公報JP 2017-174225 A

従来、第1計算(例えば税計算等)の結果に係わる第1数値(例えば税計算の総合計)を表示するためのキーと同じキーの操作により、第1計算とは異なる第2計算(例えば通常計算等)の結果に係わる第2数値(例えば通常計算の総合計)を表示するものは知られていない。キー入力部に、第1数値を表示するためのキーと第2数値を表示するためのキーを別々に設けた場合、それらのキー2つ分のスペースを占有することとなる。   Conventionally, by operating the same key as a key for displaying a first numerical value (for example, a total sum of tax calculations) relating to the result of a first calculation (for example, tax calculation, etc.), a second calculation (for example, different from the first calculation) There is no known display of a second numerical value (for example, a total sum of normal calculations) relating to the result of the normal calculation. When a key for displaying the first numerical value and a key for displaying the second numerical value are separately provided in the key input unit, the space for the two keys is occupied.

本発明は、前記のような課題に考慮してなされたもので、第1計算に係わる数値と第2計算に係わる数値を同じ操作に基づいて表示部に表示させることができる計算機、計算方法、及びプログラムを提供することを目的とする。   The present invention has been made in consideration of the above problems, and has a calculator, a calculation method, and a calculator that can display a numerical value related to a first calculation and a numerical value related to a second calculation on a display unit based on the same operation. And to provide programs.

上記の課題を解決するために、本発明の計算機は、第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、制御部を有する。   In order to solve the above problem, a computer according to the present invention executes a first calculation using a numerical value in response to an input of an instruction to execute a first calculation, and performs a first calculation relating to a result of the executed first calculation. The numerical value is stored in the first memory and displayed on the display unit, and the second calculation using the numerical value is executed in response to the input of the execution instruction of the second calculation different from the first calculation. (2) storing a second numerical value related to the result of the calculation in the second memory and displaying the second numerical value on the display unit, and displaying a numerical value indicating the result of the first calculation executed on the display unit, the first readout instruction; When the input of is performed, the first numerical value stored in the first memory is displayed on the display unit, and the numerical value indicating the result of the executed second calculation is displayed on the display unit. When the first read instruction is input, the data is stored in the second memory. The second numerical value to be displayed on the display unit, and a control unit.

本発明によれば、第1計算に係わる数値と第2計算に係わる数値を同じ操作に基づいて表示部に表示させることができる。   According to the present invention, the numerical value related to the first calculation and the numerical value related to the second calculation can be displayed on the display unit based on the same operation.

本実施形態における税計算機の外観構成を示す正面図。The front view showing the appearance composition of the tax calculator in this embodiment. 本実施形態における電卓の電子回路の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。6 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。6 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。6 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。6 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。6 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。FIG. 4 is a view showing a specific example of an input operation and a display for explaining a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。FIG. 4 is a view showing a specific example of an input operation and a display for explaining a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。FIG. 4 is a view showing a specific example of an input operation and a display for explaining a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。FIG. 4 is a view showing a specific example of an input operation and a display for explaining a tax calculation function of the calculator according to the embodiment. インドの小売店で用いられる伝票フォーマットの一例を示す図。The figure which shows an example of the slip format used in the Indian retail store.

以下、図面により本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施形態に係る税計算機の外観構成を示す正面図である。本実施形態では、税計算機を計算専用の電卓10として実現している。   FIG. 1 is a front view showing an external configuration of the tax calculator according to the present embodiment. In the present embodiment, the tax calculator is realized as a calculator 10 dedicated to calculation.

なお、税計算機は、電卓10として構成する他、計算機能を有する(計算処理プログラムが実装された)パーソナルコンピュータ、タブレット型コンピュータ、スマートフォン、携帯電話機、タッチパネル式PDA(personal digital assistants)、電子ブック、携帯ゲーム機等として構成することができる。なお、電卓10のような物理的なキー(ボタン)が実装されていない税計算機は、電卓10のキーと同様なソフトウェアキーボードを表示し、このソフトウェアキーボードに対するキー操作に応じて計算処理を実行する。   In addition, the tax calculator is configured as the calculator 10, and has a calculation function (a calculation processing program is mounted), such as a personal computer, a tablet computer, a smartphone, a mobile phone, a touch panel PDA (personal digital assistants), an electronic book, It can be configured as a portable game machine or the like. It should be noted that a tax calculator with no physical keys (buttons) such as the calculator 10 displays a software keyboard similar to the keys of the calculator 10 and executes calculation processing in accordance with key operations on the software keyboard. .

本実施形態における電卓10は、複数の税率、例えば5種類の税率により税計算をする税計算機能が設けられている。例えば、インドでは消費税として、5種類の税率(0%、5%、12%、18%、28%)が用いられている。従って、本実施形態における電卓10は、インドなどにおいて、5種類以下の複数の消費税が混在する商品の総額などを算出する税計算に好適である。   The calculator 10 according to the present embodiment is provided with a tax calculation function for calculating a tax at a plurality of tax rates, for example, at five different tax rates. For example, in India, five kinds of tax rates (0%, 5%, 12%, 18%, and 28%) are used as consumption tax. Therefore, the calculator 10 according to the present embodiment is suitable for tax calculation for calculating the total amount of a product in which a plurality of types of consumption tax of five or less are mixed in India and the like.

電卓10の筐体正面には、複数のキーを含むキー入力部11、表示部12およびソーラーパネル13が設けられる。キー入力部11には、数値キー、演算キー、税計算機能キー、機能キー、検算機能キーが設けられる。数値キーには、例えば[00][0]〜[9]のそれぞれに対応する複数のキーを含む。演算キーには、四則演算による通常計算に使用する、例えば[+](加算)キー11h1、[−](減算)キー11h2、[×](乗算)キー11h3、[÷](除算)キー11h4、[=](演算実行)キー11h0のそれぞれに対応する複数のキーを含む。   A key input unit 11 including a plurality of keys, a display unit 12, and a solar panel 13 are provided on the front of the housing of the calculator 10. The key input unit 11 is provided with numerical keys, calculation keys, tax calculation function keys, function keys, and check function keys. The numerical keys include, for example, a plurality of keys corresponding to [00] [0] to [9]. The operation keys include, for example, a [+] (addition) key 11h1, a [-] (subtraction) key 11h2, a [x] (multiplication) key 11h3, and a [算] (division) key 11h4, which are used for normal calculations by four arithmetic operations. , [=] (Calculation execution) key 11h0.

税計算機能キーには、税計算キー([GST+n(TAX−n)])11b、税計算合計キー([GST GT(GT)])11c、税計算モード切替キー([GST+/TAX−])11dが設けられる。ここで、GSTとは、インドの消費税を意味する「Goods and Service Tax」に対する略記号である。また、[ ]内の文字列(ただし、( )内の文字列を除く。)は、各税計算キー11bのキートップに印刷された文字列を示しており、[ ]内のさらに( )内の文字列は、電卓10の筐体正面に印刷された文字列を便宜的に示すものとする。本明細書では、税計算キー11bに限らず、同様の表記とする。   The tax calculation function keys include 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 is provided. Here, GST is an abbreviation for “Goods and Service Tax” which means Indian consumption tax. The character string in [] (however, the character string in () is excluded) indicates the character string printed on the key top of each tax calculation key 11 b, and further in () in []. Is a character string printed on the front of the housing of the calculator 10 for the sake of convenience. In this specification, not only the tax calculation key 11b but also the same notation is used.

税計算キー([GST+n(TAX−n)])11bには、税0計算キー([GST+0(TAX−0)])11b0、税1計算キー([GST+1(TAX−1)])11b1、税2計算キー([GST+2(TAX−2)])11b2、税3計算キー([GST+3(TAX−3)])11b3、税4計算キー([GST+4(TAX−4)])11b4が含まれる。税0計算キー([GST+0(TAX−0)])11b0は、税率0を用いた税計算の実行指示を入力するために操作される。同様にして、税1計算キー([GST+1(TAX−1)])11b1、税2計算キー([GST+2(TAX−2)])11b2、税3計算キー([GST+3(TAX−3)])11b3、税4計算キー([GST+4(TAX−4)])11b4は、それぞれ税率1、税率2、税率3、税率4を用いた税計算の実行指示を入力するために操作される。本明細書では、このように、税計算キー([GST+n(TAX−n)])11bと表現する場合、「n」は0〜4までの各数値の代わりに用いられる。本明細書では、税計算キー11bに限らず、「n」が取り得るすべての数値(0〜4の整数)のうち、いずれの数値であるかを特段限定しない場合には、具体的な数値ではなく「n」を用いて便宜的に説明する。   The tax calculation key ([GST + n (TAX-n)]) 11b includes a tax 0 calculation key ([GST + 0 (TAX-0)]) 11b0, a tax 1 calculation key ([GST + 1 (TAX-1)]) 11b1, and a tax 2 calculation keys ([GST + 2 (TAX-2)]) 11b2, tax 3 calculation keys ([GST + 3 (TAX-3)]) 11b3, and tax 4 calculation keys ([GST + 4 (TAX-4)]) 11b4. The tax 0 calculation key ([GST + 0 (TAX-0)]) 11b0 is operated to input a tax calculation execution instruction using the tax rate 0. Similarly, a tax 1 calculation key ([GST + 1 (TAX-1)]) 11b1, a tax 2 calculation key ([GST + 2 (TAX-2)]) 11b2, and a tax 3 calculation key ([GST + 3 (TAX-3)]) 11b3 and a tax 4 calculation key ([GST + 4 (TAX-4)]) 11b4 are operated to input a tax calculation execution instruction using the tax rate 1, the tax rate 2, the tax rate 3, and the tax rate 4, respectively. In this specification, as described above, when the tax calculation key ([GST + n (TAX-n)]) 11b is used, “n” is used instead of each numerical value from 0 to 4. In the present specification, not only the tax calculation key 11b but also a specific numerical value when there is no particular limitation on which numerical value (an integer from 0 to 4) can be taken by “n”. This will be described for convenience using “n” instead of “n”.

1つの税計算キー11b(税n計算キー11b0〜11b4)は、税込み計算キー[GST+n]と税抜き計算キー[TAX−n]を兼ねている。税計算キー11b(税n計算キー11b0〜11b4)は、税計算モード切替キー([GST+/TAX−])11dの操作に応じて切り替えられる税計算モードに応じて、税込み計算キー[GST+n]あるいは税抜き計算キー[TAX−n]として使用される。1つの税計算キー11bを税込み計算キー[GST+n]と税抜き計算キー[TAX−n]として共用することで、限られた筐体正面の面積を有効に利用して、複数(5種類)の税率のそれぞれに対応する税込み計算処理および税抜き計算処理を実行可能なキーを設けている。   One tax calculation key 11b (tax n calculation keys 11b0 to 11b4) also serves as a tax-inclusive calculation key [GST + n] and a tax-exempt calculation key [TAX-n]. The tax calculation key 11b (tax n calculation key 11b0 to 11b4) is a tax-inclusive calculation key [GST + n] or a tax-inclusive calculation key [GST + n] according to the tax calculation mode switched in response to the operation of the tax calculation mode switching key ([GST + / TAX-]) 11d. Used as a tax-excluding calculation key [TAX-n]. By sharing one tax calculation key 11b as a tax-inclusive calculation key [GST + n] and a tax-exclusive calculation key [TAX-n], a limited area of the front surface of the housing is effectively used, and a plurality of (five types) are used. A key is provided that can execute a tax-inclusive calculation process and a tax-excluding calculation process corresponding to each tax rate.

なお、税計算キー11b(税n計算キー11b0〜11b4)に割り当てられる税率(税率0〜税率4)は、電卓10の工場出荷時に予め設定されている。例えば、税n計算キー11b0〜11b4には、インドにおける使用に合わせて、5種類の税率(0%、5%、12%、18%、28%)がそれぞれ設定される。また、税n計算キー11b0〜11b4に割り当てられる税率(税率0〜税率4)は、ユーザ操作によって任意に設定することができる。   The tax rates (tax rates 0 to 4) assigned to the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4) are preset when the calculator 10 is shipped from the factory. For example, five tax rates (0%, 5%, 12%, 18%, and 28%) are set in the tax n calculation keys 11b0 to 11b4, respectively, in accordance with use in India. The tax rates (tax rates 0 to 4) assigned to the tax n calculation keys 11b0 to 11b4 can be arbitrarily set by a user operation.

税計算合計キー([GST GT(GT)])11cは、四則計算や定数計算などの通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)と、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)を兼ねる。なお、税計算合計キー11cがGSTグランドトータルキーとして機能する場合、税計算が実行されるとともに、電卓10の処理モードが税合計リコールモード(GST GTリコールモード)へ遷移する。一方、税計算合計キー11cがグランドトータルキーとして機能する場合、電卓10の処理モードは特に遷移するわけではなく、単に、合計メモリエリア22hに記憶されている数値が呼び出され、表示部12に表示される。これらの処理については、図4を用いて後ほど詳しく説明する。   The tax calculation total key ([GST GT (GT)]) 11c includes a grand total key ([GT] key) for displaying a grand total for normal calculations (basic calculations) such as four arithmetic calculations and constant calculations, and a tax calculation key. Also serves as a GST grand total key ([GST GT] key) for displaying the total sum for the calculation result of. When the tax calculation total key 11c functions as a GST grand total key, the tax calculation is performed and the processing mode of the calculator 10 transits to the tax total recall mode (GST GT recall mode). On the other hand, when the tax calculation total key 11c functions as a grand total key, the processing mode of the calculator 10 does not particularly change, and the numerical value stored in the total memory area 22h is simply called and displayed on the display unit 12. Is done. These processes will be described later in detail with reference to FIG.

税計算合計キー11cは、税計算合計キー11cが操作された直前の動作状態に応じて、グランドトータルキー([GT]キー)あるいはGSTグランドトータルキー([GST GT]キー)の何れかとして機能する。具体的には、電卓10の処理モードが税合計リコールモードでないときに、例えば、税計算キー11bの操作によって税計算が実行された直後、つまり、税計算の実行後、実行したその税計算の結果を表示部12に表示中に、税計算合計キー11cが押下された場合には、税計算キー11bは、税計算の計算結果について総合計を表示させるGSTグランドトータルキー([GST GT]キー)として機能する。また、電卓10の処理モードが税合計リコールモードでないときに、例えば、演算実行キー([=]キー)11h0の操作によって通常計算が実行された直後、つまり、通常計算の実行後、実行したその通常計算の結果を表示部12に表示中に、税計算合計キー11cが押下された場合、すなわち、税計算キー11bの操作によって税計算が実行された直後でない場合には、税計算キー11bは、通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)として機能する。なお、ここでの税計算合計キー11cの押下時間は、予め定められた任意の時間よりも短い時間であり、次に述べる「長押し」よりも短い時間である。また、短い時間押下することを、本明細書では便宜的に「短押し」、または通常の押下する操作等と記述する。   The tax calculation total key 11c functions as either a grand total key ([GT] key) or a GST grand total key ([GST GT] key) depending on the operation state immediately before the tax calculation total key 11c is operated. I do. Specifically, when the processing mode of the calculator 10 is not the tax total recall mode, for example, immediately after the tax calculation is performed by operating the tax calculation key 11b, that is, after the tax calculation is performed, When the tax calculation total key 11c is pressed while the result is displayed on the display unit 12, the tax calculation key 11b is used as a GST grand total key ([GST GT] key) for displaying a total sum of the calculation results of the tax calculation. ). Further, when the processing mode of the calculator 10 is not the tax total recall mode, for example, immediately after the normal calculation is performed by operating the calculation execution key ([=] key) 11h0, that is, after the normal calculation is performed, If the tax calculation total key 11c is pressed while the result of the normal calculation is displayed on the display unit 12, that is, if the tax calculation is not performed immediately after the tax calculation key 11b is operated, the tax calculation key 11b is , Functions as a grand total key ([GT] key) for displaying a total sum for a normal calculation (basic calculation). Here, the pressing time of the tax calculation total key 11c is shorter than an arbitrary predetermined time, and is shorter than the "long press" described below. Also, pressing for a short time is referred to as “short pressing” or a normal pressing operation in this specification.

さらに、税計算合計キー11cは、通常の押下する操作とは異なる操作(例えば、長押し)がされた場合には、前述とは逆のキーとして機能する。つまり、例えば、税計算キー11bの操作によって税計算が実行された直後に税計算合計キー11cが長押しされた場合には、税計算合計キー11cは、グランドトータルキー([GT]キー)として機能する。また、例えば、演算実行キー([=]キー)11h0の操作によって通常計算が実行された直後に税計算合計キー11cが長押しされた場合、すなわち、税計算キー11bの操作によって税計算が実行された直後でない場合には、税計算合計キー11cは、GSTグランドトータルキー([GST GT]キー)として機能する。なお、税計算合計キー11cに対する通常と異なる操作は、前述した長押しする操作(上述の予め定められた任意の時間以上、押下した状態を継続する操作)以外の他の操作を用いることも可能である。   Further, the tax calculation total key 11c functions as a key opposite to the above when an operation (for example, long press) different from a normal press operation is performed. That is, for example, when the tax calculation total key 11c is long-pressed immediately after the tax calculation is performed by operating the tax calculation key 11b, the tax calculation total key 11c is used as a grand total key ([GT] key). Function. Further, for example, when the tax calculation total key 11c is long-pressed immediately after the normal calculation is performed by operating the calculation execution key ([=] key) 11h0, that is, the tax calculation is performed by operating the tax calculation key 11b. If not, the tax calculation total key 11c functions as a GST grand total key ([GST GT] key). The operation different from the normal operation for the tax calculation total key 11c may be another operation other than the above-mentioned long-pressing operation (the operation of keeping the pressed state for a predetermined time or more). It is.

機能キーには、例えばオールクリアキー([AC]キー11a)、クリアキー([C]キー)、複数のメモリキー([MRC][M−][M+])、ルートキー([√]キー)、[%]キー11gなどが含まれる。[%]キー11gは、パーセント計算のために使用される他、税計算キー11b(税n計算キー11b0〜11b4)のそれぞれに対応する税率をキー操作によって入力される値に設定するための税率設定処理を起動するために使用される。   The function keys include, for example, an all clear key ([AC] key 11a), a clear key ([C] key), a plurality of memory keys ([MRC] [M-] [M +]), and a root key ([√] key). ), [%] Key 11g and the like. The [%] key 11g is used not only for calculating the percentage, but also for setting a tax rate corresponding to each of the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4) to a value input by key operation. Used to initiate the configuration process.

検算機能キーは、先に実行された計算の内容について確認/修正するための検算機能において使用されるキーである。検算機能キーには、確認キー([CHECK BACK]キー11e、[CHECK FOWARD]キー11f)と、修正キー([CORRECT]キー)11kが含まれる。[CHECK BACK]キー11e及び[CHECK FOWARD]キー11fは、先に実行された計算の内容(計算データ)をステップ単位で切り替えて表示させるためのキーである。[CHECK BACK]キー11eが操作された場合、ステップ数が少ない方向のステップの計算データに表示を切り替え、[CHECK FOWARD]キー11fが操作された場合、ステップ数が多い方向のステップの計算データに表示を切り替える。なお、1ステップは、計算のために入力された「置数+ファンクション」が単位となる。「ファンクション」には、四則計算、税込み計算、税抜き計算などのために操作されたキーのコードが記憶される。修正キー11kは、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fの操作により表示された計算の内容(「置数+ファンクション」)の修正を指示するためのキーである。修正キー11kの操作後に修正後の計算の内容を入力することで、表示された先に入力された計算データを修正することができる。   The check function key is a key used in the check function for confirming / correcting the contents of the calculation executed earlier. The verification function keys include a confirmation key ([CHECK BACK] key 11e, [CHECK FWARD] key 11f) and a correction key ([CORRECT] key) 11k. [CHECK BACK] key 11e and [CHECK FWARD] key 11f are keys for switching and displaying the contents (calculation data) of the previously executed calculation in units of steps. When the [CHECK BACK] key 11e is operated, the display is switched to the calculation data of the step in the direction in which the number of steps is small, and when the [CHECK FWARD] key 11f is operated, the calculation data in the direction in which the number of steps is large is displayed. Switch the display. In addition, one step is a unit of “numeric value + function” input for calculation. In the “function”, a code of a key operated for four arithmetic calculations, tax-inclusive calculations, tax-excluding calculations, and the like is stored. The correction key 11k is a key for instructing the correction of the content of the calculation (“the number input + function”) displayed by operating the [CHECK BACK] key 11e or the [CHECK FWARD] key 11f. By inputting the content of the corrected calculation after operating the correction key 11k, the displayed previously input calculation data can be corrected.

ラウンドセレクタ11yは、端数処理の計算方法を設定する。例えば、「F」設定は、表示部12に小数点以下を含む表示可能な最大桁の表示を指定する。「CUT」設定は、小数点セレクタ11zで指定された桁の切り捨てを指定する。「UP」設定は、小数点セレクタ11zで指定された桁の切り上げを指定する。「5/4」設定は、小数点セレクタ11zで指定した桁の四捨五入を指定する。小数点セレクタ11zは、小数点以下を何桁まで表示部12に表示させるかを設定する。なお、「ADD2」設定は、入力された数値に対して所定の桁数への小数点設定を指定する。   The round selector 11y sets a calculation method of the fraction processing. For example, the “F” setting specifies the display of the maximum displayable digit including the decimal part on the display unit 12. The “CUT” setting specifies the truncation of the digit specified by the decimal point selector 11z. The “UP” setting specifies rounding of the digit specified by the decimal point selector 11z. The “5/4” setting specifies the rounding of the digit specified by the decimal point selector 11z. The decimal point selector 11z sets how many digits after the decimal point are displayed on the display unit 12. The “ADD2” setting specifies the decimal point setting to a predetermined number of digits for the input numerical value.

表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の計算モードや各種設定状態を示す文字や記号(シンボル)が表示される。例えば、状態表示エリアには、ステップ数12a、税計算モードシンボル12b、税計算キーシンボル12c、税合計リコールモードシンボル12d、総合計表示シンボル12e、メモリシンボル12fなどが表示される。なお、図1では、状態表示エリアを説明するため、表示可能なすべてのシンボルを同じ画面上に便宜的に示したが、電卓10が取り得る任意の状態において、このように多数のシンボルが同じ画面上に同時に表示されるとは限らない。   The display unit 12 includes a dot matrix type liquid crystal display unit. The display unit 12 displays numerical values input by operating the keys of the key input unit 11. The display unit 12 displays numerical values for a limited number of lines (for example, one line). Characters and symbols (symbols) indicating the calculation mode being set and various setting states are displayed in a state display area provided along the side of the display unit 12. For example, in the status display area, the number of steps 12a, the tax calculation mode symbol 12b, the tax calculation key symbol 12c, the tax total recall mode symbol 12d, the total sum display symbol 12e, the memory symbol 12f, and the like are displayed. In FIG. 1, all displayable symbols are shown on the same screen for the sake of convenience in describing the status display area. However, in an arbitrary state that the calculator 10 can take, such a large number of symbols are the same. They are not always displayed on the screen at the same time.

ステップ数12aは、キー入力部11のキーに対する操作により入力された「置数+ファンクション」を1ステップとした、現在の表示対象としているステップの位置を示す。税計算モードシンボル12bは、現在の税計算モードを示すもので、税込み計算を実行する税込み計算モードの場合には例えば[GST+]を表示し、税抜き計算を実行する税抜き計算モードの場合には、例えば[TAX−]を表示する。   The step number 12a indicates the position of the current step to be displayed, with “numerical value + function” input by operating the key of the key input unit 11 as one step. The tax calculation mode symbol 12b indicates the current tax calculation mode. For example, [GST +] is displayed in the tax-inclusive calculation mode for executing the tax-inclusive calculation, and is displayed in the tax-exclusive calculation mode for executing the tax-independent calculation. Displays [TAX-], for example.

税計算キーシンボル12cは、税計算キー11bの操作により税計算が実行された場合に、税計算に用いた税率と、税込み計算あるいは税抜き計算の何れかを示すシンボルである。税計算キー11bが税込み計算キー[GST+n]として使用された場合、税率0〜4のそれぞれに対応する[GST+0]、[GST+1]、[GST+2]、[GST+3]、[GST+4]の何れかが表示される。また、税計算キー11bが税抜き計算キー[TAX−n]として使用された場合、税率0〜4のそれぞれに対応する[TAX−0]、[TAX−1]、[TAX−2]、[TAX−3]、[TAX−4]の何れかが表示される。   The tax calculation key symbol 12c is a symbol indicating the tax rate used for the tax calculation and either the tax-inclusive calculation or the tax-excluding calculation when the tax calculation is performed by operating the tax calculation key 11b. When the tax calculation key 11b is used as the tax included calculation key [GST + n], any one of [GST + 0], [GST + 1], [GST + 2], [GST + 3], and [GST + 4] corresponding to each of the tax rates 0 to 4 is displayed. Is done. When the tax calculation key 11b is used as the tax-excluded calculation key [TAX-n], [TAX-0], [TAX-1], [TAX-2], [TAX-2] corresponding to the tax rates 0 to 4, respectively. TAX-3] or [TAX-4] is displayed.

税合計リコールモードシンボル12dは、税計算合計キー([GST GT(GT)])11cの操作により税合計リコールモード(GST GTリコールモード)に遷移したことを示すシンボルであり、例えば「RCL」が表示される。税合計リコールモードでは、税計算合計キー11cに対するキー操作に応じて、各税率(税率0〜4)で計算した税計算の総合計として、税込総合計額、税抜総合計額、税額総合計額を切替表示させることができる。また、税合計リコールモードでは、税計算キー11bに対するキー操作により表示対象とする税率(税率0〜4)を指定し、指定した税率別の税計算の総合計として、税込合計額、税抜合計額、税額合計額を切替表示させることができる。   The tax total recall mode symbol 12d is a symbol indicating that a transition has been made to the tax total recall mode (GST GT recall mode) by operation of the tax calculation total key ([GST GT (GT)]) 11c, for example, "RCL" is displayed. Is displayed. In the tax total recall mode, a total sum of tax calculations calculated at each tax rate (tax rates 0 to 4) is calculated in accordance with a key operation on the tax calculation total key 11c. The amount can be switched and displayed. In the tax total recall mode, a tax rate to be displayed (tax rates 0 to 4) is specified by a key operation on the tax calculation key 11b. The amount and the total tax amount can be switched and displayed.

総合計表示シンボル12eは、演算実行キー[=]11h0の操作に応じて行われる通常計算の計算結果が合計メモリエリア22hに記憶されていることを示すシンボルであり、例えば「GT」が表示される。メモリシンボル12fは、メモリキー([M−][M+])の操作に応じて、メモリ機能により数値が記憶されていることを示すシンボルである。   The total display symbol 12e is a symbol indicating that the calculation result of the normal calculation performed in response to the operation of the calculation execution key [=] 11h0 is stored in the total memory area 22h. For example, "GT" is displayed. You. The memory symbol 12f is a symbol indicating that a numerical value is stored by a memory function in response to an operation of a memory key ([M-] [M +]).

ソーラーパネル13は、電卓10を使用する際の周辺環境光の照度がある程度明るいとき、発電する。ソーラーパネル13は、発電中、電卓10の電源部26(図2に示す)として機能し、電卓10の各部へ給電する。また、ソーラーパネル13が発電していないときは、電卓10が別途備える電源部26としての一次電池より電卓10の各部へ給電される。   The solar panel 13 generates electric power when the illuminance of ambient light when the calculator 10 is used is bright to some extent. The solar panel 13 functions as a power supply unit 26 (shown in FIG. 2) of the calculator 10 during power generation, and supplies power to each unit of the calculator 10. When the solar panel 13 is not generating power, power is supplied to each unit of the calculator 10 from a primary battery as a power supply unit 26 separately provided in the calculator 10.

図2は、本実施形態における電卓10の電子回路の構成を示すブロック図である。電卓10の電子回路は、CPU21を含む、コンピュータを構成する複数のユニットを備えている。   FIG. 2 is a block diagram illustrating a configuration of an electronic circuit of the calculator 10 according to the present embodiment. The electronic circuit of the calculator 10 includes a plurality of units constituting a computer including a CPU 21.

CPU21は、メモリ22に記憶された計算処理プログラム22aを実行することにより、回路各部の動作を制御する。キー入力部11への入力操作が行われると、CPU21は、キー入力部11からのキー入力信号により入力操作がされたキーを検出し、検出された各キーに応じた各種の計算処理を実行する。電卓10は、CPU21が計算処理プログラム22aに記述された命令に従い回路各部の動作を制御し、ソフトウェアとハードウェアとが協働して動作することにより、以下の動作説明で述べる計算機能による処理を含む計算処理を実現する。   The CPU 21 controls the operation of each part of the circuit by executing the calculation processing program 22a stored in the memory 22. When an input operation is performed on the key input unit 11, the CPU 21 detects a key on which an input operation has been performed based on a key input signal from the key input unit 11, and executes various calculation processes according to the detected keys. I do. In the calculator 10, the CPU 21 controls the operation of each part of the circuit according to the instructions described in the calculation processing program 22a, and the software and the hardware operate in cooperation to execute the processing by the calculation function described in the following operation description. Implement calculation processing including:

計算処理プログラム22aは、予めメモリ22に記憶されていても良いし、記録媒体読取部24を介してメモリカード等の外部記録媒体23から読み込まれても良いし、あるいは通信部25を介して通信ネットワークN(インターネット等を含む)上のサーバ30からダウンロードされても良い。   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 a recording medium reading unit 24, or may be communicated via a communication unit 25. It may be downloaded from the server 30 on the network N (including the Internet or the like).

メモリ22には、計算処理プログラム22aが記憶される他に、税計算の計算結果を記憶するエリア(税メモリ)、合計メモリエリア22h、税合計リコールモードエリア22k、税計算モードエリア22m、バッファメモリエリア22n、表示メモリエリア22p、税率記憶エリア22rなど各データを記憶するエリアが設けられる。税メモリ(第1メモリ)には、税率0合計メモリエリア22b、税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22f、税合計メモリエリア22gが含まれる。なお、以下の説明では、税率0合計メモリエリア22b、税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22fを総称して、税率別税合計メモリエリア22b〜22fと説明する場合がある。   In addition to the calculation processing program 22a, the memory 22 stores an area (tax memory) for storing the calculation result of the tax calculation, a total memory area 22h, a total tax recall mode area 22k, a tax calculation mode area 22m, and a buffer memory. An area for storing each data, such as an area 22n, a display memory area 22p, and a tax rate storage area 22r, is provided. The tax memory (first memory) includes a tax rate 0 total memory area 22b, a tax rate 1 total memory area 22c, a tax rate 2 total memory area 22d, a tax rate 3 total memory area 22e, a tax rate 4 total memory area 22f, and a tax total memory area 22g. Is included. In the following description, the tax rate 0 total memory area 22b, the tax rate 1 total memory area 22c, the tax rate 2 total memory area 22d, the tax rate 3 total memory area 22e, and the tax rate 4 total memory area 22f are collectively referred to as tax totals by tax rate. It may be described as memory areas 22b to 22f.

税率0合計メモリエリア22bは、税率0に基づいた税計算により算出されるデータを記憶するためのエリアである。税率0合計メモリエリア22bには、税率0の税込み計算の結果に基づく数値が記憶される。具体的には、最後に[AC]キー11aを入力操作してから後に1回以上行われた税率0の税込み計算の結果としての税込み額(第0税込み額)、税額(第0税額)、税抜き額(第0税抜き額)の各合計額が、第0税込合計額、第0税抜合計額、第0税合計額として、それぞれ記憶される。   The tax rate 0 total memory area 22b is an area for storing data calculated by a tax calculation based on the tax rate 0. In the tax rate 0 total memory area 22b, a numerical value based on the result of the tax-inclusive calculation of the tax rate 0 is stored. Specifically, the tax amount (the 0th tax amount), the tax amount (the 0th tax amount), and the tax amount as a result of the tax-inclusive calculation of the tax rate 0 performed at least once after the input operation of the [AC] key 11a, The total amount of the tax-excluded amount (the 0th tax-excluded amount) is stored as the 0th tax-included total amount, the 0th tax-excluded total amount, and the 0th tax total amount, respectively.

税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22fは、前述した税率0合計メモリエリア22bと同様にして、それぞれの税率1〜4に基づいた税計算により算出されるデータを記憶するためのエリアである。詳細な説明については省略する。   The tax rate 1 total memory area 22c, the tax rate 2 total memory area 22d, the tax rate 3 total memory area 22e, and the tax rate 4 total memory area 22f are based on the respective tax rates 1 to 4 in the same manner as the tax rate 0 total memory area 22b. This is an area for storing data calculated by the tax calculation. Detailed description is omitted.

税合計メモリエリア22gは、全ての税率0〜4に基づいた税計算により算出される数値の合計を示すデータを記憶するためのエリアである。税合計メモリエリア22gには、税計算合計キー11cの入力操作に応じて、第0〜第4税込合計額を合計した税込総合計額、税込総合計額に対応する税抜総合計額、税込総合計額に対応する税総合計額が記憶される。   The tax total memory area 22g is an area for storing data indicating a total of numerical values calculated by tax calculations based on all tax rates 0 to 4. In the tax total memory area 22g, the total tax-included total amount including the 0 to 4th tax-inclusive total amount, the total tax-excluded total amount corresponding to the tax-included total total amount, and the tax-inclusive amount are provided in accordance with the input operation of the tax calculation total key 11c. The total tax amount corresponding to the total amount is stored.

合計メモリエリア22hは、通常計算により算出される数値の合計を示すデータを記憶するためのエリアである(第2メモリ)。合計メモリエリア22hには、演算実行キー[=]11h0の操作に応じて通常計算の計算結果が算出されることにより、計算結果とする数値が合計メモリエリア22hに記憶された数値に加算される。   The total memory area 22h is an area for storing data indicating a total of numerical values calculated by the normal calculation (second memory). In the total memory area 22h, the calculation result of the normal calculation is calculated according to the operation of the calculation execution key [=] 11h0, and the numerical value as the calculation result is added to the numerical value stored in the total memory area 22h. .

税合計リコールモードエリア22kは、税計算合計キー11cに対する入力操作に応じて、リコールモードの状態にあるか否かを示す税合計リコールモードフラグが、オン状態またはオフ状態に設定される。税合計リコールモードは、税計算キー11bの操作による税計算の直後に税計算合計キー11cが押下された場合、あるいは通常計算の直後に税計算合計キー11cが長押しされた場合にオンされる(税合計リコールモードへの遷移)。また、税合計リコールモードは、税合計リコールモードをオフするための予め定められた指示として、例えば[AC]キー11aが操作された場合にオフされる。なお、税合計リコールモードのオン/オフの切り替えは、税計算合計キー11cと[AC]キー11aの操作に限られるものではない。例えば、別のキー操作に応じて、あるいは電卓10の処理結果に応じて、税合計リコールモードのオン/オフを切り替えるようにしても良い。   In the total tax recall mode area 22k, a total tax recall mode flag indicating whether or not the user is in a recall mode in accordance with an input operation on the total tax calculation key 11c is set to an ON state or an OFF state. The tax total recall mode is turned on when the tax calculation total key 11c is pressed immediately after the tax calculation by operating the tax calculation key 11b, or when the tax calculation total key 11c is pressed and held immediately after the normal calculation. (Transition to tax total recall mode). The tax total recall mode is turned off when, for example, the [AC] key 11a is operated as a predetermined instruction for turning off the tax total recall mode. The switching of the tax total recall mode on / off is not limited to the operation of the tax calculation total key 11c and the [AC] key 11a. For example, on / off of the tax total recall mode may be switched according to another key operation or the processing result of the calculator 10.

税合計リコールモードがオン状態の場合には、税計算合計キー11cが操作(押下)される毎に、税合計メモリエリア22gに記憶された税込総合計額、税抜総合計額、税総合計額を切り替えて表示させることができる。また、税合計リコールモードがオン状態の場合には、税計算キー11b(税n計算キー11b0〜11b4)が操作(押下)される毎に、税率別税合計メモリエリア22b〜22fに記憶された、税込合計額、税抜合計額、税合計額を切り替えて表示させることができる。   When the total tax recall mode is on, every time the total tax calculation key 11c is operated (pressed), the total total including tax, the total total before tax, and the total total tax are stored in the total tax memory area 22g. The amount can be switched and displayed. When the tax total recall mode is in the ON state, each time the tax calculation key 11b (the tax n calculation keys 11b0 to 11b4) is operated (pressed), the tax total is stored in the tax total memory areas 22b to 22f for each tax rate. , The total amount including tax, the total amount without tax, and the total amount of tax can be switched and displayed.

税合計リコールモードのオン状態は、キー入力部11の数値キー及び演算キーの入力がされた場合も維持される。従って、税計算合計キー11cあるいは税計算キー11b(11b0〜11b4)の入力操作によって税計算の結果を表示させて確認しながら、数値キー及び演算キーを用いた通常計算を実行することができる。税合計リコールモードのオン状態における通常計算では、税計算の結果とする数値を表示部12に表示させて、表示部12に表示された置数に対して、四則計算などを実行することができる。   The ON state of the tax total recall mode is maintained even when the numerical keys and the calculation keys of the key input unit 11 are input. Therefore, the normal calculation using the numerical keys and the operation keys can be executed while displaying and confirming the result of the tax calculation by the input operation of the tax calculation total key 11c or the tax calculation key 11b (11b0 to 11b4). In the normal calculation in the ON state of the total tax recall mode, a numerical value as a result of the tax calculation is displayed on the display unit 12, and four arithmetic calculations can be executed on the number displayed on the display unit 12. .

税計算モードエリア22mは、税計算モード切替キー11dに対する入力操作に応じて切り替えられる、税込み計算モードあるいは税抜き計算モードの何れの状態にあるかを示す税計算モードデータが記憶される。   The tax calculation mode area 22m stores tax calculation mode data that is switched according to an input operation on the tax calculation mode switching key 11d and that indicates the state of the tax included calculation mode or the tax excluded calculation mode.

バッファメモリエリア22nは、最後に入力されたファンクションと組になって単位をなすように入力された置数が記憶される。また、表示メモリエリア22pは、そのときに表示部12に表示されている数値が記憶される。例えば、数値キーの操作により置数として数値「100」と、ファンクションとして税1計算キー([GST+1(TAX−1)])11b1とが順次操作された場合、バッファメモリエリア22nには置数としての数値「100」が記憶され、表示メモリエリア22pには税率1の税込み計算の結果として表示部12にも表示されている数値「105」が記憶されている(ただし、税率1を5%とした場合)。このように、バッファメモリエリア22nおよび表示メモリエリア22pに記憶されている各数値は、最新の入力操作に応じて、順次上書き更新される。   The buffer memory area 22n stores the numbers entered so as to form a unit in combination with the last input function. The display memory area 22p stores the numerical value displayed on the display unit 12 at that time. For example, when the numerical value “100” is operated as a numerical value by operating a numerical key and the tax 1 calculation key ([GST + 1 (TAX-1)]) 11b1 is sequentially operated as a function, the numerical value is stored in the buffer memory area 22n as the numerical value. Is stored in the display memory area 22p, and the numerical value “105” also displayed on the display unit 12 as a result of the tax-inclusive calculation of the tax rate 1 is stored (however, the tax rate 1 is 5%). if you did this). As described above, the numerical 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.

税率記憶エリア22rは、税計算キー11b(税n計算キー11b0〜11b4)のそれぞれに設定された税率0〜4を示す数値が記憶される。例えば、税n計算キー11b0〜11b4には、工場出荷時に、インドにおける使用に合わせて、5種類の税率(0%、5%、12%、18%、28%)が設定される。この場合、税率記憶エリア22eには、税n計算キー11b0〜11b4に対応する税率0〜4のそれぞれに対して、「0」、「5」、「12」、「18」、「28」の数値が記憶される。   The tax rate storage area 22r stores numerical values indicating the tax rates 0 to 4 set for the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4). For example, five tax rates (0%, 5%, 12%, 18%, and 28%) are set in the tax n calculation keys 11b0 to 11b4 at the time of shipment from the factory in accordance with use in India. In this case, the tax rate storage area 22e stores "0", "5", "12", "18", and "28" for each of the tax rates 0 to 4 corresponding to the tax n calculation keys 11b0 to 11b4. The numerical value is stored.

次に、本実施形態における電卓10の動作について説明する。図3、図4、図5、図6及び図7は、本実施形態における電卓10の税計算機能の動作を説明するためのフローチャートである。図8、図9、図10及び図11は、本実施形態における電卓10の税計算機能を説明するための入力操作と表示の具体例を示す図である。   Next, the operation of the calculator 10 in the present embodiment will be described. FIGS. 3, 4, 5, 6, and 7 are flowcharts for explaining the operation of the tax calculation function of the calculator 10 in the present embodiment. FIGS. 8, 9, 10 and 11 are diagrams showing specific examples of input operations and displays for explaining the tax calculation function of the calculator 10 in the present embodiment.

なお、以下の説明では、税1計算キー([GST+1(TAX−1)])11b1と対応する税率1を5%として、便宜的に説明する。   In the following description, the tax rate 1 corresponding to the tax 1 calculation key ([GST + 1 (TAX-1)]) 11b1 will be set to 5% for convenience.

まず、ユーザは、計算を開始前に表示及びメモリの内容をクリアするため、[AC]キー11aを操作(押下)する。CPU21は、[AC]キー11aが操作されると(ステップA9:Yes)、メモリ22の税率別税合計メモリエリア22b〜22f、税合計メモリエリア22g、合計メモリエリア22h、バッファメモリエリア22n、表示メモリエリア22pを全てクリアする(ステップA12)。また、CPU21は、税合計リコールモードエリア22kに記憶された税合計リコールモードフラグをオフする(ステップA13)。CPU21は、先の税計算結果などの数値が表示された状態で[AC]キー11aが操作された場合には、先に表示された数値をクリアして「0」を表示する。また、CPU21は、表示部12の状態表示エリアに先のシンボルが表示された状態で[AC]キー11aが操作された場合には、先に表示されたシンボルをクリアして非表示にする。   First, the user operates (presses) the [AC] key 11a in order to clear the display and the contents of the memory before starting the calculation. When the [AC] key 11a is operated (Step A9: Yes), the CPU 21 stores the tax total memory areas 22b to 22f by tax rate, the tax total memory area 22g, the total memory area 22h, the buffer memory area 22n, and the display in the memory 22. The entire memory area 22p is cleared (step A12). Further, the CPU 21 turns off the tax total recall mode flag stored in the tax total recall mode area 22k (step A13). When the [AC] key 11a is operated in a state where the numerical value such as the tax calculation result is displayed, the CPU 21 clears the previously displayed numerical value and displays “0”. When the [AC] key 11a is operated in a state where the previous symbol is displayed in the status display area of the display unit 12, the CPU 21 clears the previously displayed symbol and hides it.

[AC]キー11aの入力操作の直後に、税計算キー11b(税n計算キー11b0〜11b4の何れか)に対する入力操作を検出した場合(ステップA19:Yes)、A117:Yes)、CPU21は、入力操作が行われた税n計算キー11b0〜11b4の何れかに対して設定された税率をメモリ22の税率記憶エリア22rから読み出して表示部12において表示させる(ステップA118)。例えば、[AC]キー11aの入力操作の直後に税1計算キー11b1が操作された場合、CPU21は、税1計算キー11b1に設定された税率1(5%)を示す数値を、税率記憶エリア22rから読み出して表示部12に「5」を表示させる。   If an input operation on the tax calculation key 11b (any of the tax n calculation keys 11b0 to 11b4) is detected immediately after the input operation of the [AC] key 11a (step A19: Yes), A117: Yes, the CPU 21 The tax rate set for any of the tax n calculation keys 11b0 to 11b4 for which the input operation has been performed is read from the tax rate storage area 22r of the memory 22 and displayed on the display unit 12 (step A118). For example, when the tax 1 calculation key 11b1 is operated immediately after the input operation of the [AC] key 11a, the CPU 21 stores the numerical value indicating the tax rate 1 (5%) set in the tax 1 calculation key 11b1 in the tax rate storage area. Read out from 22r and display “5” on the display unit 12.

ここで、続けて、税計算キー11b以外の他のキー操作をすることなく、税計算キー11b(税n計算キー11b0〜11b4の何れか)に対する入力操作を検出した場合(ステップA19:Yes、A117:Yes)、すなわち、税計算キー11bのキー操作が連続する限り、CPU21は、入力操作がされた税計算キー11bに対して設定された税率0〜4の何れかを、前述と同様にしてメモリ22から読み出して表示部12に表示させる(ステップA118)。   Here, when an input operation on the tax calculation key 11b (any one of the tax n calculation keys 11b0 to 11b4) is detected without performing any key operation other than the tax calculation key 11b (step A19: Yes, A117: Yes), that is, as long as the key operation of the tax calculation key 11b continues, the CPU 21 sets any one of the tax rates 0 to 4 set for the input tax calculation key 11b in the same manner as described above. The data is read from the memory 22 and displayed on the display unit 12 (step A118).

すなわち、[AC]キー11aの入力操作の直後であれば、税計算キー11b(税n計算キー11b0〜11b4)の何れかを連続して操作することで、それぞれの税計算キー11bに対して設定された税率0〜4を連続的に切り替えて表示させることができる。なお、最後に[AC]キー11aを入力操作してから後、税計算キー11bの入力操作のみが2回以上連続して行われているとき、2回目以降の税計算キー11bの入力操作は、厳密には、[AC]キー11aの入力操作の直後に行われたものではないが、本明細書では、そのような入力操作も[AC]キー11aの入力操作の直後に行われたものとみなす。また、最後に[AC]キー11aを入力操作してから後、税計算キー11b以外の入力操作が一度でも行われれば、それ以降に行われる税計算キー11bの入力操作は、[AC]キー11aの入力操作の直後に行われたものではないものとみなす。   That is, immediately after the input operation of the [AC] key 11a, one of the tax calculation keys 11b (the tax n calculation keys 11b0 to 11b4) is continuously operated, so that each of the tax calculation keys 11b is operated. The set tax rates 0 to 4 can be continuously switched and displayed. After the last input operation of the [AC] key 11a, if only the input operation of the tax calculation key 11b is performed twice or more consecutively, the input operation of the tax calculation key 11b after the second time is performed. Strictly speaking, it is not performed immediately after the input operation of the [AC] key 11a, but in the present specification, such an input operation is also performed immediately after the input operation of the [AC] key 11a. Consider Further, after the last input operation of the [AC] key 11a, if an input operation other than the tax calculation key 11b is performed even once, the input operation of the tax calculation key 11b performed thereafter will be the [AC] key. It is assumed that the operation is not performed immediately after the input operation of 11a.

次に、計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップA10:Yes)、CPU21は、入力操作された数値キーに応じた数値(数値コード)を入力し、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12において表示させる(ステップA15)。   Next, when a numerical key is operated by the user to input a numerical value to be calculated (step A10: Yes), the CPU 21 inputs a numerical value (numerical code) corresponding to the input numerical key. The input numerical value is stored in the display memory area 22p and displayed on the display unit 12 (step A15).

続いて、演算キーが操作されると(ステップA11:Yes)、CPU21は、入力操作された演算キーに応じた演算(演算コード)を入力して、入力された演算の演算(記号)シンボルを表示部12の状態表示エリアにおいて表示させる(ステップA16)。   Subsequently, when the operation key is operated (Step A11: Yes), the CPU 21 inputs an operation (operation code) corresponding to the operated operation key, and changes the operation (symbol) symbol of the input operation. It is displayed in the status display area of the display unit 12 (step A16).

また、CPU21は、入力された演算コードと入力済みの数値コードをもとに演算を実行し、演算途中の結果の数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。以下、同様にして、数値コードと演算コードの入力が繰り返されることにより、CPU21は、入力された数値コードと演算コードとを順次記憶していく。そして、ユーザ操作により演算実行キー「=」(イコール)11h0が操作されると(ステップA17:Yes)、CPU21は、入力操作された演算実行キー(「=」キー)11h0に応じた演算コードを入力し、それまでに入力された数値コードと演算コードに応じた計算を実行し、計算結果の数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。また、CPU21は、数値コードと演算コードに応じた通常計算の結果とする数値を合計メモリエリア22hに記憶させる(ステップA18)。合計メモリエリア22hに既に数値が記憶されている場合には、CPU21は、先に記憶された数値に通常計算の結果とする数値を加算してメモリ22に記憶させる。ユーザ操作により演算実行キー「=」(イコール)11h0が操作されていない場合(ステップA17:No)、CPU21は、入力操作の待機状態へ戻る。   Further, the CPU 21 performs an operation based on the input operation code and the input numerical code, stores the numerical value of the result of the operation in the display memory area 22p, and causes the display unit 12 to display the numerical value. Hereinafter, similarly, by repeatedly inputting the numerical code and the operation code, the CPU 21 sequentially stores the input numerical code and the operation code. Then, when the operation execution key “=” (equal) 11h0 is operated by a user operation (step A17: Yes), the CPU 21 calculates an operation code corresponding to the input operation execution key (“=” key) 11h0. The calculation is performed in accordance with the input numerical code and the operation code, and the numerical value of the calculation result is stored in the display memory area 22p and displayed on the display unit 12. Further, the CPU 21 stores a numerical value as a result of the normal calculation according to the numerical code and the operation code in the total memory area 22h (Step A18). When a numerical value has already been stored in the total memory area 22h, the CPU 21 adds a numerical value obtained as a result of the normal calculation to the previously stored numerical value and stores the result in the memory 22. When the calculation execution key “=” (equal) 11h0 is not operated by the user operation (step A17: No), the CPU 21 returns to the standby state of the input operation.

[AC]キー11aの入力操作の直後以外に、表示部12に数値が表示された状態において、税計算キー11bの入力操作を検出した場合(ステップA19:Yes→A117:No)、CPU21は、表示部12に表示された数値(置数)、即ち、表示メモリエリア22pに記憶されている数値に対して、入力操作が行われた税n計算キー11b0〜11b4の何れかに設定された税率を用いて税計算を実行する。なお、税計算の対象とする数値は、通常計算によって表示された数値に限らず、単に数値キーの入力操作により入力された数値を対象とすることができる。   If the input operation of the tax calculation key 11b is detected in a state where the numerical value is displayed on the display unit 12 other than immediately after the input operation of the [AC] key 11a (step A19: Yes → A117: No), the CPU 21 With respect to the numerical value (numeric value) displayed on the display unit 12, that is, the numerical value stored in the display memory area 22p, the tax rate set in any of the tax n calculation keys 11b0 to 11b4 for which the input operation has been performed. Perform tax calculation using. It should be noted that the numerical value to be calculated is not limited to the numerical value displayed by the normal calculation, but may be a numerical value input simply by inputting a numerical key.

税計算キー11b(税n計算キー11b0〜11b4のそれぞれ)は、税込み計算を実行するためのキーと税抜き計算を実行するためのキーを兼ねている。CPU21は、税計算キー11bが操作された場合に、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。ここで、現在の税計算モードが税込み計算モードである場合(ステップA110、税込み)、CPU21は、税込み計算を実行して、税計算の結果をキー操作に応じて表示させる税込み計算処理を実行する(ステップA111)。また、現在の税計算モードが税抜き計算モードである場合(ステップA110、税抜き)、CPU21は、税抜き計算を実行して、税計算の結果をキー操作に応じて表示させる税抜き計算処理を実行する(ステップA112)。   The tax calculation key 11b (each of the tax n calculation keys 11b0 to 11b4) serves both as a key for executing a tax-inclusive calculation and a key for executing a tax-excluded calculation. When the tax calculation key 11b is operated, the CPU 21 refers to the tax calculation mode area 22m to determine whether the current tax calculation mode is the tax-inclusive calculation mode or the tax-excluding calculation mode. Here, when the current tax calculation mode is the tax-inclusive calculation mode (step A110, including tax), the CPU 21 executes the tax-inclusive calculation, and performs a tax-inclusive calculation process of displaying the result of the tax calculation in accordance with a key operation. (Step A111). If the current tax calculation mode is the tax-excluded calculation mode (step A110, tax-excluded), the CPU 21 executes the tax-excluded calculation and displays the result of the tax calculation in accordance with a key operation. Is executed (step A112).

なお、税計算モードは、税計算モード切替キー11dの操作によって切り替えられる。CPU21は、税計算モード切替キー11dの操作を検出した場合(ステップA14:Yes)、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。   The tax calculation mode is switched by operating the tax calculation mode switching key 11d. When detecting the operation of the tax calculation mode switching key 11d (step A14: Yes), the CPU 21 refers to the tax calculation mode area 22m to determine whether the current tax calculation mode is the tax-inclusive calculation mode or the tax-excluding calculation mode. Determine if there is.

ここで、現在の税計算モードが税込み計算モードである場合(ステップA113、税込み)、CPU21は、税計算モードエリア22mに税抜き計算モードを示す税計算モードデータを記憶させる(ステップA114)。また、CPU21は、税抜き計算モードを示す税計算モードシンボル12b([TAX−])を、表示部12の状態表示エリアに表示させる(ステップA116)。   Here, when the current tax calculation mode is the tax-inclusive calculation mode (step A113, including tax), the CPU 21 stores the tax calculation mode data indicating the tax-excluding calculation mode in the tax calculation mode area 22m (step A114). Further, the CPU 21 displays the tax calculation mode symbol 12b ([TAX-]) indicating the tax-excluding calculation mode in the status display area of the display unit 12 (step A116).

一方、現在の税計算モードが税抜き計算モードである場合(ステップA113、税抜き)、CPU21は、税計算モードエリア22mに税込み計算モードを示す税計算モードデータを記憶させる(ステップA115)。また、CPU21は、税込み計算モードを示す税計算モードシンボル12b([GST+])を、表示部12の状態表示エリアに表示させる(ステップA116)。   On the other hand, when the current tax calculation mode is the tax-excluding calculation mode (step A113, excluding tax), the CPU 21 stores the tax calculation mode data indicating the tax-inclusive calculation mode in the tax calculation mode area 22m (step A115). Further, the CPU 21 displays the tax calculation mode symbol 12b ([GST +]) indicating the tax-inclusive calculation mode in the status display area of the display unit 12 (step A116).

CPU21は、税計算モード切替キー11dの操作に応じて税計算モードを切り替えた場合、税率別税合計メモリエリア22b〜22fに記憶された計算結果(税抜合計額、税込合計額、税合計額)をそのまま維持する。従って、税込み計算と税抜き計算を混在して実行する場合に、税計算モードを切り替えたとしても、計算途中の計算結果が保持される。   When switching the tax calculation mode in accordance with the operation of the tax calculation mode switching key 11d, the CPU 21 calculates the calculation results (total tax-excluded amount, total tax-included amount, total tax amount) stored in the tax-specific tax total memory areas 22b to 22f. ) As it is. Therefore, when the tax-inclusive calculation and the tax-exclusive calculation are performed in a mixed manner, the calculation result in the middle of the calculation is retained even if the tax calculation mode is switched.

次に、本実施形態における税込み計算処理について、図5に示すフローチャートを参照しながら説明する。   Next, the tax-inclusive calculation processing in the present embodiment will be described with reference to the flowchart shown in FIG.

CPU21は、税0計算キー11b0が操作された場合(ステップB1:Yes)、税0計算キー11b0に対して設定された税率0を用いた税率0計算処理を実行する(ステップB6)。同様にして、CPU21は、税1計算キー11b1が操作された場合には(ステップB2:Yes)、税率1計算処理を実行し(ステップB10)、税2計算キー11b2が操作された場合には(ステップB3:Yes)、税率2計算処理を実行し(ステップB3)、税3計算キー11b3が操作された場合には(ステップB4:Yes)、税率3計算処理を実行し(ステップB8)、税4計算キー11b4が操作された場合には(ステップB5:Yes)、税率4計算処理を実行する(ステップB9)。   When the tax 0 calculation key 11b0 is operated (step B1: Yes), the CPU 21 executes a tax rate 0 calculation process using the tax rate 0 set for the tax 0 calculation key 11b0 (step B6). Similarly, when the tax 1 calculation key 11b1 is operated (step B2: Yes), the CPU 21 executes a tax rate 1 calculation process (step B10), and when the tax 2 calculation key 11b2 is operated, (Step B3: Yes), the tax rate 2 calculation processing is executed (Step B3). When the tax 3 calculation key 11b3 is operated (Step B4: Yes), the tax rate 3 calculation processing is executed (Step B8). When the tax 4 calculation key 11b4 is operated (step B5: Yes), a tax rate 4 calculation process is executed (step B9).

税率0計算処理、税率1計算処理、税率2計算処理、税率3計算処理、税率4計算処理は、それぞれ基本的に同じ処理を実行する。ここでは、税率1計算処理について説明し、他の計算処理の詳細な説明については省略する。   The tax rate 0 calculation processing, the tax rate 1 calculation processing, the tax rate 2 calculation processing, the tax rate 3 calculation processing, and the tax rate 4 calculation processing basically execute the same processing. Here, the tax rate 1 calculation process will be described, and detailed description of other calculation processes will be omitted.

図6は、本実施形態における税込み計算処理の税率1計算処理を説明するためのフローチャートである。
CPU21は、税1計算キー11b1の入力操作を検出した場合(ステップB2:Yes)、税合計リコールモードがオフ状態にあるか、税合計リコールモードエリア22kを参照して判別する。税合計リコールモードは、税計算合計キー11cに対する操作によってオン状態に遷移する。税合計リコールモードのオン状態への遷移は、後述するステップA28において実行される。
FIG. 6 is a flowchart for explaining the tax rate 1 calculation process of the tax-inclusive calculation process in the present embodiment.
When detecting the input operation of the tax 1 calculation key 11b1 (step B2: Yes), the CPU 21 determines whether the tax total recall mode is off or not by referring to the tax total recall mode area 22k. The tax total recall mode is turned on by operating the tax calculation total key 11c. The transition of the tax total recall mode to the ON state is executed in step A28 described later.

ここで、税合計リコールモードがオフ状態である場合(ステップB21:Yes)、CPU21は、表示メモリエリア22pに記憶されている数値(置数)を読み出し、読み出した数値を税抜き額として、当該税抜き額と入力操作が行われた税計算キー11bに応じた税率である税率1(「5%」)とをもとに、税込み額及び税額を計算して、計算された税込み額及び税額と表示中の数値が示す税抜き額とを共に税率1合計メモリエリア22cに記憶させる(ステップB22)。また、CPU21は、表示メモリエリア22pに記憶されている税込み計算に用いた数値をバッファメモリエリア22nに記憶させるとともに、税率1をもとに計算した税込み額の数値を表示メモリエリア22pに記憶させる(ステップB23)。さらに、CPU21は、税率1をもとに計算した税込み額を表示部12に表示させる(ステップB24)。   Here, when the tax total recall mode is in the off state (step B21: Yes), the CPU 21 reads the numerical value (numeric value) stored in the display memory area 22p, and sets the read numerical value as the tax-excluded amount. The tax-inclusive amount and the tax amount are calculated based on the tax-excluded amount and the tax rate 1 (“5%”) which is the tax rate according to the tax calculation key 11b on which the input operation is performed, and the calculated tax-inclusive amount and tax amount are calculated. Is stored in the tax rate 1 total memory area 22c (step B22). Further, the CPU 21 stores the numerical value used for the tax-inclusive calculation stored in the display memory area 22p in the buffer memory area 22n, and stores the numerical value of the tax-inclusive amount calculated based on the tax rate 1 in the display memory area 22p. (Step B23). Further, the CPU 21 causes the display unit 12 to display the tax-inclusive amount calculated based on the tax rate 1 (step B24).

なお、最後に[AC]キー11aを入力操作してから、ステップB22を今回実行する迄の間に、ステップB22を1回以上先だって実行していた場合には、先だって実行していた1回以上のステップB22において各計算された税抜き額又はその合計額、税込み額又はその合計額、税額又はその合計額が、ステップB22を今回実行する前に、税率1合計メモリエリア22cにすでに記憶されていることとなる。そこで、ステップB22を実行する際、税率1合計メモリエリア22cに、税抜き額又はその合計額、税込み額又はその合計額、税額又はその合計額がすでに記憶されている場合には、その記憶されている税抜き額又はその合計額、税込み額又はその合計額、税額又はその合計額のそれぞれに対し、ステップB22を今回実行した際に計算された税抜き額、税込み額、税額をそれぞれ加算する。このように、税率1合計メモリエリア22cには、最後に[AC]キー11aを入力操作した後に実行された、1回以上の全ての税率1の税込み計算(ステップB22)により得られた税抜き額、税込み額、税額の各合計額が記憶される。   If the step B22 has been executed one or more times before the step B22 is executed this time after the last input operation of the [AC] key 11a, the previously executed one or more times is executed. The tax-excluded amount or the total amount, the tax-inclusive amount or the total amount, the tax amount or the total amount calculated in step B22 are already stored in the tax rate 1 total memory area 22c before executing step B22 this time. Will be. Therefore, when the step B22 is executed, if the tax-excluded amount or the total amount, the tax-inclusive amount or the total amount, the tax amount or the total amount are already stored in the tax rate 1 total memory area 22c, the tax-exclusive amount or the total amount is stored. Add the tax-excluded amount, tax-inclusive amount, and tax amount calculated when step B22 is executed this time to the tax-excluded amount or the total amount, the tax-inclusive amount or the total amount, and the tax amount or the total amount, respectively. . As described above, in the tax rate 1 total memory area 22c, the tax exemption obtained by one or more tax inclusive calculations of all tax rates 1 (step B22) executed after the last input operation of the [AC] key 11a. The sum of the amount, the tax-inclusive amount, and the tax amount is stored.

こうして、CPU21は、複数の数値(置数)に対する税込み計算を、税1計算キー11b1に対する入力操作に応じて続けて指示することができる。   In this way, the CPU 21 can continuously instruct the tax-inclusive calculation for a plurality of numerical values (numbers) according to the input operation on the tax 1 calculation key 11b1.

なお、税込み額が表示されている状態において、税計算を指示するために操作した税1計算キー11b1を続けて操作することで、税込み額、税抜き額、税額の各表示を切り替えることができる。例えば、税率1をもとに算出された税込み額が表示されている時(ステップB24)、税1計算キー11b1が操作された場合(ステップB25:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(置数)を読み出して、税抜き額として表示させる(ステップB26)。前述の通り、このとき、即ち、税込み計算直後(ステップB22、B23を実行直後)は、税込み計算に用いられた税抜き額の数値が、バッファメモリエリア22nに記憶されている。また、税抜き額が表示されている時(ステップB26)、税1計算キー11b1が操作された場合(ステップB27:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値及び税率1をもとに税額を改めて算出し、その数値を表示部12に表示させる(ステップB28)。さらに、続けて税1計算キー11b1が操作された場合(ステップB29:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値及び税率1をもとに税込み額を改めて算出し、その数値を表示部12表示させる(ステップB24)。   In the state where the tax-included amount is displayed, the display of the tax-inclusive amount, the tax-excluded amount, and the tax amount can be switched by continuously operating the tax 1 calculation key 11b1 operated to instruct the tax calculation. . For example, when the tax-inclusive 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 CPU 21 stores it in the buffer memory area 22n. The read numerical value (number) is read out and displayed as the tax-excluded amount (step B26). As described above, at this time, that is, immediately after the tax-inclusive calculation (immediately after executing steps B22 and B23), the value of the tax-excluded amount used in the tax-inclusive calculation is stored in the buffer memory area 22n. When the tax-excluded amount is displayed (step B26), if the tax-one calculation key 11b1 is operated (step B27: Yes), the CPU 21 sets the numerical value (tax-excluded amount) stored in the buffer memory area 22n. ) Is read out, the tax amount is calculated again based on the read out numerical value and the tax rate 1, and the numerical value is displayed on the display unit 12 (step B28). Further, when the tax 1 calculation key 11b1 is continuously operated (step B29: Yes), the CPU 21 reads out the numerical value (excluding tax) stored in the buffer memory area 22n, and reads the read numerical value and the tax rate 1. The tax-inclusive amount is calculated again based on the calculated value, and the numerical value is displayed on the display unit 12 (step B24).

このようにして、電卓10は、税1計算キー11b1の操作に応じて税込み額を算出した後、税1計算キー11b1に対する操作毎に、税込み額、税抜き額、税額の各表示を、順次、切り替えて表示させることができる。よって、税込み額と税抜き額と税額とを容易に確認することができる。   In this way, the calculator 10 calculates the tax-inclusive amount in accordance with the operation of the tax-one calculation key 11b1, and then displays each of the tax-inclusive amount, the tax-excluded amount, and the tax amount for each operation on the tax-one calculation key 11b1. , Can be switched and displayed. Therefore, the tax-inclusive amount, the tax-excluded amount, and the tax amount can be easily confirmed.

一方、税合計リコールモードがオン状態である場合(ステップB21:No)、CPU21は、少なくとも1つの数値に対して税率1により計算した税込み額の合計を示す第1税込合計額を税率1合計メモリエリア22cから読み出して表示部12に表示させる(ステップB30)。なお、税合計リコールモードのオン状態への遷移については後述する。   On the other hand, when the tax total recall mode is on (step B21: No), the CPU 21 stores the first tax-included total amount indicating the total of the tax-inclusive amount calculated based on the tax rate 1 for at least one numerical value, in the tax rate 1 total memory. The data is read from the area 22c and displayed on the display unit 12 (step B30). The transition to the ON state of the tax total recall mode will be described later.

さらに、第1税込合計額が表示されている状態において、税1計算キー11b1が操作された場合(ステップB31,Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額に対応する第1税抜合計額(税抜き額の合計)を読み出して表示させる(ステップB32)。さらに、第1税抜き額が表示された状態において、税1計算キー11b1が操作された場合(ステップB33:Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額に対応する第1税合計額(税額の合計)を読み出して表示させる(ステップB34)。さらに、第1税合計額が表示された状態において、税1計算キー11b1が操作された場合(ステップB35:Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額を読み出して表示させる(ステップB30)。   Further, when the tax 1 calculation key 11b1 is operated in the state where the first tax-included total amount is displayed (step B31, Yes), the CPU 21 corresponds to the first tax-included total amount from the tax rate 1 total memory area 22c. The first total tax-excluded amount (total tax-excluded amount) is read out and displayed (step B32). Further, when the first tax exemption amount is displayed and the tax 1 calculation key 11b1 is operated (step B33: Yes), the CPU 21 determines from the tax rate 1 total memory area 22c the first tax-included total amount. One tax total amount (total tax amount) is read and displayed (step B34). Furthermore, when the tax 1 calculation key 11b1 is operated in the state where the first tax total amount is displayed (step B35: Yes), the CPU 21 reads out and displays the first tax total total amount from the tax rate 1 total memory area 22c. (Step B30).

すなわち、電卓10は、税合計リコールモードがオン状態では、税1計算キー11b1に対する操作毎に、税率1をもとに算出された第1税込合計額、第1税抜合計額、第1税合計額の表示に、順次、切り替えることができる。よって、複数の数値に対して税率1により税計算した後、税率1を用いた複数の税計算の計算結果として、第1税込合計額、第1税抜合計額、第1税合計額を容易に確認することができる。   That is, when the tax total recall mode is on, the calculator 10 displays the first total tax-included amount, the first total tax-excluded total amount, and the first tax-exclusive amount calculated based on the tax rate 1 for each operation on the tax 1 calculation key 11b1. The display of the total amount can be sequentially switched. Therefore, after the tax calculation for a plurality of numerical values at the tax rate 1, the first tax total amount, the first tax-excluded total amount, and the first tax total amount can be easily calculated as a result of the multiple tax calculations using the tax rate 1. Can be confirmed.

なお、税合計リコールモードがオン状態である場合(ステップB21:No)、CPU21は、複数の税計算キー11b(11b0〜11b4)の何れかが操作されたことを検出した場合(ステップB31:No、ステップB33:No、ステップB35:No)、操作された税計算キー11bに対応する計算処理に移行して(ステップB36〜B39)、前述したステップB21〜B35と同様の処理を実行する。   When the tax total recall mode is on (step B21: No), the CPU 21 detects that any of the plurality of tax calculation keys 11b (11b0 to 11b4) has been operated (step B31: No). , Step B33: No, Step B35: No), the process proceeds to the calculation process corresponding to the operated tax calculation key 11b (Steps B36 to B39), and the same processes as those in Steps B21 to B35 described above are executed.

例えば、第1税込合計額、第1税抜合計額、第1税合計額の何れかが表示された状態において、税0計算キー11b0が操作されたことを検出した場合(ステップB31:No、ステップB33:No、ステップB35:No→ステップB36:Yes)、CPU21は、税率0計算処理に移行する(ステップB6)。この場合、税合計リコールモードがオン状態であるので、前述のステップB30同様、CPU21は、税率0合計メモリエリア22bから第0税込合計額(税率0の税込み額の合計)を読み出して表示させる。また、第0税込合計額が表示された状態において、税0計算キー11b1が操作された場合、前述のステップB32同様、CPU21は、税率1合計メモリエリア22cから第0税抜合計額(税率0の税抜き額の合計)を読み出して表示させる。さらに、第0税抜合計額が表示された状態において、税0計算キー11b0が操作された場合、前述のステップB34同様、CPU21は、税率0合計メモリエリア22bから第0税合計額(税率0の税額の合計)を読み出して表示させる。   For example, when it is detected that the tax 0 calculation key 11b0 has been operated in a state where any of the first total tax-included amount, the first total tax-excluded total amount, and the first tax total amount is displayed (step B31: No, (Step B33: No, Step B35: No → Step B36: Yes), the CPU 21 proceeds to a tax rate 0 calculation process (Step B6). In this case, since the tax total recall mode is in the ON state, the CPU 21 reads out the 0th tax-included total amount (the total amount including tax at the tax rate 0) from the tax rate 0 total memory area 22b and displays the same as in step B30 described above. When the tax 0 calculation key 11b1 is operated in a state where the 0th tax-included total amount is displayed, similarly to step B32 described above, the CPU 21 reads the 0th tax-excluded total amount (tax rate 0) from the tax rate 1 total memory area 22c. Of the tax excl.) Is displayed. Further, when the tax 0 calculation key 11b0 is operated in a state in which the 0th tax-excluded total amount is displayed, the CPU 21 reads the 0th tax total amount (tax rate 0) from the tax rate 0 total memory area 22b as in the above-described step B34. The total amount of tax is read out and displayed.

同様にして、税2計算キー11b2が操作されたことを検出した場合(ステップB37:Yes)、CPU21は、税率2計算処理に移行して(ステップB7)、前述と同様の処理を実行する。また、CPU21は、税3計算キー11b3が操作されたことを検出した場合には(ステップB38:Yes)、税率3計算処理に移行し(ステップB8)、税4計算キー11b4が操作されたことを検出した場合には(ステップB27:Yes)、税率4計算処理に移行し(ステップB9)、それぞれ前述と同様の処理を実行する。なお、税計算合計キー11cが操作されたことを検出した場合(ステップB40:Yes)、CPU21は、各税率で計算した税込合計額、税抜合計額、税合計額の合計額を表示する処理に移行する(後述するステップA29〜A214の処理)。また、税計算合計キー11cが操作されたことを検出しなかった場合(ステップB40:No)、CPU21は、入力操作の待機状態へ戻る。なお、税率0計算処理、税率2計算処理、税率3計算処理、及び、税率4計算処理において、税1計算キー11b1の操作が検出されると、図5に示すように、税率1計算処理に移行する(ステップB10)。   Similarly, when the CPU 21 detects that the tax 2 calculation key 11b2 has been operated (step B37: Yes), the CPU 21 shifts to a tax rate 2 calculation process (step B7) and executes the same process as described above. When the CPU 21 detects that the tax 3 calculation key 11b3 has been operated (step B38: Yes), the CPU 21 shifts to the tax rate 3 calculation process (step B8), and determines that the tax 4 calculation key 11b4 has been operated. Is detected (Step B27: Yes), the process proceeds to the tax rate 4 calculation process (Step B9), and the same process as described above is executed. If it is detected that the tax calculation total key 11c has been operated (step B40: Yes), the CPU 21 displays the total tax-included amount, the total tax-excluded amount, and the total tax amount calculated at each tax rate. (Steps A29 to A214 described later). If the CPU 21 has not detected that the tax calculation total key 11c has been operated (step B40: No), the CPU 21 returns to the standby state for the input operation. In addition, in the tax rate 0 calculation processing, the tax rate 2 calculation processing, the tax rate 3 calculation processing, and the tax rate 4 calculation processing, when the operation of the tax 1 calculation key 11b1 is detected, as shown in FIG. The process proceeds (step B10).

税率0〜税率4の各計算処理では、税合計リコールモードがオン状態である間、それぞれ他の税率に対応する税計算キー11bが操作されることで、操作された税計算キー11bに対応する他の計算処理に移行して、他の計算処理に対応する税率をもとに計算された税込合計額、税抜合計額、税合計額を表示させることができる。   In each of the calculation processes of the tax rates 0 to 4, the tax calculation keys 11b corresponding to the other tax rates are operated while the tax total recall mode is in the ON state, thereby corresponding to the operated tax calculation keys 11b. By shifting to another calculation process, the total tax-included amount, the total tax-excluded amount, and the total tax amount calculated based on the tax rate corresponding to the other calculation process can be displayed.

従って、税合計リコールモードがオン状態にある場合には、複数の税計算キー11b(11b0〜11b4)の何れかを選択することで、操作された税計算キー11bに対応する税率により計算された、税込合計額、税抜合計額、税合計額を容易に確認することができる。   Therefore, when the tax total recall mode is in the ON state, by selecting one of the plurality of tax calculation keys 11b (11b0 to 11b4), the calculation is performed based on the tax rate corresponding to the operated tax calculation key 11b. , The total amount including tax, the total amount without tax, and the total amount of tax can be easily checked.

次に、本実施形態における税抜き計算処理について、図7に示すフローチャートを参照しながら説明する。ここでは、税1計算キー11b1が操作された場合について説明する。税0計算キー11b0、税2計算キー11b2、税3計算キー11b3、及び税4計算キー11b4が操作された場合については、税1計算キー11b1が操作された場合と同様の処理が実行されるものとして詳細な説明を省略する。   Next, the tax exclusion calculation processing in the present embodiment will be described with reference to the flowchart shown in FIG. Here, a case where the tax 1 calculation key 11b1 is operated will be described. When 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, the same processing as when the tax 1 calculation key 11b1 is operated is executed. Detailed description is omitted.

CPU21は、税1計算キー11b1が操作されたことを検出した場合、CPU21は、表示メモリエリア22pに記憶されている数値(置数)を読み出し、読み出した数値を税込み額として、当該税込み額と入力操作が行われた税計算キー11bに応じた税率である税率1(「5%」)とをもとに、税抜き額を計算する(ステップC13)。また、CPU21は、表示メモリエリア22pに記憶されている税抜き計算に用いた数値をバッファメモリエリア22nに記憶させるとともに、税率1をもとに計算した税抜き額の数値を表示メモリエリア22pに記憶させる(ステップC2)。さらに、CPU21は、税率1をもとに計算した税抜き額を表示部12に表示させる(ステップC3)。   When the CPU 21 detects that the tax 1 calculation key 11b1 has been operated, the CPU 21 reads a numerical value (numeric value) stored in the display memory area 22p, and uses the read numerical value as a tax-inclusive amount. Based on the tax rate 1 (“5%”), which is the tax rate corresponding to the tax calculation key 11b on which the input operation has been performed, the tax-excluded amount is calculated (step C13). The CPU 21 stores the numerical value used for the tax exclusion calculation stored in the display memory area 22p in the buffer memory area 22n, and stores the numerical value of the tax exclusion amount calculated based on the tax rate 1 in the display memory area 22p. It is stored (step C2). Further, the CPU 21 causes the display unit 12 to display the tax-excluded amount calculated based on the tax rate 1 (step C3).

なお、税抜き額が表示されている状態において、税計算を指示するために操作した税1計算キー11b1を続けて操作することで、税抜き額、税額の各表示を切り替えることができる。例えば、税率1をもとに算出された税抜き額が表示されている時(ステップC3)、税1計算キー11b1が操作された場合(ステップC4:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税込み額)を読み出して、読み出した数値及び税率1をもとに税額を改めて算出し、その数値を表示部12に表示させる(ステップC5)。さらに、続けて税1計算キー11b1が操作された場合(ステップC6:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値を表示部12表示させる(ステップC3)。   In the state where the tax-excluded amount is displayed, the display of the tax-excluded amount and the tax amount can be switched by continuously operating the tax 1 calculation key 11b1 operated to instruct the tax calculation. For example, when the tax-excluded amount calculated based on the tax rate 1 is displayed (step C3), and the tax 1 calculation key 11b1 is operated (step C4: Yes), the CPU 21 stores the data in the buffer memory area 22n. The stored numerical value (tax included) is read out, the tax amount is newly calculated based on the read numerical value and the tax rate 1, and the numerical value is displayed on the display unit 12 (step C5). Further, when the tax 1 calculation key 11b1 is continuously operated (step C6: Yes), the CPU 21 reads out the numerical value (tax-excluded amount) stored in the buffer memory area 22n, and displays the read numerical value on the display unit 12. It is displayed (step C3).

このようにして、電卓10は、税1計算キー11b1の操作に応じて税抜き額を算出した後、税1計算キー11b1に対する操作毎に、税抜き額、税額の各表示を交互に切り替えて表示させることができる。よって、税抜き額と税額とを容易に確認することができる。   In this way, after calculating the tax-excluded amount in accordance with the operation of the tax-one calculation key 11b1, the calculator 10 alternately switches the display of the tax-excluded amount and the tax amount for each operation on the tax-one calculation key 11b1. Can be displayed. Therefore, the tax-excluded amount and the tax amount can be easily confirmed.

なお、税抜き計算処理においては、税1計算キー11b1に対する操作を行っても、税込み額は表示されない。また、税込み計算処理では、税計算キー11bに対する操作に応じて計算した計算結果を税率1合計メモリエリア22cに反映(加算)させるが、税抜き計算処理では、計算結果を税率1合計メモリエリア22cに反映させない。   In the tax exclusion calculation process, even if an operation is performed on the tax 1 calculation key 11b1, the tax-inclusive amount is not displayed. In the tax-inclusive calculation processing, the calculation result calculated according to the operation on the tax calculation key 11b is reflected (added) to the tax rate 1 total memory area 22c. In the tax-excluded calculation processing, the calculation result is calculated in the tax rate 1 total memory area 22c. Do not reflect on.

一方、ステップC3において、税抜き計算によって算出された数値(税抜き額)は、それを置数として、別の税率を用いた税込み計算や通常計算を続けて実行とすることができる。   On the other hand, the numerical value (tax-excluded amount) calculated by the tax-excluded calculation in step C3 can be used as a numerical value to continue execution of the tax-inclusive calculation using a different tax rate or the normal calculation.

例えば、インドの様な複数の消費税率を使用する市場では、MRP(Maximum Retail Priceの略で小売価格=税込み額)で表記されている。従って、税込み額をもとにして別の税率を用いた税込み計算をする場合には、税込み額を税抜き額に戻した後に、改めて別の税率に応じた税込み計算を実行して、税抜き額、税込み額、税額を求める必要がある。   For example, in a market such as India that uses a plurality of consumption tax rates, it is represented by MRP (abbreviation of Maximum Retail Price: retail price = tax included). Therefore, when calculating the tax-inclusive amount using a different tax rate based on the tax-inclusive amount, after resetting the tax-inclusive amount to the tax-excluded amount, the tax-inclusive calculation according to the different tax rate is performed again, and the tax-excluded amount is calculated. You need to find the amount, tax included, and tax amount.

本実施形態における電卓10では、複数の数値に対して税込み計算(税抜合計額、税込合計額、税合計額)を実行している途中で、前述したように税抜き計算が必要な場合に、税計算モードを税込み計算モードから税抜き計算モードに切り替えたとしても、各税率0〜4に対応する税率別税合計メモリエリア22b〜22fのデータ(計算途中までの計算結果)が破棄(クリア)されない。従って、電卓10は、税込み計算と税抜き計算を混在して実行する場合であっても、必要に応じて税計算モードを切り替えて実行できるので、効率的に税計算をすることができる。   In the calculator 10 according to the present embodiment, while the tax-inclusive calculation (total tax, total tax, and total tax) is being performed on a plurality of numerical values, when the tax-exclusive calculation is necessary as described above, Even if the tax calculation mode is switched from the tax-inclusive calculation mode to the tax-excluding calculation mode, the data of the tax total memory areas 22b to 22f corresponding to the respective tax rates 0 to 4 (calculation results up to the middle of the calculation) are discarded (cleared). Not). Therefore, even when the calculator 10 performs the tax-inclusive calculation and the tax-exclusive calculation in a mixed manner, the calculator 10 can switch and execute the tax calculation mode as needed, and thus can perform the tax calculation efficiently.

次に、本実施形態における税計算合計キー([GST GT(GT)])11cに対する入力操作に応じた処理について、図4に示すフローチャートを参照しながら説明する。 税計算合計キー11cは、通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)と、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)を兼ねている。   Next, processing according to an input operation on the tax calculation total key ([GST GT (GT)]) 11c in the present embodiment will be described with reference to the flowchart shown in FIG. The tax calculation total key 11c includes a grand total key ([GT] key) for displaying a total total for the normal calculation (basic calculation) and a GST grand total key (for displaying the total total for the calculation result of the tax calculation). [GST GT] key).

CPU21は、税計算合計キー11cの操作を検出した場合(ステップA21:Yes)、税合計リコールモードフラグがオン状態であるか判別する(ステップA22)。CPU21は、税合計リコールモードフラグがオン状態であると判別した場合(ステップA22:Yes)、ステップA29へ処理を進める。言い換えると、CPU21は、実行した税計算又は通常計算の結果を示す数値を表示部12に表示中であるかどうかにかかわらず、つまり、表示部12の表示内容にかかわらず、税合計リコールモードフラグがオン状態であると判別した場合は(ステップA22:Yes)、ステップA29へ処理を進める。税合計リコールモードフラグがオン状態であると判別した場合(ステップA22:No)、税計算合計キー11cに対する操作が通常の押下(所定時間未満、押下した状態を継続する操作)であるか、あるいは長押し操作(所定時間以上、押下した状態を継続する操作)であるか判別する。   When detecting the operation of the tax calculation total key 11c (step A21: Yes), the CPU 21 determines whether the tax total recall mode flag is on (step A22). If the CPU 21 determines that the tax total recall mode flag is in the ON state (step A22: Yes), the process proceeds to step A29. In other words, the CPU 21 determines whether the numerical value indicating the result of the executed 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, Is determined to be on (Step A22: Yes), the process proceeds to Step A29. If it is determined that the tax total recall mode flag is in the ON state (step A22: No), the operation on the tax calculation total key 11c is a normal press (operation of keeping the pressed state for less than a predetermined time), or It is determined whether the operation is a long-press operation (an operation of continuing the pressed state for a predetermined time or more).

ここで、通常の押下する操作であると判別された場合(ステップA23:No)、CPU21は、税計算合計キー11cが押下された直前の操作が税計算であるかを判別する。すなわち、CPU21は、税計算キー11bの操作に応じて税計算した直後に税計算合計キー11cが操作されたか、言い換えると、税計算キー11bの操作に続けて税計算合計キー11cが操作されたかを判別する。   Here, when it is determined that the operation is a normal pressing operation (step A23: No), the CPU 21 determines whether the operation immediately before the tax calculation total key 11c is pressed is the tax calculation. That is, the CPU 21 determines whether the tax calculation total key 11c has been operated immediately after the tax calculation in accordance with the operation of the tax calculation key 11b, in other words, whether the tax calculation total key 11c has been operated following the operation of the tax calculation key 11b. Is determined.

ここで、税計算直後に税計算合計キー11cが操作されたと判別された場合(ステップA26:Yes)、CPU21は、税合計リコールモードエリア22kに記憶された税合計リコールモードをオンする(ステップA28)。すなわち、税計算直後に操作される税計算合計キー11cは、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)として使用される。   Here, when it is determined that the tax calculation total key 11c has been operated immediately after the tax calculation (step A26: Yes), the CPU 21 turns on the tax total recall mode stored in the tax total recall mode area 22k (step A28). ). That is, the tax calculation total key 11c operated immediately after the tax calculation is used as a GST grand total key ([GST GT] key) for displaying a total sum of the calculation results of the tax calculation.

この場合、CPU21は、税率別税合計メモリエリア22b〜22fに記憶された各税率0〜4をもとに算出された税込み額、税抜合計額、税合計額をもとに、それぞれを合計した税込総合計額、税抜総合計額、税総合計額を算出して税合計メモリエリア22gに記憶させる。また、CPU21は、算出した税込総合計額を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる(ステップA29)。   In this case, the CPU 21 calculates the total amount based on the tax-inclusive amount, the tax-excluded total amount, and the tax-inclusive amount calculated based on each of the tax rates 0 to 4 stored in the tax total tax-specific memory areas 22b to 22f. The calculated total amount including tax, total amount excluding tax, and total amount of tax are calculated and stored in the total tax memory area 22g. In addition, the CPU 21 stores the calculated total sum including tax in the display memory area 22p and causes the display unit 12 to display the total sum (step A29).

税込総合計額が表示されている時(ステップA29)、税計算合計キー11cが操作された場合(ステップA210:Yes)、CPU21は、税合計メモリエリア22gから税抜総合計額を読み出して、表示メモリエリア22pに記憶させるとともに、税込総合計額に代えて表示部12に表示させる(ステップA211)。   When the tax total sum is displayed (step A29), if the tax calculation total key 11c is operated (step A210: Yes), the CPU 21 reads out the tax total sum from the tax total memory area 22g, The information is stored in the display memory area 22p and displayed on the display unit 12 in place of the total sum including tax (step A211).

さらに、税抜総合計額が表示されている時(ステップA211)、税計算合計キー11cが操作された場合(ステップA212,Yes)、CPU21は、税合計メモリエリア22gから税総合計額を読み出して、表示メモリエリア22pに記憶させるとともに、税抜総合計額に代えて表示部12に表示させる(ステップA213)。   Furthermore, when the tax total sum is displayed (step A211), if the tax calculation total key 11c is operated (step A212, Yes), the CPU 21 reads the tax total total from the tax total memory area 22g. Then, it is stored in the display memory area 22p and displayed on the display unit 12 in place of the total tax-excluded total amount (step A213).

さらに、税総合計額が表示されている時(ステップA213)、税計算合計キー11cが操作された場合(ステップA214:Yes)、CPU21は、税合計メモリエリア22gから税込総合計額を読み出して、表示メモリエリア22pに記憶させるとともに、税総合計額に代えて表示部12に表示させる(ステップA29)。   Further, when the total tax amount is displayed (step A213), if the total tax calculation key 11c is operated (step A214: Yes), the CPU 21 reads out the total total amount including tax from the total tax memory area 22g. Are stored in the display memory area 22p and displayed on the display unit 12 instead of the total tax amount (step A29).

すなわち、本実施形態における電卓10は、税計算合計キー11cの操作に応じて税込総合計額を算出し、税計算合計キー11cに対する操作毎に、税込総合計額、税込総合計額に対応する税抜総合計額、税込総合計額に対応する税総合計額に、順次、表示を切り替えることができる。よって、税込総合計額、税抜総合計額、税総合計額を容易に確認することができる。   That is, the calculator 10 in the present embodiment calculates the total tax-included total in accordance with the operation of the tax calculation total key 11c, and corresponds to the total tax-included total and the total tax-included total for each operation on the tax calculation total key 11c. The display can be sequentially switched to the total amount excluding tax and the total amount corresponding to the total amount including tax. Therefore, it is possible to easily confirm the total amount including tax, the total amount excluding tax, and the total amount including tax.

一方、CPU21は、税計算合計キー11cが押下された直前の操作が税計算でない、すなわち通常計算した直後に税計算合計キー11cが操作されたと判別した場合(ステップA26:No)、合計メモリエリア22hに記憶された通常計算の結果とする数値を読み出して、表示メモリエリア22pに記憶させるとともに、表示部12において表示させる(ステップA27)。すなわち、通常計算の直後に操作される税計算合計キー11cは、通常計算により計算された総合計を表示させるためのグランドトータルキー([GT]キー)として使用される。   On the other hand, when the CPU 21 determines that the operation immediately before the tax calculation total key 11c is pressed is not the tax calculation, that is, the tax calculation total key 11c is operated immediately after the normal calculation (step A26: No), the total memory area The numerical value as a result of the normal calculation stored in 22h is read out, stored in the display memory area 22p, and displayed on the display unit 12 (step A27). That is, the tax calculation total key 11c operated immediately after the normal calculation is used as a grand total key ([GT] key) for displaying the total sum calculated by the normal calculation.

こうして、本実施形態における電卓10では、限られた面積の筐体正面において1つの税計算合計キー11cを設け、グランドトータルキー([GT]キー)と、GSTグランドトータルキー([GST GT]キー)として兼用する。税計算合計キー11cは、直前の状態(税計算直後、通常計算直後)に応じて機能が切り替えられるため、税計算の総合計(税込総合計額、税抜総合計額、税合計額)と通常計算の総合計とを容易に表示させることができる。   Thus, in the calculator 10 according to the present embodiment, one tax calculation total key 11c is provided on the front of the housing having a limited area, and a grand total key ([GT] key) and a GST grand total key ([GST GT] key) ). The function of the tax calculation total key 11c is switched according to the state immediately before (immediately after tax calculation, immediately after normal calculation), so that the tax calculation total sum (tax total sum, tax-excluded total sum, tax total amount) The total sum of the ordinary calculations can be easily displayed.

なお、CPU21は、税計算合計キー11cの操作を検出した場合(ステップA21:Yes)、税計算合計キー11cに対する操作が長押し操作であると判別した場合(ステップA23:Yes)、前述した税計算合計キー11cが押下された場合と逆の計算結果を表示するように処理を実行する。   When detecting the operation of the tax calculation total key 11c (step A21: Yes), the CPU 21 determines that the operation on the tax calculation total key 11c is a long press operation (step A23: Yes), The processing is executed so as to display the calculation result opposite to the case where the calculation total key 11c is pressed.

すなわち、CPU21は、税計算合計キー11cが長押しされた場合(ステップA23:Yes)、税計算合計キー11cの操作が税計算の直後に行われたものであると判別される場合には(ステップA24:Yes)、合計メモリエリア22hに記憶された通常計算の結果とする数値を読み出して、表示メモリエリア22pに記憶させるとともに、表示部12において表示させる(ステップA27)。   That is, when the tax calculation total key 11c is long-pressed (step A23: Yes), the CPU 21 determines that the operation of the tax calculation total key 11c is performed immediately after the tax calculation ( (Step A24: Yes), the numerical value as a result of the normal calculation stored in the total memory area 22h is read, stored in the display memory area 22p, and displayed on the display unit 12 (Step A27).

また、CPU21は、税計算合計キー11cが長押しされた場合(ステップA23:Yes)、税計算合計キー11cの操作が税計算の直後に行われたものでないと判別される場合には(ステップA24:No)、前述と同様にして、税合計リコールモードエリア22kに記憶された税合計リコールモードをオンする(ステップA28)。また、CPU21は、税率別税合計メモリエリア22b〜22fに記憶された各税率0〜4をもとに算出された税込み額、税抜合計額、税合計額をもとに、それぞれを合計した税込総合計額、税抜総合計額、税総合計額を算出して税合計メモリエリア22gに記憶させる。さらに、CPU21は、算出した税込総合計額を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる(ステップA29)。   When the tax calculation total key 11c is pressed and held (step A23: Yes), the CPU 21 determines that the operation of the tax calculation total key 11c is not performed immediately after the tax calculation (step A23). A24: No), the tax total recall mode stored in the tax total recall mode area 22k is turned on in the same manner as described above (step A28). Further, the CPU 21 sums up the respective tax rates based on the tax-inclusive amount, the tax-excluded total amount, and the tax total amount calculated based on the respective tax rates 0 to 4 stored in the tax total memory areas 22b to 22f for each tax rate. The total amount including tax, the total amount excluding tax, and the total amount are calculated and stored in the total tax memory area 22g. Further, the CPU 21 stores the calculated total sum including tax in the display memory area 22p and causes the display unit 12 to display the total sum (step A29).

こうして、税計算合計キー11cを長押しすることで、税計算合計キー11cを押下する通常の操作の場合と逆の処理を実行させることができる。これにより、税計算合計キー11cを操作する直前に税計算が行われたかどうかにかかわらず、税計算の総合計(税込総合計額、税抜総合計額、税合計額)と通常計算の総合計とを、税計算合計キー11cに対する操作時間(押下時間)を変えるだけで容易に切り替えて表示させることができる。   In this way, by long-pressing the tax calculation total key 11c, it is possible to execute a process reverse to that of the normal operation of pressing the tax calculation total key 11c. Thus, regardless of whether the tax calculation was performed immediately before operating the tax calculation total key 11c, the total of the tax calculation (total tax-included total, tax-excluded total, tax total) and the total of the normal calculation are calculated. The total can be easily switched and displayed only by changing the operation time (pressing time) for the tax calculation total key 11c.

次に、本実施形態における具体的な数値の入力と税計算の例について説明する。ここでは、説明を容易にするために、2つの税1計算キー11b1[GST+1](税率1(5%))と税2計算キー11b2[GST+2](税率2(10%))を用いた税計算の例について説明する。税0計算キー11b0、税3計算キー11b3、及び税4計算キー11b4を用いた税計算は、税1計算キー11b1と税2計算キー11b2が操作された場合と同様に実行されるものとして詳細な説明を省略する。   Next, an example of a specific numerical value input and tax calculation in the present embodiment will be described. Here, in order to facilitate the explanation, a tax using two tax 1 calculation keys 11b1 [GST + 1] (tax rate 1 (5%)) and a tax 2 calculation key 11b2 [GST + 2] (tax rate 2 (10%)) An example of calculation will be described. The tax calculation using the tax 0 calculation key 11b0, the tax 3 calculation key 11b3, and the tax 4 calculation key 11b4 is described as being executed in the same manner as when the tax 1 calculation key 11b1 and the tax 2 calculation key 11b2 are operated. Detailed description is omitted.

図8(A)(B)は、以下の説明で使用する具体的なキー操作、表示部12に表示される数値、税率1合計メモリエリア22c及び税率2合計メモリエリア22dのそれぞれに記憶される税込合計額、税抜合計額、税合計額、合計メモリエリア22hに記憶される通常計算の総合計額を示している。図8(A)(B)に示すキー操作は、税計算と通常計算を混在させて実行する例を示している。図8(A)は、税計算合計キー11cが操作される直前の操作が税計算である場合のキー操作、図8(B)は、税計算合計キー11cが操作される直前の操作が税計算でない場合のキー操作を示している。図9は、図8(A)に示すキー操作と表示部12における表示例を示している。   FIGS. 8A and 8B show specific key operations used in the following description, numerical values displayed on the display unit 12, and stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d, respectively. It shows the total amount including tax, the total amount excluding tax, the total amount of tax, and the total amount of the normal calculation stored in the total memory area 22h. The key operations shown in FIGS. 8A and 8B show an example in which the tax calculation and the normal calculation are executed in a mixed manner. FIG. 8A shows a key operation when the operation immediately before the operation of the tax calculation total key 11c is a tax calculation, and FIG. 8B shows an operation immediately before the operation of the tax calculation total key 11c is a tax. It shows the key operation when it is not the calculation. FIG. 9 shows a key operation and a display example on the display unit 12 shown in FIG.

CPU21は、[AC]キー11aが操作されると、税率別税合計メモリエリア22b〜22fをクリアする(図9(A))。また、CPU21は、税計算モードエリア22mを参照して、現在の税計算モードが税込み計算モードであると判別すれば[GST+]を、税抜き計算モードであると判別すれば[TAX−]を、税計算モードシンボル12bとして、表示部12の状態表示エリアに表示させる。前述の通り、[AC]キー11aを操作しても税計算モードは変更しないので、図9(A)は、[AC]キー11aの操作直前の税計算モードが税込み計算モードであった場合の表示例である。   When the [AC] key 11a is operated, the CPU 21 clears the tax rate-specific tax total memory areas 22b to 22f (FIG. 9A). Further, the CPU 21 refers to the tax calculation mode area 22m, and determines [GST +] if it is determined that the current tax calculation mode is the tax-inclusive calculation mode, and [TAX-] if it determines that it is the tax-excluding calculation mode. Is displayed in the status display area of the display unit 12 as the tax calculation mode symbol 12b. As described above, even if the [AC] key 11a is operated, the tax calculation mode is not changed. Therefore, FIG. 9A shows a case where the tax calculation mode immediately before the operation of the [AC] key 11a is the tax-inclusive calculation mode. It is a display example.

その後、税計算のために、数値「200」が入力されると、CPU21は、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。次いで、税1計算キー11b1が操作されると、CPU21は、税率1をもとに算出した税込み額「210」と、税計算キーシンボル12cとして「GST+1」を、表示部12に表示させる(図9(B1))。また、CPU21は、税1計算キー11b1による税率1を用いた税計算の結果を、税率1合計メモリエリア22cに記憶させる。この場合、図7(A)に示すように、税率1の税込合計額「210」、税率1の税抜合計額「200」、税率1の税合計額「10」が税率1合計メモリエリア22cに記憶される。これと同時に、税抜き額「200」がバッファメモリエリア22nに記憶される(不図示)。   Thereafter, when a numerical value “200” is input for tax calculation, the CPU 21 stores the input numerical value in the display memory area 22p and causes the display unit 12 to display the input numerical value. Next, when the tax 1 calculation key 11b1 is operated, the CPU 21 causes the display unit 12 to display the tax-inclusive amount “210” calculated based on the tax rate 1 and “GST + 1” as the tax calculation key symbol 12c (FIG. 9 (B1)). Further, the CPU 21 stores the result of the tax calculation using the tax rate 1 with the tax 1 calculation key 11b1 in the tax rate 1 total memory area 22c. In this case, as shown in FIG. 7A, the total tax amount “210” of the tax rate 1, the total amount excluding tax “200” of the tax rate 1, and the total tax amount “10” of the tax rate 1 are stored in the tax rate 1 total memory area 22 c. Is stored. At the same time, the tax-excluded amount “200” is stored in the buffer memory area 22n (not shown).

次に、通常計算のために、「100」、[×]、「7」、[=]のキーが操作されると、CPU21は、「100×7=700」の通常計算を実行して、計算結果「700」の数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる(図9(B2))。また、CPU21は、通常計算の計算結果を合計メモリエリア22hに記憶させる。さらに、CPU21は、「GT」を、総合計表示シンボル12eとして、表示部12の状態表示エリアに表示させる。   Next, when the keys “100”, “×”, “7”, and “=” are operated for the normal calculation, the CPU 21 executes the normal calculation of “100 × 7 = 700”, The numerical value of the calculation result “700” is stored in the display memory area 22p and displayed on the display unit 12 (FIG. 9 (B2)). Further, the CPU 21 stores the calculation result of the normal calculation in the total memory area 22h. Further, the CPU 21 causes “GT” to be displayed on the status display area of the display unit 12 as the total display symbol 12e.

次に、税計算のために、数値「300」が入力されると、CPU21は、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。次いで、税1計算キー11b1が操作されると、CPU21は、表示部12に表示中の数値「300」と税率1とをもとに算出した税込み額「315」を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。同時に、CPU21は、税計算キーシンボル「GST+1」を表示部12に表示させる(図9(B3))。また、CPU21は、税1計算キー11b1による税率1を用いた税計算の結果を、税率1合計メモリエリア22cに記憶させる。この場合、数値「300」に対する税計算の結果である税率1の税込み額「315」、税率1の税抜き額「300」、税率1の税額「15」を、図7(A)に示すように、先に記憶された税率1の税込合計額「210」、税率1の税抜合計額「200」、税率1の税合計額「10」にそれぞれ加算する。この結果、税率1の税込合計額「525」、税率1の税抜合計額「500」、税率1の税合計額「25」が税率1合計メモリエリア22cに記憶される。これと同時に、税抜き額「300」がバッファメモリエリア22nに記憶される(不図示)。   Next, when a numerical value “300” is input for tax calculation, the CPU 21 stores the input numerical value in the display memory area 22p and causes the display unit 12 to display the input numerical value. Next, when the tax 1 calculation key 11b1 is operated, the CPU 21 stores the tax included “315” calculated based on the numerical value “300” displayed on the display unit 12 and the tax rate 1 in the display memory area 22p. At the same time, it is displayed on the display unit 12. At the same time, the CPU 21 causes the display unit 12 to display the tax calculation key symbol “GST + 1” (FIG. 9 (B3)). Further, the CPU 21 stores the result of the tax calculation using the tax rate 1 with the tax 1 calculation key 11b1 in the tax rate 1 total memory area 22c. In this case, as shown in FIG. 7A, the tax-included amount “315” of the tax rate 1, the tax-excluded amount “300” of the tax rate 1, and the tax amount “15” of the tax rate 1 are the results of the tax calculation for the numerical value “300” as shown in FIG. Then, the tax-included total amount “210” of the tax rate 1, the tax-excluded total amount “200” of the tax rate 1, and the tax total amount “10” of the tax rate 1 are added to the previously stored total amount. As a result, the tax-included total amount “525” of the tax rate 1, the tax-excluded total amount “500” of the tax rate 1 and the tax total amount “25” of the tax rate 1 are stored in the tax-rate-1 total memory area 22c. At the same time, the tax-excluded amount “300” is stored in the buffer memory area 22n (not shown).

同様にして、数値「1000」が入力され、税2計算キー11b2が操作され、次いで、数値「2000」が入力され、税2計算キー11b2が操作されると、CPU21は、税2計算キー11b2の操作毎に、直前に入力された各数値を税抜き額として、各税抜き額及び税率2をもとに算出した税率2の税込み額(「1100」、「2200」)を表示メモリエリア22pに順次記憶させるとともに、表示部12に順次表示させる。同時に、CPU21は、税計算キーシンボル「GST+2」を表示部12に表示させる(図9(B4)(B5))。また、CPU21は、税2計算キー11b2による税率2を用いた税計算の結果を、図7(A)に示すように、税率2合計メモリエリア22dに記憶させる。これと同時に、まず、税抜き額「1000」がバッファメモリエリア22nに記憶され、次いで、税抜き額「2000」がバッファメモリエリア22nに記憶される(不図示)。   Similarly, when the numerical value “1000” is input, the tax 2 calculation key 11b2 is operated, and then the numerical value “2000” is input and the tax 2 calculation key 11b2 is operated, the CPU 21 sets the tax 2 calculation key 11b2. For each of the operations of, the tax-excluded amounts (“1100” and “2200”) of the tax rate 2 calculated based on the respective tax-excluded amounts and the tax rate 2 are used as the tax-excluded amounts, respectively, in the display memory area 22p. And sequentially displayed on the display unit 12. At the same time, the CPU 21 displays the tax calculation key symbol “GST + 2” on the display unit 12 (FIGS. 9 (B4) and 9 (B5)). Further, the CPU 21 stores the result of the tax calculation using the tax rate 2 with the tax 2 calculation key 11b2 in the tax rate 2 total memory area 22d as shown in FIG. 7A. At the same time, the tax-excluded amount “1000” is first stored in the buffer memory area 22n, and then the tax-exclusive amount “2000” is stored in the buffer memory area 22n (not shown).

こうして、本実施形態における電卓10は、入力された数値に対する税計算に用いる税率を、税1計算キー11b1あるいは税2計算キー11b2の操作によって任意に指定することができる。従って、例えば適用税率が異なる複数の商品の税込総合計額を算出する場合に、適用税率が異なる複数の商品が混在していても、個々に税率を指定して税込み額を入力することができる。また、税1計算キー11b1あるいは税2計算キー11b2に対する税計算の結果(税込み額、税抜き額、税額)は、税率1合計メモリエリア22cと税率2合計メモリエリア22dのそれぞれに個別に記憶しておくことができる。従って、後述するように、税合計リコールモードにおいて、税1計算キー11b1あるいは税2計算キー11b2の操作に応じて、税率別に税計算の結果を表示させることができる。   Thus, the calculator 10 in the present embodiment can arbitrarily specify the tax rate used for the tax calculation for the input numerical value by operating the tax 1 calculation key 11b1 or the tax 2 calculation key 11b2. Therefore, for example, when calculating the total tax-included sum of a plurality of products having different applicable tax rates, even if a plurality of products having different applied tax rates are mixed, it is possible to individually specify the tax rate and input the tax-inclusive amount. . Also, the results of the tax calculation (tax included, tax excluded, tax) for the tax 1 calculation key 11b1 or the tax 2 calculation key 11b2 are individually stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d. Can be kept. Therefore, as described later, in the tax total recall mode, the result of the tax calculation can be displayed for each tax rate according to the operation of the tax 1 calculation key 11b1 or the tax 2 calculation key 11b2.

図9(C1)〜(C3)及び図9(F1)には、税計算合計キー[GST GT(GT)]11cが操作された場合の表示例を示している(図4参照)。   FIGS. 9 (C1) to 9 (C3) and FIG. 9 (F1) show display examples when the tax calculation total key [GST GT (GT)] 11c is operated (see FIG. 4).

図9(B1)〜(B5)に示す複数の数値について税計算した後、税計算合計キー11cを通常の押下する操作が行われると、CPU21は、税計算の直後であるため、税合計リコールモードをオンにする。また、CPU21は、税率1合計メモリエリア22c、税率2合計メモリエリア22d〜22fにそれぞれ記憶された税率1及び税率2の税込み額、税抜合計額、税合計額をもとに、税率1と税率2をそれぞれ適用した税込合計額の合計(525+3300)を示す税込総合計額「3825」を算出して税合計メモリエリア22gへ記憶させるとともに、表示部12に表示させる(図7(A)下から3行目、図9(C1))。さらに、CPU21は、税合計リコールモードシンボル12dとして「RCL」を、表示部12の状態表示エリアに表示させる(図9(C1))。ここで、税計算合計キー11cが操作されると、CPU21は、図9(C2)に示すように、税率1と税率2をそれぞれ適用した税抜合計額の合計を示す税抜総合計額「3500」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C3)に示すように、税率1と税率2をそれぞれ適用した税合計額の合計を示す税総合計額「325」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C1)に示す表示に戻り、税込総合計額「3825」を税合計メモリエリア22gから読み出して、表示部12に表示させる。   After performing the tax calculation for the plurality of numerical values shown in FIGS. 9 (B1) to 9 (B5), when the normal operation of pressing the tax calculation total key 11c is performed, the CPU 21 recalls the total tax because it is immediately after the tax calculation. Turn on the mode. Further, the CPU 21 determines the tax rate 1 and the tax rate 1 based on the tax-inclusive amount, the tax-excluded total amount, and the tax-inclusive amount of the tax rate 1 and the tax rate 2 stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d to 22f, respectively. The total tax-included total amount “3825” indicating the total tax-included total amount (525 + 3300) to which the tax rate 2 is applied is calculated, stored in the tax total memory area 22g, and displayed on the display unit 12 (FIG. 7 (A) lower). , The third row, FIG. 9 (C1)). Further, the CPU 21 causes the status display area of the display unit 12 to display “RCL” as the tax total recall mode symbol 12d (FIG. 9 (C1)). Here, when the tax calculation total key 11c is operated, as shown in FIG. 9 (C2), the CPU 21 sets the total tax-excluded total amount indicating the total of the tax-excluded total amounts to which the tax rates 1 and 2 are applied, respectively. 3500 "is displayed. Further, when the tax calculation total key 11c is operated, as shown in FIG. 9 (C3), the CPU 21 changes the total tax amount “325” indicating the total of the total tax amounts to which the tax rates 1 and 2 are applied, respectively. Display. Further, when the tax calculation total key 11c is operated, the CPU 21 returns to the display shown in FIG. 9 (C1), reads out the total amount including tax “3825” from the tax total memory area 22g, and displays it on the display unit 12. .

一方、図9(B1)〜(B5)に示す複数の数値について税計算した後、税計算合計キー11cが長押し操作されると、CPU21は、合計メモリエリア22hに記憶された通常計算の総合計額「700」を読み出して、表示させる(図8(A)下から1行目、図9(F1))。   On the other hand, after performing tax calculation on a plurality of numerical values shown in FIGS. 9 (B1) to 9 (B5), when the tax calculation total key 11c is pressed and held, the CPU 21 integrates the normal calculation stored in the total memory area 22h. The total amount “700” is read and displayed (FIG. 8A, first line from the bottom, FIG. 9F1).

次に、図8(B)に示すキー操作の場合について説明する。なお、図8(B)に示す税計算については、前述した図8(A)と同様に実行されるものとして詳細な説明を省略する。図8(B)では、複数の数値に対する税計算(200[GST+1]300[GST+1]1000[GST+1]2000[GST+1])の後に、通常計算(100[×]7[=])を実行し、その直後に税計算合計キー11cが操作されている。   Next, the case of the key operation shown in FIG. 8B will be described. Note that the tax calculation shown in FIG. 8B is performed in the same manner as in FIG. 8A described above, and a detailed description thereof will be omitted. In FIG. 8B, after the tax calculation (200 [GST + 1] 300 [GST + 1] 1000 [GST + 1] 2000 [GST + 1]) for a plurality of numerical values, the normal calculation (100 [×] 7 [=]) is executed. Immediately after that, the tax calculation total key 11c is operated.

この場合、CPU21は、税計算合計キー11cに対する操作に応じて、合計メモリエリア22hに記憶された通常計算の総合計額「700」を表示させる(図8(B)下から3行目、図9(F1))。   In this case, the CPU 21 displays the total sum “700” of the normal calculation stored in the total memory area 22h in response to the operation on the tax calculation total key 11c (the third line from the bottom in FIG. 9 (F1)).

一方、図8(B)1〜6行目に示す複数の数値について税計算した後、税計算合計キー11cが長押し操作されると、CPU21は、税合計リコールモードをオンにする。また、CPU21は、税率1合計メモリエリア22c、税率2合計メモリエリア22dにそれぞれ記憶された税率1及び税率2の税込み額、税抜合計額、税合計額をもとに、税率1と税率2をそれぞれ適用した税込合計額の合計(525+3300)を示す税込総合計額「3825」を算出して税合計メモリエリア22gへ記憶させるとともに、表示部12に表示させる(図8(B)下から1行目、図9(C1))。さらに、CPU21は、税合計リコールモードシンボル12dとして「RCL」を、表示部12の状態表示エリアに表示させる(図9(C1))。   On the other hand, when the tax calculation is performed on the plurality of numerical values shown in the first to sixth lines in FIG. 8B and the tax calculation total key 11c is pressed and held, the CPU 21 turns on the tax total recall mode. Further, the CPU 21 determines the tax rate 1 and the tax rate 2 based on the tax-included amount, the tax-excluded total amount, and the tax total amount of the tax rates 1 and 2 stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d, respectively. Is calculated and stored in the tax total memory area 22g, and displayed on the display unit 12 (FIG. 8 (B)). Line, FIG. 9 (C1)). Further, the CPU 21 causes the status display area of the display unit 12 to display “RCL” as the tax total recall mode symbol 12d (FIG. 9 (C1)).

こうして、通常計算した直後に税計算合計キー11cを操作(短押し)するか、又は税計算の直後に税計算合計キー11cを長押しすることで、通常計算による総合計を表示させることができる。また、前述したように税計算の直後に税計算合計キー11cを操作(短押し)するか、又は通常計算した直後に税計算合計キー11cを長押しすることで、税計算による総合計を表示させることができるので、1つの税計算合計キー11cを直前の動作状態に応じて使い分けることができる。   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 sum by the normal calculation can be displayed. . As described above, the tax calculation total key 11c is operated (short-pressed) immediately after the tax calculation, or the tax calculation total key 11c is pressed and held immediately after the normal calculation, thereby displaying the total sum by the tax calculation. Therefore, one tax calculation total key 11c can be properly used according to the immediately preceding operation state.

次に、税合計リコールモードがオン状態にされた後、税1計算キー11b1または税2計算キー11b2が操作された場合について説明する。   Next, a case where the tax 1 calculation key 11b1 or the tax 2 calculation key 11b2 is operated after the tax total recall mode is turned on will be described.

図9(D1)〜(D3)には、税1計算キー11b1が操作された場合の表示例を示している。図9(C1)〜(C3)に示す表示がされている状態において税1計算キー11b1が操作されると、CPU21は、図9(D1)に示すように、税率1をもとに算出された第1税込合計額「525」を表示させる。ここで、税1計算キー11b1が操作されると、CPU21は、図9(D2)に示すように、第1税抜合計額「500」を表示させる。さらに、税1計算キー11b1が操作されると、CPU21は、図9(D3)に示すように、第1税合計額「25」を表示させる。さらに、税1計算キー11b1が操作されると、CPU21は、図9(D1)に示す表示に戻り、第1税込合計額「525」を表示させる。   FIGS. 9D1 to 9D3 show display examples when the tax 1 calculation key 11b1 is operated. When the tax 1 calculation key 11b1 is operated in a state where the displays shown in FIGS. 9 (C1) to 9 (C3) are displayed, the CPU 21 calculates the tax based on the tax rate 1 as shown in FIG. 9 (D1). The first total tax included “525” is displayed. Here, when the tax 1 calculation key 11b1 is operated, the CPU 21 displays the first total tax-excluded amount “500” as shown in FIG. 9 (D2). Further, when the tax 1 calculation key 11b1 is operated, the CPU 21 displays the first tax total amount “25” as shown in FIG. 9 (D3). Further, when the tax 1 calculation key 11b1 is operated, the CPU 21 returns to the display shown in FIG. 9 (D1) and displays the first total tax-included amount “525”.

なお、図9(D1)〜(D3)に示す表示状態において税2計算キー11b2が操作された場合には、CPU21は、以下に説明する図9(E1)に示す第2税込合計額の表示に切り替える。また、図9(D1)〜(D3)に示す表示状態において、税計算合計キー11cが操作された場合には、CPU21は、前述した図9(C1)に示す税込総合計額の表示状態に移行する。   When the tax 2 calculation key 11b2 is operated in the display states shown in FIGS. 9 (D1) to 9 (D3), the CPU 21 displays the second total tax-included amount shown in FIG. 9 (E1) described below. Switch to When the tax calculation total key 11c is operated in the display states shown in FIGS. 9 (D1) to 9 (D3), the CPU 21 switches to the display state of the tax-inclusive total amount shown in FIG. 9 (C1). Transition.

図9(E1)〜(E3)には、税2計算キー11b2が操作された場合の表示例を示している。図9(C1)〜(C3)に示す表示がされている状態において税2計算キー11b2が操作されると、CPU21は、図9(E1)に示すように、税率2をもとに算出された第2税込合計額「3300」を表示させる。ここで、税2計算キー11b2が操作されると、CPU21は、図9(E2)に示すように、第2税抜合計額「3000」を表示させる。さらに、税2計算キー11b2が操作されると、CPU21は、図8(E3)に示すように、第2税合計額「300」を表示させる。さらに、税2計算キー11b2が操作されると、CPU21は、図9(E1)に示す表示に戻り、第2税込合計額「3300」を表示させる。   FIGS. 9 (E1) to (E3) show display examples when the tax 2 calculation key 11b2 is operated. When the tax 2 calculation key 11b2 is operated in the state where the display shown in FIGS. 9 (C1) to 9 (C3) is displayed, the CPU 21 calculates the tax based on the tax rate 2 as shown in FIG. 9 (E1). The second total tax included "3300" is displayed. Here, when the tax 2 calculation key 11b2 is operated, the CPU 21 displays the second total tax-excluded amount “3000” as shown in FIG. 9 (E2). Further, when the tax 2 calculation key 11b2 is operated, the CPU 21 displays the second total tax amount “300” as shown in FIG. 8 (E3). Further, when the tax 2 calculation key 11b2 is operated, the CPU 21 returns to the display shown in FIG. 9 (E1) and displays the second total tax-included amount “3300”.

なお、図9(E1)〜(E3)に示す表示状態において税1計算キー11b1が操作された場合には、CPU21は、図9(D1)に示す第1税込合計額の表示に切り替える。また、図9(E1)〜(E3)に示す表示状態において、税計算合計キー11cが操作された場合には、CPU21は、前述した図9(C1)に示す税込総合計額の表示状態に移行する。   When the tax 1 calculation key 11b1 is operated in the display states shown in FIGS. 9 (E1) to 9 (E3), the CPU 21 switches to the display of the first total tax-included amount shown in FIG. 9 (D1). When the tax calculation total key 11c is operated in the display states shown in FIGS. 9 (E1) to (E3), the CPU 21 switches the display state of the tax-inclusive total amount shown in FIG. 9 (C1) described above. Transition.

こうして、本実施形態における電卓10は、税合計リコールモードがオン状態にある間、税1計算キー11b1と税2計算キー11b2の操作による簡単な操作により、税率1と税率2のそれぞれにおける、税込み合計額、税抜合計額、税合計額を切り替えて表示させることができる。従って、税率毎の税込み合計額、税抜合計額、税合計額を容易に確認することができる。   In this way, the calculator 10 in the present embodiment can operate the tax 1 calculation key 11b1 and the tax 2 calculation key 11b2 while the tax total recall mode is in the ON state, so that the tax included in the tax rates 1 and 2 can be included. The total amount, the total amount excluding tax, and the total amount of tax can be switched and displayed. Therefore, the total amount including tax, the total amount before tax, and the total amount of tax for each tax rate can be easily confirmed.

また、本実施形態における電卓10は、税合計リコールモードがオン状態にある間、税計算合計キー11c、税1計算キー11b1、税2計算キー11b2の操作により、総合計表示(図9(C1)〜(C3))、税1計算キー11b1に対応する税率1の合計表示(図9(D1)〜(D3))、及び、税2計算キー11b2に対応する税率2の合計表示(図9(E1)〜(E3))の何れかに切り替えて表示させることができる。   Further, the calculator 10 in this embodiment displays the total sum 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 recall mode is on. ) To (C3)), the total display of the tax rate 1 corresponding to the tax 1 calculation key 11b1 (FIGS. 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)).

次に、税込み計算と税抜き計算を混在して実行する場合について説明する。図10は、以下の説明で使用する具体的なキー操作、表示部12に表示される数値、税率1合計メモリエリア22c及び税率2合計メモリエリア22dのそれぞれに記憶される税込合計額、税抜合計額、税合計額を示している。   Next, a case will be described in which the tax-inclusive calculation and the tax-exclusive calculation are performed in a mixed manner. FIG. 10 shows a specific key operation used in the following description, a numerical value displayed on the display unit 12, a total tax-included amount stored in each of the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d, and excluding tax. Shows total amount and total tax amount.

前述した図8(A)(B)に示すキー操作は、税込み計算のみを実行する場合について説明しているが、図10に示すキー操作は、税込み計算の途中で計算モードを税抜き計算モードに切り替えて実行する例を示している。   The key operations shown in FIGS. 8A and 8B described above are for the case of executing only the tax-inclusive calculation. However, the key operations shown in FIG. 10 change the calculation mode during the tax-inclusive calculation to the tax-excluding calculation mode. In the example shown in FIG.

CPU21は、[AC]キー11aが操作されると、税率別税合計メモリエリア22b〜22fをクリアする。ここでは、計算モードが税込み計算モードとなっており、表示部12には、税計算モードシンボル12bとして税込み計算モードを示す[GST+]が表示されている。   When the [AC] key 11a is operated, the CPU 21 clears the tax rate-based total tax memory areas 22b to 22f. Here, the calculation mode is the tax-inclusive calculation mode, and [GST +] indicating the tax-inclusive calculation mode is displayed on the display unit 12 as the tax calculation mode symbol 12b.

その後、税計算(税込み計算)のために、数値「200」が税抜き額として入力され、税1計算キー11b1([GST+1(TAX−1)])が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率1をもとに税込み計算により算出した税込み額「210」と、税率1をもとに算出した税込み額を表示していることを表すシンボル「GST+1」を表示させる。また、CPU21は、税1計算キー11b1による税率1を用いた税計算の結果を、税率1合計メモリエリア22cに記憶させる。この場合、図9に示すように、税率1の税込合計額「210」、税率1の税抜合計額「200」、税率1の税合計額「10」が税率1合計メモリエリア22cに記憶される。   After that, for tax calculation (calculation including tax), the numerical value “200” is input as a tax-excluded amount, and when the tax 1 calculation key 11b1 ([GST + 1 (TAX-1)]) is operated, the CPU 21 is input. In addition to storing the calculated value in the buffer memory area 22n, the tax-excluded amount “210” calculated by the tax-inclusive calculation based on the tax-excluded amount and the tax rate 1, and the tax-inclusive amount calculated based on the tax rate 1 are displayed. Is displayed. Further, the CPU 21 stores the result of the tax calculation using the tax rate 1 with the tax 1 calculation key 11b1 in the tax rate 1 total memory area 22c. In this case, as shown in FIG. 9, the total tax amount “210” of the tax rate 1, the total tax amount “200” of the tax rate 1, and the total tax amount “10” of the tax rate 1 are stored in the tax rate 1 total memory area 22 c. You.

同様にして、税計算のために、数値「300」が税抜き額として入力され、税2計算キー11b2が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率2をもとに税込み計算により算出した税込み額「330」と、税率2をもとに算出した税込み額を表示していることを表すシンボル「GST+2」を表示させる。また、CPU21は、税2計算キー11b2による税率2を用いた税計算の結果を、税率2合計メモリエリア22dに記憶させる。この場合、図10に示すように、税率2の税込合計額「330」、税率2の税抜合計額「300」、税率2の税合計額「30」が税率2合計メモリエリア22dに記憶される。   Similarly, when the numerical value “300” is input as a tax-excluded amount for tax calculation and the tax 2 calculation key 11b2 is operated, the CPU 21 stores the input numerical value in the buffer memory area 22n, The tax-inclusive amount “330” calculated by the tax-inclusive calculation based on the tax-excluded amount and the tax rate 2 and the symbol “GST + 2” indicating that the tax-inclusive amount calculated based on the tax rate 2 is displayed. In addition, the CPU 21 stores the result of the tax calculation using the tax rate 2 with the tax 2 calculation key 11b2 in the tax rate 2 total memory area 22d. In this case, as shown in FIG. 10, the tax-included total amount “330” of the tax rate 2, the tax-excluded total amount “300” of the tax rate 2, and the tax total amount “30” of the tax rate 2 are stored in the tax-rate-2 total memory area 22d. You.

次に、税率2の税込合計額「330」が表示された状態において、税2計算キー11b2が操作された場合、CPU21は、バッファメモリエリア22nに記憶されている税抜き額としての数値「300」を読み出して、表示部12に表示させる。   Next, when the tax 2 calculation key 11b2 is operated in a state where the tax-included total amount “330” of the tax rate 2 is displayed, the CPU 21 sets the numerical value “300” as the tax-excluded amount stored in the buffer memory area 22n. Is read and displayed on the display unit 12.

ここで、計算モードを税抜き計算モードにするために税計算モード切替キー11d([GST+/TAX−])が操作されたものとする。CPU21は、税計算モード切替キー11dの操作を検出すると、計算モードを税抜き計算モードに切り替える。また、CPU21は、税計算モードシンボル12bとして税込み計算モードを示す[TAX−]を表示部12に表示させる。   Here, it is assumed that the tax calculation mode switching key 11d ([GST + / TAX-]) has been operated to set the calculation mode to the tax-excluding calculation mode. When detecting the operation of the tax calculation mode switching key 11d, the CPU 21 switches the calculation mode to the tax-excluding calculation mode. Further, the CPU 21 causes the display unit 12 to display [TAX-] indicating the tax-inclusive calculation mode as the tax calculation mode symbol 12b.

その後、税計算(税抜き計算)のために、数値「660」が税込み額として入力され、税2計算キー11b2([GST+2(TAX−2)])が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税込み額及び税率2をもとに税抜き計算により算出した税抜き額「600」と、税率2をもとに算出した税抜き額を表示していることを表すシンボル「TAX−2」を表示させる。税抜き計算では、図10に示すように、税抜き計算の結果を税率2合計メモリエリア22dに反映させない。   After that, for the tax calculation (calculation without tax), the numerical value “660” is input as the tax-inclusive amount, and when the tax 2 calculation key 11b2 ([GST + 2 (TAX−2)]) is operated, the CPU 21 inputs the value. The stored value is stored in the buffer memory area 22n, and the tax-excluded amount “600” calculated by the tax-excluded calculation based on the tax-inclusive amount and the tax rate 2 and the tax-excluded amount calculated based on the tax rate 2 are displayed. Is displayed, the symbol "TAX-2" indicating that the user is present. In the tax exclusion calculation, as shown in FIG. 10, the result of the tax exclusion calculation is not reflected in the tax rate 2 total memory area 22d.

ここで、計算モードを税込み計算モードにするために税計算モード切替キー11d([GST+/TAX−])が操作されたものとする。CPU21は、税計算モード切替キー11dの操作を検出すると、計算モードを税込み計算モードに切り替える。   Here, it is assumed that the tax calculation mode switching key 11d ([GST + / TAX-]) has been operated to set the calculation mode to the tax-inclusive calculation mode. When detecting the operation of the tax calculation mode switching key 11d, the CPU 21 switches the calculation mode to the tax-inclusive calculation mode.

その後、税計算(税込み計算)のために、税抜き計算によって数値「600」が表示された状態において、税1計算キー11b1([GST+1)])が操作されると、CPU21は、表示中の数値及び税率1をもとに税込み計算により算出した税込み額「630」と、税率1をもとに算出した税込み額を表示していることを表すシンボル「GST+1」を表示させる。また、CPU21は、税1計算キー11b1による税率1を用いた税計算の結果(税抜き額、税込み額、税額)を、税率1合計メモリエリア22cに先に記憶された数値に加算する。この結果、税率1合計メモリエリア22cには、税率1の税込合計額「840」、税率1の税抜合計額「800」、税率1の税合計額「30」が記憶される。   Thereafter, when the tax 1 calculation key 11b1 ([GST + 1]) is operated in a state where the numerical value “600” is displayed by the tax exclusion calculation for the tax calculation (tax included calculation), the CPU 21 displays the displayed value. A tax-included amount “630” calculated by the tax-inclusive calculation based on the numerical value and the tax rate 1 and a symbol “GST + 1” indicating that the tax-inclusive amount calculated based on the tax rate 1 is displayed. Further, the CPU 21 adds the result of the tax calculation (tax-excluded amount, tax-inclusive amount, tax amount) using the tax rate 1 by the tax 1 calculation key 11b1 to the numerical value previously stored in the tax rate 1 total memory area 22c. As a result, the tax rate 1 total memory area 22c stores the tax rate 1 total tax amount "840", the tax rate 1 tax-excluded total amount "800", and the tax rate 1 tax total amount "30".

このように、税率2による税込み額を示す数値「660」について、税率1による税込み計算をする場合に、税込み計算の途中で税抜き計算モードに切り替えて、数値「660」の税抜き額を算出するための税抜き計算を実行することができる。税抜き計算の計算結果として表示部12に表示された数値(置数)は、そのまま税計算の対象とすることができる。また、税抜き計算では、税率1合計メモリエリア22c及び税率2合計メモリエリア22dに記憶された数値に影響しない。従って、再度、税計算モードを税込み計算モードに切り替えて、表示中の数値に対して別の税率1を選択して税込み計算を実行することで、税率1による税込み計算の結果を税率1合計メモリエリア22cに反映させることができる。   As described above, when the tax-inclusive calculation based on the tax rate 1 is performed on the numerical value “660” indicating the tax-inclusive amount based on the tax rate 2, the mode is switched to the tax-excluding calculation mode during the tax-inclusive calculation, and the tax-excluded amount of the numerical value “660” is calculated. Tax exemption calculations can be performed. The numerical value (numeric value) displayed on the display unit 12 as the calculation result of the tax exclusion calculation can be directly subjected to the tax calculation. In addition, the tax exclusion calculation does not affect the numerical values stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d. Therefore, the tax calculation mode is switched to the tax-inclusive calculation mode again, another tax rate 1 is selected for the numerical value being displayed, and the tax-inclusive calculation is executed. This can be reflected in the area 22c.

従って、インドの様な複数の消費税率を使用する市場において、税込み額で表記されている商品の価格をもとに、他の税率により税計算が必要な場合に、税抜き計算モードに切り替えて税抜き計算を実行して税抜き額の価格を求めて、改めて他の税率による税込み計算を実行することができる。   Therefore, in a market such as India where multiple consumption tax rates are used, if tax calculation is required at another tax rate based on the price of the product indicated with the tax included, switch to the tax exemption calculation mode. The tax-excluded calculation is performed to obtain the price of the tax-excluded amount, and the tax-inclusive calculation at another tax rate can be executed again.

次に、税計算と通常計算を混在して実行する場合について説明する。図11は、以下の説明で使用する具体的なキー操作、表示部12に表示される数値、税率1合計メモリエリア22c及び税率2合計メモリエリア22dのそれぞれに記憶される税込合計額、税抜合計額、税合計額を示している。ここでは、税計算により求めた数値(置数)を利用して、四則計算を実行する例について説明する。なお、図10の第3列〜第8列の下向きの矢印は、各列の第6行から最下行から2行目まで、各列の第5行目の数値と同じ数値である(数値が変化しない)ことを表わしている。   Next, a case where the tax calculation and the normal calculation are executed 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, the total tax-included amount stored in each of the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d, and excluding tax. Shows total amount and total tax amount. Here, an example will be described in which the four arithmetic calculations are executed using a numerical value (number) obtained by the tax calculation. Note that the downward arrows in the third to eighth columns in FIG. 10 are the same as the values in the fifth row in each column from the sixth row to the second row in each column from the bottom row to the second row (the numerical values are Does not change).

CPU21は、[AC]キー11aが操作されると、税率別税合計メモリエリア22b〜22fをクリアする。ここでは、計算モードが税込み計算モードとなっており、表示部12には、税計算モードシンボル12bとして税込み計算モードを示す[GST+]が表示されている。   When the [AC] key 11a is operated, the CPU 21 clears the tax rate-based total tax memory areas 22b to 22f. Here, the calculation mode is the tax-inclusive calculation mode, and [GST +] indicating the tax-inclusive calculation mode is displayed on the display unit 12 as the tax calculation mode symbol 12b.

次に、数値「200」が税抜き額として入力され、税1計算キー11b1が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率1をもとに税込み計算により算出した税込み額「210」と、税率1をもとに算出した税込み額を表示していることを表すシンボル「GST+1」を表示させる。また、CPU21は、税1計算キー11b1による税率1を用いた税計算の結果を、税率1合計メモリエリア22cに記憶させる。この場合、図11に示すように、税率1の税込合計額「210」、税率1の税抜合計額「200」、税率1の税合計額「10」が税率1合計メモリエリア22cに記憶される。   Next, when the numerical value “200” is input as the tax-excluded amount and the tax 1 calculation key 11b1 is operated, the CPU 21 stores the input numerical value in the buffer memory area 22n and sets the tax-excluded amount and the tax rate 1 together. A tax-inclusive amount “210” calculated based on the tax-inclusive calculation and a symbol “GST + 1” indicating that the tax-inclusive amount calculated based on the tax rate 1 are displayed. Further, the CPU 21 stores the result of the tax calculation using the tax rate 1 with the tax 1 calculation key 11b1 in the tax rate 1 total memory area 22c. In this case, as shown in FIG. 11, the total tax amount “210” of the tax rate 1, the total amount excluding tax “200” of the tax rate 1, and the total tax amount “10” of the tax rate 1 are stored in the tax rate 1 total memory area 22 c. You.

同様にして、数値「200」が税抜き額として入力され、税1計算キー11b1が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率1をもとに税込み計算により算出した税込み額「315」を表示させる。また、CPU21は、税率1を用いた税計算の結果を、税率1合計メモリエリア22cに記憶された数値に加算する。この結果、図11に示すように、税率1の税込合計額「525」、税率1の税抜合計額「500」、税率1の税合計額「25」が税率1合計メモリエリア22cに記憶される。   Similarly, when the numerical value “200” is input as the tax-excluded amount and the tax 1 calculation key 11b1 is operated, the CPU 21 stores the input numerical value in the buffer memory area 22n, and also sets the tax-excluded amount and the tax rate 1 The tax-inclusive amount “315” calculated based on the tax-inclusive calculation is displayed. Further, the CPU 21 adds the result of the tax calculation using the tax rate 1 to the numerical value stored in the tax rate 1 total memory area 22c. As a result, as shown in FIG. 11, the tax-included total amount “525” of the tax rate 1, the tax-excluded total amount “500” of the tax rate 1 and the tax total amount “25” of the tax rate 1 are stored in the tax-rate-1 total memory area 22c. You.

続いて、数値「1000」が税抜き額として入力され、税2計算キー11b2が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率2をもとに税込み計算により算出した税込み額「1100」と、税率2をもとに算出した税込み額を表示していることを表すシンボル「GST+2」を表示させる。また、CPU21は、税2計算キー11b2による税率2を用いた税計算の結果を、税率2合計メモリエリア22dに記憶させる。この場合、図11に示すように、税率2の税込合計額「1100」、税率2の税抜合計額「1000」、税率2の税合計額「100」が税率2合計メモリエリア22dに記憶される。   Subsequently, when the numerical value “1000” is input as the tax-excluded amount and the tax 2 calculation key 11b2 is operated, the CPU 21 stores the input numerical value in the buffer memory area 22n and sets the tax-excluded amount and the tax rate 2 together. A tax included amount “1100” calculated based on the tax included calculation and a symbol “GST + 2” indicating that the tax included amount calculated based on the tax rate 2 is displayed. In addition, the CPU 21 stores the result of the tax calculation using the tax rate 2 with the tax 2 calculation key 11b2 in the tax rate 2 total memory area 22d. In this case, as shown in FIG. 11, the total tax amount “1100” including tax at the tax rate 2, the total tax amount “1000” at the tax rate 2 and the total tax amount “100” at the tax rate 2 are stored in the tax rate 2 total memory area 22d. You.

同様にして、数値「2000」が税抜き額として入力され、税2計算キー11b2が操作されると、CPU21は、入力された数値をバッファメモリエリア22nに記憶させるとともに、税抜き額及び税率2をもとに税込み計算により算出した税込み額「2200」を表示させる。また、CPU21は、税率2を用いた税計算の結果を、税率2合計メモリエリア22dに記憶された数値に加算する。この結果、図11に示すように、税率2の税込合計額「3300」、税率2の税抜合計額「3000」、税率2の税合計額「300」が税率2合計メモリエリア22dに記憶される。   Similarly, when the numerical value “2000” is input as the tax-excluded amount and the tax 2 calculation key 11b2 is operated, the CPU 21 stores the input numerical value in the buffer memory area 22n, and sets the tax-excluded amount and the tax rate 2 The tax-inclusive amount “2200” calculated based on the tax-inclusive calculation is displayed. Further, the CPU 21 adds the result of the tax calculation using the tax rate 2 to the numerical value stored in the tax rate 2 total memory area 22d. As a result, as shown in FIG. 11, the total tax amount “3300” including the tax rate 2, the total amount excluding tax “3000” at the tax rate 2 and the total tax amount “300” at the tax rate 2 are stored in the tax rate 2 total memory area 22 d. You.

ここで、税計算の総合計を表示させるために、税計算合計キー11cが通常の押下する操作がされたものとする。CPU21は、税計算合計キー11cが操作されたことを検出し、税合計リコールモードがオン状態であるかを判別する。CPU21は、税合計リコールモードがオン状態でなく、税計算の直後の操作であることを検出すると、税合計リコールモードをオン状態にして、税合計リコールモードがオン状態であることを示す「RCL」を表示部12に表示させる。図11の表外左側の「RCL」は対応する行を表示中、リコールモードであることを示している。また、下向きの矢印は、第6行から下から第2行まで、即ち、[AC]キー押下直前まで、リコールモードが継続していることを表わす。   Here, it is assumed that a normal operation of pressing the tax calculation total key 11c is performed to display the total sum of the tax calculations. The CPU 21 detects that the tax calculation total key 11c has been operated, and determines whether the tax total recall mode is on. When the CPU 21 detects that the tax total recall mode is not in the ON state and is an operation immediately after the tax calculation, the CPU 21 sets the tax total recall mode to the ON state and indicates that the tax total recall mode is in the ON state. Is displayed on the display unit 12. “RCL” on the left outside the table in FIG. 11 indicates that the corresponding line is being displayed and the recall mode is set. Further, the downward arrow indicates that the recall mode is continued from the sixth line to the second line from the bottom, that is, immediately before the [AC] key is pressed.

CPU21は、税合計リコールモードがオン状態に遷移されることで、税率1と税率2により算出された税込合計額を合計した税込総合計額「3825」を、税合計メモリエリア22gへ記憶させるとともに、表示部12に表示させる。ここで、税計算合計キー11cが繰り返して操作されると、CPU21は、キー操作に応じて、税抜総合計額「3500」、税総合計額「325」を、順次算出して税合計メモリエリア22gへ記憶させるとともに表示部12にから読み出して表示させる。   When the tax total recall mode is turned on, the CPU 21 stores the tax-included total amount “3825” obtained by adding the tax-included total amounts calculated based on the tax rates 1 and 2 in the tax total memory area 22g and , On the display unit 12. Here, when the tax calculation total key 11c is repeatedly operated, the CPU 21 sequentially calculates the total tax total amount “3500” and the total tax total “325” in accordance with the key operation, and calculates the total tax amount “325”. The information is stored in the area 22g and read out from the display unit 12 for display.

税総合計額「325」が表示された状態において、四則計算のために[÷][2][=]がキー入力されると、CPU21は、表示部12に表示された数値「325」に対して、「325÷2=162.5」の四則計算を実行して、計算結果とする数値「162.5」を表示部12に表示させる。数値「162.5」は、合計メモリエリア22hに記憶される。なお、税総合計額を表示させて四則計算を実行するだけでなく、税込総合計額あるいは税抜総合計額を表示させて四則計算を実行することも可能である。   In the state where the total tax amount “325” is displayed, when [÷] [2] [=] is key-input for the four arithmetic calculations, the CPU 21 changes the numerical value “325” displayed on the display unit 12. On the other hand, the four arithmetic calculations of “325/2 = 162.5” are executed, and the numerical value “162.5” as the calculation result is displayed on the display unit 12. The numerical value “162.5” is stored in the total memory area 22h. In addition to displaying the total tax amount and executing the four arithmetic calculations, it is also possible to display the total tax amount or the total tax-excluded total value and execute the four arithmetic calculations.

このように、税計算の途中に四則計算のために演算キーあるいは数値キーが操作されたとしても、税合計リコールモードのオン状態が維持される。また、税計算により記憶された税率1合計メモリエリア22c、税率2合計メモリエリア22d、税合計メモリエリア22gに記憶された数値も維持されたままとなる。   As described above, even if the operation key or the numerical key is operated for the four arithmetic calculations during the tax calculation, the on-state of the tax total recall mode is maintained. Further, the numerical values stored in the tax rate 1 total memory area 22c, the tax rate 2 total memory area 22d, and the tax total memory area 22g stored by the tax calculation are also maintained.

ここで、税計算の総合計を表示させるために、税計算合計キー11cが通常の押下する操作がされたものとする。CPU21は、税計算合計キー11cが操作されたことを検出すると、税合計リコールモードがオン状態であるかを判別する。この時、既に、税合計リコールモードがオン状態にある。従って、CPU21は、税計算合計キー11cに対する操作に応じて、税合計メモリエリア22gに記憶された税込総合計額を表示部12に表示させる。すなわち、税合計リコールモードがオン状態に設定された状態において、税計算合計キー11cの操作により税込総合計額の読み出し指示が入力されると、CPU21は、四則計算を実行した結果の数値「162.5」の表示中において、表示メモリエリア22pに記憶された税込総合計額の数値「3825」を読み出して表示部12に表示させる。   Here, it is assumed that a normal operation of pressing the tax calculation total key 11c is performed to display the total sum of the tax calculations. When detecting that the tax calculation total key 11c has been operated, the CPU 21 determines whether the tax total recall mode is on. At this time, the tax total recall mode is already on. Therefore, the CPU 21 causes the display unit 12 to display the total tax included in the tax total memory area 22g in response to the operation on the tax calculation total key 11c. That is, in a state in which the tax total recall mode is set to the ON state, when an instruction to read the total amount including tax is input by operating the tax total key 11c, the CPU 21 causes the numerical value “162” of the result of executing the four arithmetic calculations. During the display of “.5”, the numerical value “3825” of the total sum including tax stored in the display memory area 22p is read and displayed on the display unit 12.

次に、税率1を用いた税計算の税込み合計額を表示させるために、税1計算キー11b1が操作されたものとする。税1計算キー11b1が操作されると、CPU21は、税合計リコールモードがオン状態であるため、税込総合計額「3825」の表示に代えて、税率1合計メモリエリア22cに記憶された第1税込合計額の数値「525」を読み出して、表示部12に表示させる。   Next, it is assumed that the tax 1 calculation key 11b1 is operated in order to display the total amount including tax in the tax calculation using the tax rate 1. When the tax 1 calculation key 11b1 is operated, since the tax total recall mode is on, the CPU 21 replaces the display of the tax-inclusive total amount “3825” with the first tax rate 1 total memory area 22c. The numerical value “525” of the total amount including tax is read out and displayed on the display unit 12.

ここで、再度、税計算合計キー11cが操作されると、CPU21は、前述と同様にして、税計算合計キー11cに対する操作に応じて、税合計メモリエリア22gに記憶された税込総合計額「3825」を表示部12に表示させる。すなわち、税合計リコールモードがオン状態に設定された状態では、四則計算による通常計算の計算結果とする数値の表示中だけでなく、税計算による計算結果の数値が表示部12に表示中である場合において、税計算合計キー11cに対する操作に応じて、税込み総合計額を表示させることができる。すなわち、税合計リコールモードがオン状態に設定された後であれば、税計算合計キー11cに対して操作がされた時の表示内容にかかわらず、税込み総合計額を表示させることができる
さらに、税率2を用いた税計算の税込み合計額を表示させるために、税2計算キー11b2が操作されたものとする。税2計算キー11b2が操作されると、CPU21は、税2計算キー11b2の操作に応じて、税込総合計額「3825」の表示に代えて、税率2合計メモリエリア22dに記憶された第2税込合計額「3300」を読み出して、表示部12に表示させる。
Here, when the tax calculation total key 11c is operated again, the CPU 21 responds to the operation on the tax calculation total key 11c in the same manner as described above, and the tax-included total amount stored in the tax total memory area 22g " 3825 "is displayed on the display unit 12. That is, in the state where the tax total recall mode is set to the ON state, the numerical value of the calculation result by the tax calculation is displayed on the display unit 12 as well as the numerical value as the calculation result of the normal calculation by the four arithmetic calculations. In this case, the total sum including tax can be displayed according to the operation on the tax calculation total key 11c. That is, after the tax total recall mode is set to the ON state, the total sum including tax can be displayed regardless of the display content when the tax calculation total key 11c is operated. It is assumed that the tax 2 calculation key 11b2 has been operated in order to display the total amount including tax in the tax calculation using the tax rate 2. When the tax 2 calculation key 11b2 is operated, in response to the operation of the tax 2 calculation key 11b2, the CPU 21 replaces the display of the tax-inclusive total amount “3825” with the second tax rate 2 total memory area 22d. The total amount including tax “3300” is read and displayed on the display unit 12.

すなわち、図11に示すように、税率1に基づく税計算の結果に関わる数値が税率1合計メモリエリア22cに記憶され、税率2に基づく税計算の結果に関わる数値が税率2合計メモリエリア22dに記憶されている場合、税合計リコールモードがオン状態に設定されている状態において、税1計算キー11b1の操作に応じて、税率1合計メモリエリア22cに記憶された数値(税込み合計額)を読み出して表示させ、同様にして、税2計算キー11b2の操作に応じて、税率2合計メモリエリア22dに記憶された数値(税込み合計額)を読み出して表示させることができる。   That is, as shown in FIG. 11, the numerical value related to the result of the tax calculation based on the tax rate 1 is stored in the tax rate 1 total memory area 22c, and the numerical value related to the result of the tax calculation based on the tax rate 2 is stored in the tax rate 2 total memory area 22d. If it is stored, in a state where the tax total recall mode is set to the ON state, the numerical value (total amount including tax) stored in the tax rate 1 total memory area 22c is read in response to the operation of the tax 1 calculation key 11b1. Similarly, according to the operation of the tax 2 calculation key 11b2, the numerical value (total tax included) stored in the tax rate 2 total memory area 22d can be read and displayed.

なお、図示していないが、税率0,3,4に基づく税計算の結果に関わる数値が、税率0合計メモリエリア22b、税率3合計メモリエリア22e、税率4合計メモリエリア22fにそれぞれ記憶されていれば、税0計算キー11b0、税3計算キー11b3あるいは税4計算キー11b4の操作に応じて、それぞれに対応する数値(税込み合計額)を読み出して表示させることができる。   Although not shown, numerical values related to the results of the tax calculations based on the tax rates 0, 3, and 4 are stored in the tax rate 0 total memory area 22b, the tax rate 3 total memory area 22e, and the tax rate 4 total memory area 22f, respectively. Then, according to the operation of the tax 0 calculation key 11b0, the tax 3 calculation key 11b3, or the tax 4 calculation key 11b4, the corresponding numerical value (total amount including tax) can be read and displayed.

また、前述した説明では、税合計リコールモードがオン状態において、税n計算キー11b0〜11b4の操作に応じて、少なくとも税込み合計を表示しているが、さらに税抜き合計と税合計の両方、あるいは一方を表示させるようにしても良い。   In the above description, at least the tax-inclusive total is displayed according to the operation of the tax n calculation keys 11b0 to 11b4 when the tax total recall mode is on, but both the tax-excluding total and the tax total, or One of them may be displayed.

次に、第2税込合計額「3300」が表示された状態において、税2計算キー11b2が繰り返して操作されると、CPU21は、キー操作に応じて、税抜合計額「3000」、税合計額「300」を税率2合計メモリエリア22dから読み出して、表示部12に順次表示させる。   Next, when the tax 2 calculation key 11b2 is repeatedly operated in a state where the second total tax amount “3300” is displayed, the CPU 21 sets the total tax amount “3000” and the total tax amount in accordance with the key operation. The amount “300” is read from the tax rate 2 total memory area 22 d and sequentially displayed on the display unit 12.

税合計額「300」が表示された状態において、四則計算のために[÷][2][=]がキー入力されると、CPU21は、表示部12に表示された数値「300」に対して、「300÷2=150」の四則計算を実行して、計算結果とする数値「150」を表示部12に表示させる。数値「150」は、合計メモリエリア22hに記憶された数値に加算される。なお、税合計額を表示させて四則計算を実行するだけでなく、税込合計額あるいは税抜合計額を表示させて四則計算を実行することも可能である。   In the state where the total tax amount “300” is displayed, if [÷] [2] [=] is key-input for the four arithmetic calculations, the CPU 21 causes the numerical value “300” displayed on the display unit 12 to be changed. Then, the four arithmetic calculations of “300 ÷ 2 = 150” are executed, and the numerical value “150” as the calculation result is displayed on the display unit 12. The numerical value “150” is added to the numerical value stored in the total memory area 22h. In addition to displaying the total amount of tax and executing the four basic calculations, it is also possible to display the total amount including tax or the total amount excluding tax and perform the four basic calculations.

CPU21は、[AC]キーが操作されたことを検出すると、税合計リコールモードをオフ状態にすると共に、税率別税合計メモリエリア22b〜22f、税合計メモリエリア22gを含む、全てのメモリをクリアする。   When detecting that the [AC] key has been operated, the CPU 21 turns off the tax total recall mode and clears all memories including the tax total memory areas 22b to 22f for each tax rate and the tax total memory area 22g. I do.

このように、税合計リコールモードは、[AC]キーが操作されるまでオン状態が維持される。そして、税合計リコールモードがオン状態にある場合には、税率別税合計メモリエリア22b〜22fに記憶された数値を税計算キー11bの操作により表示部12に表示させて、通常計算の対象とすることができる。   In this way, the tax total recall mode is kept on until the [AC] key is operated. Then, when the tax total recall mode is in the ON state, the numerical values stored in the tax total memory areas 22b to 22f for each tax rate are displayed on the display unit 12 by operating the tax calculation key 11b, and are set as the targets of the normal calculation. can do.

このようにして、本実施形態における電卓10では、税合計リコールモードがオン状態において、通常計算をしても税合計リコールモードがオン状態に維持されるので、税計算と通常計算を個々に実行して、それぞれの計算結果を記憶させておくことができる。従って、税計算と通常計算とを混在させて容易に実行することができる。また、税合計メモリエリア22gに記憶された税計算による総合計額(税込総合計額、税抜総合計額、税総合計額)、あるいは税率1合計メモリエリア22cに記憶された各税率による計算結果(税込合計額、税抜合計額、税合計額)を、キー操作に応じて表示部12に表示させて、通常計算の対象とすることができる。従って、税計算の結果(置数)を対象とする通常計算を簡単に実行することができる。   As described above, in the calculator 10 according to the present embodiment, the tax total recall mode is maintained in the ON state even if the normal calculation is performed while the tax total recall mode is in the ON state. Then, each calculation result can be stored. Therefore, it is possible to easily execute the tax calculation and the normal calculation together. In addition, the total amount based on the tax calculation stored in the total tax memory area 22g (the total total amount including tax, the total amount excluding tax, the total total tax amount), or the calculation based on each tax rate stored in the tax rate 1 total memory area 22c. The results (the total amount including tax, the total amount before tax, and the total amount of tax) can be displayed on the display unit 12 in response to a key operation, and can be subjected to normal calculation. Therefore, it is possible to easily execute the normal calculation on the result (the number) of the tax calculation.

図12は、インドの小売店で用いられる伝票フォーマットの一例であり、合計額の記入欄を抜粋したものである。伝票は5種類の税率別に数値を記入できるようになっていて、上行から順に、税率別の税抜合計額、税率別のState GST(SGST)、税率別のCentral GST(CGST)、税率別のInter−State GST(IGST)、税率別の税込合計額、税込総合計額の各記入欄となっている。店頭で実際に行った税計算にしたがって、各欄へ数値が記入される。   FIG. 12 shows an example of a voucher format used in an Indian retail store, in which an entry column for the total amount is extracted. The slip can be filled in numerical values for each of the five tax rates. From the top line, the total amount excluding tax by tax rate, State GST (SGST) by tax rate, Central GST (CGST) by tax rate, and by tax rate Inter-State GST (IGST), total tax-included amount by tax rate, and total tax-included total amount are provided. Numerical values are entered in each column according to the tax calculation actually performed at the store.

伝票への数値の記入について、図11に示した入力操作例を参照しながら説明する。税計算直後に税計算合計キー11cが操作されると、税合計リコールモードがオンになり、税込総合計額「3825」が表示部12に表示される(図11の第6行)。記入者は、この数値を見て、伝票中の「GTAND TOTAL」の欄へ転記する(図12の第6行)。続けて、税2計算キー11b2が操作されると、第2税込合計額「3300」が表示部12に表示され(図11の第14行)、記入者は、伝票中の税率2の税込合計額欄へ数値を転記する(図12の第3列第5行)。税2計算キー11b2が再度操作されると、第2税抜合計額「3000」が表示部12に表示され(図11の第15行)、記入者は、伝票中の税率2の税抜合計額欄へ数値を転記する(図12の第3列第1行)。次いで、税2計算キー11b2が再度操作されると、税率2の税合計額「300」が表示部12に表示され(図11の第16行)、続けて、表示中の数値を用いて、税率2の税合計額の半額を計算すると、通常計算の実行結果として「150」が表示部12に表示される(図11の第18行)。記入者は、伝票中の税率2のSGST、CGSTの各欄へ数値を転記する(図12の第3列第2行、第3行)。この例では、IGSTの欄へ転記すべき数値は特にないものとする。なお、図10には例示しないが、税合計リコールモードがオンの状態で税1計算キー11b1を操作することで、税率1についても、税率2と同様に、税計算結果、あるいは税計算結果を対象とした通常計算の結果を表示させて、図12の第2列に示すように、伝票の各欄へ数値を転記することができる。   The entry of numerical values into a slip will be described with reference to an input operation example shown in FIG. When the tax calculation total key 11c is operated immediately after the tax calculation, the tax total recall mode is turned on, and the total amount including tax “3825” is displayed on the display unit 12 (the sixth line in FIG. 11). The entry person sees this numerical value, and transcribes it in the column of “GTAND TOTAL” in the slip (the sixth line in FIG. 12). Subsequently, when the tax 2 calculation key 11b2 is operated, the second total tax-included amount “3300” is displayed on the display unit 12 (line 14 in FIG. 11), and the creator can enter the tax-included total of tax rate 2 in the slip. The numerical value is transferred to the amount column (the third column, the fifth row in FIG. 12). When the tax 2 calculation key 11b2 is operated again, the second total tax-excluded amount “3000” is displayed on the display unit 12 (line 15 in FIG. 11), and the entry is made by the tax-excluded total of the tax rate 2 in the slip. The numerical value is transferred to the amount column (third column, first row in FIG. 12). Next, when the tax 2 calculation key 11b2 is operated again, the total tax amount “300” of the tax rate 2 is displayed on the display unit 12 (line 16 in FIG. 11), and subsequently, using the numerical value being displayed, When half of the total tax amount of the tax rate 2 is calculated, “150” is displayed on the display unit 12 as an execution result of the normal calculation (line 18 in FIG. 11). The entry person transcribes a numerical value to each column of the tax rate 2 SGST and CGST in the slip (third column, second line, third line in FIG. 12). In this example, it is assumed that there is no particular value to be transferred to the IGST column. Although not illustrated in FIG. 10, by operating the tax 1 calculation key 11b1 in a state where the tax total recall mode is on, the tax calculation result or the tax calculation result can be obtained for the tax rate 1 as in the case of the tax rate 2. The result of the target normal calculation is displayed, and the numerical value can be transcribed to each column of the slip as shown in the second column of FIG.

このように、本実施形態の電卓によれば、税計算の終了後、税合計リコールモードをオンにし、続けて、算出された各税合計額を用いて、通常計算により、SGST、CGST、又はIGSTを算出することができる。しかも、いったん、税合計リコールモードがオンになれば、特定の操作([AC]キー操作)を行わない限り、税合計リコールモードのオンが維持され、かつ、税率別税合計メモリエリア22b〜22f及び税合計メモリエリア22gに記憶された各数値が保持されるので、税計算の終了後は、税計算合計キー11c又は税計算キー11bを操作することにより、税総合計額(税込み額/税抜き額/税額)又は複数の税率別の税合計額(税込み額/税抜き額/税額)をいつでも呼び出して表示部12に表示することができ、さらに、表示させた数値を用いて通常計算を実行することにより、税総合計額や複数の税率別の税合計額に対するSGST、CGST、又はIGSTを、所望のタイミングで算出することができる。したがって、本実施形態の電卓によれば、特に、税総合計額や税率別の税合計額をそのまま伝票へ転記するのではなく、各数値に基づく通常計算を実行後に伝票へ転記するような場合に、伝票への転記作業が容易となる。   As described above, according to the calculator of the present embodiment, after the tax calculation is completed, the tax total recall mode is turned on, and subsequently, SGST, CGST, or IGST can be calculated. Moreover, once the tax total recall mode is turned on, the tax total recall mode is maintained on unless a specific operation ([AC] key operation) is performed, and the tax total tax memory areas 22b to 22f are maintained. Since each numerical value stored in the tax total memory area 22g is retained, after the tax calculation is completed, the total tax amount (tax included / tax amount) is operated by operating the tax calculation total key 11c or the tax calculation key 11b. Tax amount) or the total tax amount (tax-inclusive amount / tax-excluded amount / tax amount) for each of a plurality of tax rates can be called and displayed on the display unit 12 at any time. By executing, it is possible to calculate SGST, CGST, or IGST for the total tax amount or the total tax amount for each of a plurality of tax rates at a desired timing. Therefore, according to the calculator of the present embodiment, in particular, when the total tax amount and the total tax amount for each tax rate are not directly posted to the voucher, but the normal calculation based on each numerical value is performed and then the voucher is posted to the voucher. In addition, the posting operation to the slip becomes easy.

なお、実施形態において記載した手法、すなわち図3〜図7のフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記録媒体に格納して配布することができる。そして、コンピュータは、外部記録媒体に記録されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。   The method described in the embodiment, that is, each method such as the processing shown in the flowcharts of FIGS. 3 to 7, can be executed by a computer as a program such as a memory card (ROM card, RAM card, etc.) It can be stored and distributed on a recording medium such as a flexible disk, a hard disk, an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, or the like. Then, the computer reads the program recorded on the external recording medium, and the operation is controlled by the program, whereby the same processing as the function described in the embodiment can be realized.

また、各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク(インターネット)上を伝送させることができ、このネットワーク(インターネット)に接続されたコンピュータ(サーバ装置等)からプログラムデータを取り込み、前述した実施形態と同様の機能を実現することもできる。   Also, program data for implementing each method can be transmitted over a network (Internet) in the form of a program code. Program data is transmitted from a computer (server device or the like) connected to the network (Internet). It is also possible to realize the same function as the above-described embodiment by taking in.

なお、本願発明は、実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   The present invention is not limited to the embodiment, and can be variously modified in an implementation stage without departing from the scope of the invention. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed components. For example, even if some components are deleted from all the components shown in the embodiments or some components are combined, the problem described in the section of the problem to be solved by the invention can be solved. In the case where the effect described in the section of the effect can be obtained, a configuration in which this component is deleted or combined can be extracted as an invention.

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。   Hereinafter, the invention described in the claims of the present application is additionally described.

[1] 第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、制御部を有する計算機。
[1] In response to input of an instruction to execute a first calculation, a first calculation using a numerical value is executed, a first numerical value related to a result of the executed first calculation is stored in a first memory, and a display unit is provided. To be displayed,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. A computer having a control unit to be displayed on a unit.

[2] 前記制御部は、
読み出しモードの設定指示の入力に応じて、実行した前記第1計算の結果に係わる前記第1数値を表示させるための読み出しモードを設定する、[1]記載の計算機。
[2] The control unit includes:
The computer according to [1], wherein a read mode for displaying the first numerical value related to a result of the executed first calculation is set in response to an input of a read mode setting instruction.

[3] 前記第1の読み出し指示は、前記読み出しモードの設定指示を兼ねる、[2]記載の計算機。   [3] The computer according to [2], wherein the first read instruction also serves as an instruction to set the read mode.

[4] 前記制御部は、
前記読み出しモードが設定されている状態において、
前記第2計算の実行指示の入力に応じて、設定された前記読み出しモードを解除せずに、前記表示部に表示中の数値を用いた第2計算を実行し、実行した前記第2計算の結果を示す数値を前記表示部に表示させる、[2]又は[3]記載の計算機。
[4] The control unit:
In the state where the read mode is set,
In response to the input of the execution instruction of the second calculation, without canceling the set readout mode, the second calculation using the numerical value displayed on the display unit is performed, and the executed second calculation is performed. The computer according to [2] or [3], wherein a numerical value indicating a result is displayed on the display unit.

[5] 前記制御部は、
前記読み出しモードが設定されている状態において、
第2の読み出し指示の入力に応じて、前記第1メモリに記憶された前記第1数値を読み出して前記表示部に表示させ、
前記第2計算の実行指示の入力に応じて、設定された前記読み出しモードを解除せずに、前記表示部に表示中の前記第1数値を用いて前記第2計算を実行し、実行した前記第2計算の結果を示す数値を前記表示部に表示させる、[2]乃至[4]の何れか一項記載の計算機。
[5] The control unit includes:
In the state where the read mode is set,
In response to the input of the second read instruction, the first numerical value stored in the first memory is read and displayed on the display unit,
In response to the input of the execution instruction of the second calculation, without canceling the set readout mode, the second calculation is executed using the first numerical value displayed on the display unit, and the executed The computer according to any one of [2] to [4], wherein a numerical value indicating a result of the second calculation is displayed on the display unit.

[6] 前記第1計算の実行指示は、前記第2の読み出し指示を兼ねる、[5]記載の計算機。   [6] The computer according to [5], wherein the execution instruction of the first calculation also serves as the second read instruction.

[7] 前記制御部は、
前記読み出しモードが設定されている状態において、
予め定められた指示の入力に応じて、設定された前記読み出しモードを解除する、[2]乃至[6]の何れか一項記載の計算機。
[7] The control unit includes:
In the state where the read mode is set,
The computer according to any one of [2] to [6], wherein the set read mode is canceled in response to input of a predetermined instruction.

[8] 前記制御部は、
前記読み出しモードが設定されている状態において、
予め定められた指示の入力に応じて、前記第1メモリの記憶内容をクリアする、[2]乃至[7]の何れか一項記載の計算機。
[8] The control unit:
In the state where the read mode is set,
The computer according to any one of [2] to [7], wherein the content stored in the first memory is cleared in response to input of a predetermined instruction.

[9] 前記制御部は、
前記読み出しモードが設定されている状態において、
前記第1の読み出し指示の入力が行われた場合に、前記表示部の表示内容にかかわらず、前記第1メモリに記憶された前記第1数値を前記表示部に表示させる、[2]乃至[8]の何れか一項記載の計算機。
[9] The control unit:
In the state where the read mode is set,
When the first read instruction is input, the first numerical value stored in the first memory is displayed on the display unit regardless of the display content of the display unit, [2] to [2]. 8] The computer according to any one of the above items.

[10] 前記制御部は、
前記読み出しモードが設定されていない状態において、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、[2]乃至[9]の何れか一項記載の計算機。
[10] The control unit includes:
In a state where the read mode is not set,
While the numerical value indicating the result of the executed first calculation is displayed on the display unit, when the first read instruction is input, the first numerical value stored in the first memory is displayed on the display unit. Section,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. The computer according to any one of [2] to [9], which is displayed on a unit.

[11] 前記制御部は、
第1税率に係わる前記第1計算の実行指示の入力があった場合、前記第1税率による税計算を実行し、前記第1税率による税計算の結果に係わる第3数値を前記第1メモリに記憶させ、
第2税率に係わる前記第1計算の実行指示の入力があった場合、前記第2税率による税計算を実行し、前記第2税率による税計算の結果に係わる第4数値を前記第1メモリに記憶させ、
前記第1の読み出し指示の入力に応じて、前記読み出しモードを設定するとともに、前記第3数値と前記第4数値を合計した総合計を前記表示部に表示させる、[2]乃至[10]の何れか一項記載の計算機。
[11] The control unit includes:
When an instruction to execute the first calculation related to the first tax rate is input, the tax calculation based on the first tax rate is performed, and a third numerical value related to a result of the tax calculation based on the first tax rate is stored in the first memory. Remember
When an instruction to execute the first calculation related to the second tax rate is input, the tax calculation based on the second tax rate is performed, and a fourth numerical value related to the result of the tax calculation based on the second tax rate is stored in the first memory. Remember
The reading mode is set according to the input of the first reading instruction, and a total sum of the third numerical value and the fourth numerical value is displayed on the display unit. A computer according to any one of the preceding claims.

[12] 前記制御部は、
複数の税率のうちのいずれか1つの税率に係わる前記第1計算の実行指示の入力があった場合、前記いずれか1つの税率による税計算を実行し、前記いずれか1つの税率による税計算の結果に係わる数値を前記第1メモリに記憶させ、
前記読み出しモードが設定されている状態において、
前記いずれか1つの税率に係わる機能の実行指示の入力に応じて、少なくとも1つの前記いずれか1つの税率による税計算の結果を示す数値を合計した税合計を表示させる、[2]乃至[11]の何れか一項記載の計算機。
[12] The control unit includes:
When an instruction to execute the first calculation relating to any one of the plurality of tax rates is input, the tax calculation is performed at the one of the tax rates, and the tax calculation at the one of the tax rates is performed. Storing a numerical value related to the result in the first memory;
In the state where the read mode is set,
In response to input of an instruction to execute a function relating to any one of the tax rates, a total tax sum of at least one numerical value indicating a result of the tax calculation based on the one of the tax rates is displayed. [2] to [11] ] The computer according to any one of the above items.

[13] 前記制御部は、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示とは異なる第3の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第3の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させる、[1]乃至[12]の何れか一項記載の計算機。
[13] The control unit includes:
If a third read instruction different from the first read instruction is input while a numerical value indicating the result of the first calculation performed is displayed on the display unit, the third read instruction is stored in the second memory. The second numerical value is displayed on the display unit,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the third read instruction is input, the first numerical value stored in the first memory is displayed on the display unit. The computer according to any one of [1] to [12], which is displayed on a unit.

[14] 前記制御部は、
税計算モードの切替指示の入力に応じて、前記第1計算として実行する計算を税込み計算と税抜き計算との何れかに切り替え、
前記第1計算として前記税込み計算を実行する場合、前記第1数値を前記第1メモリに記憶させ、
前記第1計算として前記税抜き計算を実行する場合、前記第1数値を前記第1メモリに記憶させない、[1]乃至[13]の何れか一項記載の計算機。
[14] The control unit:
According to the input of the switching instruction of the tax calculation mode, the calculation to be executed as the first calculation is switched to any of the calculation including tax and the calculation without tax,
When performing the tax-inclusive calculation as the first calculation, the first numerical value is stored in the first memory,
The computer according to any one of [1] to [13], wherein when performing the tax-excluded calculation as the first calculation, the first numerical value is not stored in the first memory.

[15] 計算機のコンピュータによって、
第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、ように機能させるためのプログラム。
[15] By computer of computer
In response to the input of the execution instruction of the first calculation, the first calculation using the numerical value is executed, the first numerical value related to the result of the first calculation executed is stored in the first memory, and displayed on the display unit. ,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. A program to be displayed on the unit, and to function as follows.

[16] 計算機の制御部により実行される計算方法であって、
第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、計算方法。
[16] A calculation method executed by a control unit of the computer,
In response to the input of the execution instruction of the first calculation, the first calculation using the numerical value is executed, the first numerical value related to the result of the first calculation executed is stored in the first memory, and displayed on the display unit. ,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. Calculation method to be displayed in the section.

10…電卓、11…キー入力部、11b0…税0計算キー、11b1…税1計算キー、11b2…税2計算キー、11b3…税3計算キー、11b4…税4計算キー、11c…税計算合計キー、11d…税計算モード切替キー、12…表示部、21…CPU、22…メモリ、22a…計算処理プログラム、22b…税率0合計メモリエリア、22c…税率1合計メモリエリア、22d…税率2合計メモリエリア、22e…税率3合計メモリエリア、22f…税率4合計メモリエリア、22g…税合計メモリエリア、22h…合計メモリエリア、22k…税合計リコールモードエリア、22m…税計算モードエリア。   10 Calculator, 11 Key input section, 11b0 Tax 0 calculation key, 11b1 Tax 1 calculation key, 11b2 Tax 2 calculation key, 11b3 Tax 3 calculation key, 11b4 Tax 4 calculation key, 11c Tax calculation total Key, 11d: Tax calculation mode switching key, 12: Display unit, 21: CPU, 22: Memory, 22a: Calculation processing program, 22b: Tax rate 0 total memory area, 22c: Tax rate 1 total memory area, 22d: Tax rate 2 total Memory area, 22e: Tax rate 3 total memory area, 22f: Tax rate 4 total memory area, 22g: Tax total memory area, 22h: Total memory area, 22k: Tax total recall mode area, 22m: Tax calculation mode area.

Claims (16)

第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、
制御部を有する計算機。
In response to the input of the execution instruction of the first calculation, the first calculation using the numerical value is executed, the first numerical value related to the result of the first calculation executed is stored in the first memory, and displayed on the display unit. ,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. To be displayed in the
A computer having a control unit.
前記制御部は、
読み出しモードの設定指示の入力に応じて、実行した前記第1計算の結果に係わる前記第1数値を表示させるための読み出しモードを設定する、
請求項1記載の計算機。
The control unit includes:
Setting a read mode for displaying the first numerical value related to the result of the executed first calculation in response to input of a read mode setting instruction;
The computer according to claim 1.
前記第1の読み出し指示は、前記読み出しモードの設定指示を兼ねる、
請求項2記載の計算機。
The first read instruction also serves as a read mode setting instruction.
The computer according to claim 2.
前記制御部は、
前記読み出しモードが設定されている状態において、
前記第2計算の実行指示の入力に応じて、設定された前記読み出しモードを解除せずに、前記表示部に表示中の数値を用いた第2計算を実行し、実行した前記第2計算の結果を示す数値を前記表示部に表示させる、
請求項2又は請求項3記載の計算機。
The control unit includes:
In the state where the read mode is set,
In response to the input of the execution instruction of the second calculation, without canceling the set readout mode, the second calculation using the numerical value displayed on the display unit is performed, and the executed second calculation is performed. Displaying a numerical value indicating the result on the display unit,
The computer according to claim 2 or 3.
前記制御部は、
前記読み出しモードが設定されている状態において、
第2の読み出し指示の入力に応じて、前記第1メモリに記憶された前記第1数値を読み出して前記表示部に表示させ、
前記第2計算の実行指示の入力に応じて、設定された前記読み出しモードを解除せずに、前記表示部に表示中の前記第1数値を用いて前記第2計算を実行し、実行した前記第2計算の結果を示す数値を前記表示部に表示させる、
請求項2乃至請求項4の何れか一項記載の計算機。
The control unit includes:
In the state where the read mode is set,
In response to the input of the second read instruction, the first numerical value stored in the first memory is read and displayed on the display unit,
In response to the input of the execution instruction of the second calculation, without canceling the set readout mode, the second calculation is executed using the first numerical value displayed on the display unit, and the executed Displaying a numerical value indicating a result of the second calculation on the display unit;
The computer according to claim 2.
前記第1計算の実行指示は、前記第2の読み出し指示を兼ねる、
請求項5記載の計算機。
The instruction to execute the first calculation also serves as the second read instruction.
The computer according to claim 5.
前記制御部は、
前記読み出しモードが設定されている状態において、
予め定められた指示の入力に応じて、設定された前記読み出しモードを解除する、
請求項2乃至請求項6の何れか一項記載の計算機。
The control unit includes:
In the state where the read mode is set,
In response to the input of a predetermined instruction, cancel the set read mode,
A computer according to any one of claims 2 to 6.
前記制御部は、
前記読み出しモードが設定されている状態において、
予め定められた指示の入力に応じて、前記第1メモリの記憶内容をクリアする、
請求項2乃至請求項7の何れか一項記載の計算機。
The control unit includes:
In the state where the read mode is set,
Clearing the storage content of the first memory in response to input of a predetermined instruction;
A computer according to any one of claims 2 to 7.
前記制御部は、
前記読み出しモードが設定されている状態において、
前記第1の読み出し指示の入力が行われた場合に、前記表示部の表示内容にかかわらず、前記第1メモリに記憶された前記第1数値を前記表示部に表示させる、
請求項2乃至請求項8の何れか一項記載の計算機。
The control unit includes:
In the state where the read mode is set,
When the first reading instruction is input, the first numerical value stored in the first memory is displayed on the display unit regardless of the display content of the display unit.
A computer according to any one of claims 2 to 8.
前記制御部は、
前記読み出しモードが設定されていない状態において、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、
請求項2乃至請求項9の何れか一項記載の計算機。
The control unit includes:
In a state where the read mode is not set,
While the numerical value indicating the result of the executed first calculation is displayed on the display unit, when the first read instruction is input, the first numerical value stored in the first memory is displayed on the display unit. Section,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. To be displayed in the
A computer according to any one of claims 2 to 9.
前記制御部は、
第1税率に係わる前記第1計算の実行指示の入力があった場合、前記第1税率による税計算を実行し、前記第1税率による税計算の結果に係わる第3数値を前記第1メモリに記憶させ、
第2税率に係わる前記第1計算の実行指示の入力があった場合、前記第2税率による税計算を実行し、前記第2税率による税計算の結果に係わる第4数値を前記第1メモリに記憶させ、
前記第1の読み出し指示の入力に応じて、前記読み出しモードを設定するとともに、前記第3数値と前記第4数値を合計した総合計を前記表示部に表示させる、
請求項2乃至請求項10の何れか一項記載の計算機。
The control unit includes:
When an instruction to execute the first calculation related to the first tax rate is input, the tax calculation based on the first tax rate is performed, and a third numerical value related to a result of the tax calculation based on the first tax rate is stored in the first memory. Remember
When an instruction to execute the first calculation related to the second tax rate is input, the tax calculation based on the second tax rate is performed, and a fourth numerical value related to the result of the tax calculation based on the second tax rate is stored in the first memory. Remember
In response to the input of the first read instruction, the read mode is set, and a total sum of the third numerical value and the fourth numerical value is displayed on the display unit.
A computer according to any one of claims 2 to 10.
前記制御部は、
複数の税率のうちのいずれか1つの税率に係わる前記第1計算の実行指示の入力があった場合、前記いずれか1つの税率による税計算を実行し、前記いずれか1つの税率による税計算の結果に係わる数値を前記第1メモリに記憶させ、
前記読み出しモードが設定されている状態において、
前記いずれか1つの税率に係わる機能の実行指示の入力に応じて、少なくとも1つの前記いずれか1つの税率による税計算の結果を示す数値を合計した税合計を表示させる、
請求項2乃至請求項11の何れか一項記載の計算機。
The control unit includes:
When an instruction to execute the first calculation relating to any one of the plurality of tax rates is input, the tax calculation is performed at the one of the tax rates, and the tax calculation at the one of the tax rates is performed. Storing a numerical value related to the result in the first memory;
In the state where the read mode is set,
In response to the input of the instruction to execute the function related to any one of the tax rates, displaying a total tax sum of numerical values indicating a result of the tax calculation based on at least one of the one or more tax rates,
A computer according to any one of claims 2 to 11.
前記制御部は、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示とは異なる第3の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第3の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させる、
請求項1乃至請求項12の何れか一項記載の計算機。
The control unit includes:
If a third read instruction different from the first read instruction is input while a numerical value indicating the result of the first calculation performed is displayed on the display unit, the third read instruction is stored in the second memory. The second numerical value is displayed on the display unit,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the third read instruction is input, the first numerical value stored in the first memory is displayed on the display unit. To be displayed in the
A computer according to any one of claims 1 to 12.
前記制御部は、
税計算モードの切替指示の入力に応じて、前記第1計算として実行する計算を税込み計算と税抜き計算との何れかに切り替え、
前記第1計算として前記税込み計算を実行する場合、前記第1数値を前記第1メモリに記憶させ、
前記第1計算として前記税抜き計算を実行する場合、前記第1数値を前記第1メモリに記憶させない、請求項1乃至請求項13の何れか一項記載の計算機。
The control unit includes:
According to the input of the switching instruction of the tax calculation mode, the calculation to be executed as the first calculation is switched to any of the calculation including tax and the calculation without tax,
When performing the tax-inclusive calculation as the first calculation, the first numerical value is stored in the first memory,
The computer according to any one of claims 1 to 13, wherein when performing the tax-excluded calculation as the first calculation, the first numerical value is not stored in the first memory.
計算機のコンピュータによって、
第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、
ように機能させるためのプログラム。
By computer of computer
In response to the input of the execution instruction of the first calculation, the first calculation using the numerical value is executed, the first numerical value related to the result of the first calculation executed is stored in the first memory, and displayed on the display unit. ,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. To be displayed in the
To make it work.
計算機の制御部により実行される計算方法であって、
第1計算の実行指示の入力に応じて、数値を用いた第1計算を実行し、実行した前記第1計算の結果に係わる第1数値を第1メモリに記憶させ、かつ表示部に表示させ、
前記第1計算とは異なる第2計算の実行指示の入力に応じて、数値を用いた第2計算を実行し、実行した前記第2計算の結果に係わる第2数値を第2メモリに記憶させ、かつ前記表示部に表示させ、
実行した前記第1計算の結果を示す数値を前記表示部に表示中に、第1の読み出し指示の入力が行われた場合に、前記第1メモリに記憶された前記第1数値を前記表示部に表示させ、
実行した前記第2計算の結果を示す数値を前記表示部に表示中に、前記第1の読み出し指示の入力が行われた場合に、前記第2メモリに記憶された前記第2数値を前記表示部に表示させる、
計算方法。
A calculation method executed by a control unit of the computer,
In response to the input of the execution instruction of the first calculation, the first calculation using the numerical value is executed, the first numerical value related to the result of the first calculation executed is stored in the first memory, and displayed on the display unit. ,
In response to an input of a second calculation execution instruction different from the first calculation, a second calculation using a numerical value is executed, and a second numerical value related to the result of the executed second calculation is stored in a second memory. , And displayed on the display unit,
When a first read instruction is input while a numerical value indicating the result of the executed first calculation is displayed on the display unit, the first numerical value stored in the first memory is displayed on the display unit. To be displayed,
While the numerical value indicating the result of the executed second calculation is displayed on the display unit, when the first read instruction is input, the second numerical value stored in the second memory is displayed on the display unit. To be displayed in the
Method of calculation.
JP2019080317A 2018-09-07 2019-04-19 Calculators, calculation methods, and programs Active JP7383902B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201910757759.7A CN110888830B (en) 2018-09-07 2019-08-16 Calculator, calculating method and storage medium
CN202410259118.XA CN118051466A (en) 2018-09-07 2019-08-16 Electronic device, calculation support method, and program
JP2023108979A JP7487829B2 (en) 2018-09-07 2023-07-03 Electronic device, calculation support method and program
JP2023108978A JP7487828B2 (en) 2018-09-07 2023-07-03 Electronic device, calculation support method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018168366 2018-09-07
JP2018168366 2018-09-07

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2023108978A Division JP7487828B2 (en) 2018-09-07 2023-07-03 Electronic device, calculation support method and program
JP2023108979A Division JP7487829B2 (en) 2018-09-07 2023-07-03 Electronic device, calculation support method and program

Publications (3)

Publication Number Publication Date
JP2020042767A true JP2020042767A (en) 2020-03-19
JP2020042767A5 JP2020042767A5 (en) 2022-04-25
JP7383902B2 JP7383902B2 (en) 2023-11-21

Family

ID=69798481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019080317A Active JP7383902B2 (en) 2018-09-07 2019-04-19 Calculators, calculation methods, and programs

Country Status (1)

Country Link
JP (1) JP7383902B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021152806A (en) * 2020-03-24 2021-09-30 カシオ計算機株式会社 Electronic apparatus, method for controlling electronic apparatus, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51101439A (en) * 1975-03-04 1976-09-07 Tokyo Electric Co Ltd ZEIKINKEISANKINOOSONAETADENSHIREJISUTA

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4816528B2 (en) 2007-03-19 2011-11-16 カシオ計算機株式会社 Electronic calculator
JP6825285B2 (en) 2016-09-23 2021-02-03 カシオ計算機株式会社 Computer, calculation printing method, program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51101439A (en) * 1975-03-04 1976-09-07 Tokyo Electric Co Ltd ZEIKINKEISANKINOOSONAETADENSHIREJISUTA

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021152806A (en) * 2020-03-24 2021-09-30 カシオ計算機株式会社 Electronic apparatus, method for controlling electronic apparatus, and program
JP7259790B2 (en) 2020-03-24 2023-04-18 カシオ計算機株式会社 ELECTRONIC DEVICE, INPUT SUPPORT METHOD AND PROGRAM

Also Published As

Publication number Publication date
JP7383902B2 (en) 2023-11-21

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
US20110219051A1 (en) Electronic calculator, display method, and recording medium for displaying mathematical expression in full color
US10235328B2 (en) Calculation device, calculation method, and storage medium
JP7383902B2 (en) Calculators, calculation methods, and programs
JP7487755B2 (en) calculator
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP7176603B2 (en) Computing device, computing method, and program
JP7487828B2 (en) Electronic device, calculation support method and program
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP7416138B2 (en) Calculator, setting support method and program
JP7279355B2 (en) Calculator, display method, and program
JP6620907B1 (en) Computer, setting method, and program
JP7163705B2 (en) Calculators, calculation methods, and programs
CN107562677B (en) Calculation device, calculation method, and recording medium having program recorded thereon
JP6528483B2 (en) Computation processing device and program
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP7500934B2 (en) Computer, calculation method, and program
JP7031691B2 (en) Electronics, control methods, and programs

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220408

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220408

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230703

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231023

R150 Certificate of patent or registration of utility model

Ref document number: 7383902

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150