JP7487755B2 - calculator - Google Patents

calculator Download PDF

Info

Publication number
JP7487755B2
JP7487755B2 JP2022115167A JP2022115167A JP7487755B2 JP 7487755 B2 JP7487755 B2 JP 7487755B2 JP 2022115167 A JP2022115167 A JP 2022115167A JP 2022115167 A JP2022115167 A JP 2022115167A JP 7487755 B2 JP7487755 B2 JP 7487755B2
Authority
JP
Japan
Prior art keywords
tax
calculation
key
total
cpu
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.)
Active
Application number
JP2022115167A
Other languages
Japanese (ja)
Other versions
JP2022140521A (en
Inventor
博明 吉澤
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 JP2022115167A priority Critical patent/JP7487755B2/en
Publication of JP2022140521A publication Critical patent/JP2022140521A/en
Application granted granted Critical
Publication of JP7487755B2 publication Critical patent/JP7487755B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、検算機能を有する計算に関する。 The present invention relates to a computer having a verification function.

近年の計算機(電卓)には、先に実行した計算結果が正しいかを確認することができる検算機能が設けられているものがある。検算機能を有する電卓は、例えば計算のために入力された数値データと、操作された物理的なキーを示すキーコードとを対応づけて順次記憶しておく。検算時には、数値データとキーコードをユーザ操作に応じて順次読み出し、数値とキーコード対応するシンボルを表示するなどして、先に実行された計算時の入力操作を確認することができる。 Some modern calculators are equipped with a verification function that allows the user to check whether the result of a previously executed calculation is correct. Calculators with a verification function, for example, sequentially store the numerical data entered for a calculation in association with the key code indicating the physical key operated. When verifying a calculation, the numerical data and key codes are read out sequentially in response to user operation, and a symbol corresponding to the numerical value and key code is displayed, allowing the user to check the input operation during a previously executed calculation.

また近年の電卓には、四則計算などの通常計算だけでなく、税率計算をする税計算機能を有しているものがある。この種の電卓には、例えば入力された数値に対して、予め設定された税率をもとにした税込み計算の実行を指示する税計算キー(税込み計算キー、税抜き計算キー)が設けられている。税計算機は、税計算キーに対する操作に応じて、任意の四則計算などによる通常計算された数値、あるいは個別に入力された数値をもとに、税計算キーに対応する税率による税込み額を算出して表示する。 Some modern calculators can perform not only normal calculations such as arithmetic operations, but also have a tax calculation function that calculates tax rates. This type of calculator is provided with tax calculation keys (tax-inclusive calculation key, tax-exclusive calculation key) that instruct the execution of a tax-inclusive calculation based on a preset tax rate for an inputted numerical value, for example. In response to an operation on a tax calculation key, the tax calculator calculates and displays the tax-inclusive amount based on the tax rate corresponding to the tax calculation key, based on a numerical value normally calculated using any of the four arithmetic operations, or an individually inputted numerical value.

特開2018-49379号公報JP 2018-49379 A 特開2017-174225号公報JP 2017-174225 A

税計算機能が設けられた電卓において、複数の税率について税計算をするために、複数の税率のそれぞれに対応する税込み計算キーと税抜きキーを設ける必要がある。しかしながら、電卓の筐体表面に設けられるキーの数には限りがあるため、より多くの税率に対して税計算をするために、物理的な1つのキーに対して複数の機能を割り当てることが考えられる。 In a calculator equipped with a tax calculation function, in order to perform tax calculations for multiple tax rates, it is necessary to provide a tax-inclusive calculation key and a tax-exclusive calculation key that correspond to each of the multiple tax rates. However, since the number of keys that can be provided on the surface of the calculator's housing is limited, it is possible to assign multiple functions to one physical key in order to perform tax calculations for a larger number of tax rates.

この場合、検算機能により計算時の入力操作を確認するために、従来と同様にして、操作されたキーに一対一対応するキーコードを記憶させておき、検算時にキーコードに応じたシンボルを表示しても、何れの機能が実行されたか確認することができない。 In this case, in order to use the calculation verification function to verify input operations during calculation, key codes that correspond one-to-one to the operated keys are stored as in the conventional method, and even if a symbol corresponding to the key code is displayed during calculation verification, it is not possible to verify which function was executed.

本発明は、前記のような課題に考慮してなされたもので、限られた筐体正面の面積を有効に利用して、複数の税率のそれぞれに対応するキーを設けるように構成された計算機を提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and has as its object to provide a calculator that makes effective use of the limited area on the front of the case and is configured to have keys corresponding to each of a plurality of tax rates .

上記の課題を解決するために、本発明の計算機は、夫々に数値が対応付けられた複数の数値キーと、四則演算の各演算機能に対応する複数の演算機能キーと、数値に対応する税計算の実行指示を入力するために操作されるキーであり4種類の税率に対応した4つの税計算キーと、税計算合計キーと、を含む複数の機能キーと、を備え、前記複数の機能キーは、前記複数の数値キーと前記演算機能キーとが配列された位置と幅が揃うように一行に配置され、前記税計算キーは、夫々が前記4種類の税率に対応する税込計算の実行の指示と税抜計算の実行の指示を兼用するキーであることを特徴とする。 In order to solve the above problems, the calculator of the present invention comprises a plurality of numeric keys, each associated with a numeric value, a plurality of calculation function keys corresponding to each of the four arithmetic operations, and a plurality of function keys including four tax calculation keys corresponding to four tax rates and a tax calculation total key which are keys operated to input instructions to execute a tax calculation corresponding to the numeric values, the plurality of function keys being arranged in a line so that the positions and widths of the arrangement of the plurality of numeric keys and the calculation function keys are aligned, and the tax calculation keys are keys which serve both to execute a tax-inclusive calculation and to execute a tax-exclusive calculation corresponding to the four tax rates .

本実施形態における税計算機の外観構成を示す正面図。FIG. 1 is a front view showing the external configuration of a tax calculator according to an embodiment of the present invention. 本実施形態における電卓の電子回路の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an electronic circuit of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能の動作を説明するためのフローチャート。5 is a flowchart for explaining the operation of a tax calculation function of the calculator according to the embodiment. 電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。11A and 11B are diagrams showing specific examples of input operations and displays to explain the tax calculation function of a calculator. 電卓の税計算機能を説明するための計算データの具体例を示す図。FIG. 11 is a diagram showing a specific example of calculation data for explaining a tax calculation function of a calculator. 電卓の税計算機能を説明するための表示の具体例を示す図。FIG. 13 is a diagram showing a specific example of a display for explaining a tax calculation function of a calculator. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。11A to 11C are diagrams showing specific examples of input operations and displays to explain the tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための計算データの具体例を示す図。5A and 5B are diagrams showing specific examples of calculation data for explaining a tax calculation function of the calculator according to the embodiment. 本実施形態における電卓の税計算機能を説明するための入力操作と表示の具体例を示す図。11A to 11C are diagrams showing specific examples of input operations and displays to explain the tax calculation function of the calculator according to the embodiment.

以下、図面により本発明の実施の形態について説明する。 The following describes an embodiment of the present invention with reference to the drawings.

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

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

本実施形態における電卓10は、複数の税率、例えば5種類の税率により税計算をする税計算機能が設けられている。例えば、インドでは消費税として、5種類の税率(0%、5%、12%、18%、28%)が用いられている。従って、本実施形態における電卓10は、インドなどにおいて、5種類以下の複数の消費税が混在する商品の総額などを算出する税計算に好適である。 The calculator 10 in this embodiment is provided with a tax calculation function that calculates tax using multiple tax rates, for example, five different tax rates. For example, five different tax rates (0%, 5%, 12%, 18%, and 28%) are used for consumption tax in India. Therefore, the calculator 10 in this embodiment is suitable for calculating taxes in India and other countries that include five or fewer different consumption taxes.

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

税計算機能キーには、税計算キー([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. Here, GST is an abbreviation for "Goods and Service Tax", which means the consumption tax in India. The characters in [ ] (excluding the characters in ( )) indicate the characters printed on the key top of each tax calculation key 11b, and the characters in ( ) within [ ] are for convenience the characters printed on the front of the case of the calculator 10. In this specification, the same notation is used not only for the tax calculation key 11b.

税計算キー([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, a tax 2 calculation key ([GST+2(TAX-2)]) 11b2, a tax 3 calculation key ([GST+3(TAX-3)]) 11b3 and a tax 4 calculation key ([GST+4(TAX-4)]) 11b4. The tax 0 calculation key ([GST+0(TAX-0)]) 11b0 is operated to input an instruction to perform a tax calculation using tax rate 0. Similarly, the tax 1 calculation key ([GST+1(TAX-1)]) 11b1, tax 2 calculation key ([GST+2(TAX-2)]) 11b2, tax 3 calculation key ([GST+3(TAX-3)]) 11b3, and tax 4 calculation key ([GST+4(TAX-4)]) 11b4 are operated to input instructions to execute tax calculations using tax rate 1, tax rate 2, tax rate 3, and tax rate 4, respectively. In this specification, when expressing the tax calculation key ([GST+n(TAX-n)]) 11b in this way, "n" is used instead of each number from 0 to 4. In this specification, not limited to the tax calculation key 11b, when there is no particular restriction on which number "n" can take (an integer from 0 to 4), "n" is used for convenience instead of a specific number.

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-11b4) serves as both the tax-inclusive calculation key [GST+n] and the tax-exclusive calculation key [TAX-n]. The tax calculation key 11b (tax n calculation keys 11b0-11b4) is used as either the tax-inclusive calculation key [GST+n] or the tax-exclusive calculation key [TAX-n] depending on the tax calculation mode that is switched in response to the operation of the tax calculation mode switching key ([GST+/TAX-]) 11d. By using one tax calculation key 11b both as the tax-inclusive calculation key [GST+n] and the tax-exclusive calculation key [TAX-n], the limited area on the front of the case is effectively utilized to provide keys that can execute tax-inclusive calculation processing and tax-exclusive calculation processing corresponding to each of multiple (five) tax rates.

なお、税計算キー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 rate 0 to tax rate 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%, 28%) are set to the tax n calculation keys 11b0 to 11b4, respectively, to accommodate use in India. The tax rates (tax rate 0 to tax rate 4) assigned to the tax n calculation keys 11b0 to 11b4 can also be set arbitrarily by the user.

税計算合計キー([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 serves both as a grand total key ([GT] key) for displaying the total for normal calculations (basic calculations) such as arithmetic operations and constant calculations, and as a GST grand total key ([GST GT] key) for displaying the total for the tax calculation results. 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 transitions 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 transition in particular, but simply calls up the values stored in the total memory area 22h and displays them on the display unit 12. These processes will be explained in detail later using FIG. 4.

税計算合計キー11cは、税計算合計キー11cが操作された直前の動作状態に応じて、グランドトータルキー([GT]キー)あるいはGSTグランドトータルキー([GST GT]キー)の何れかとして機能する。つまり、例えば、税計算キー11bの操作によって税計算が実行された直後に税計算合計キー11cが押下された場合には、税計算キー11bは、税計算の計算結果について総合計を表示させるGSTグランドトータルキー([GST GT]キー)として機能する。また、例えば、演算実行キー([=]キー)11h0の操作によって通常計算が実行された直後に税計算合計キー11cが押下された場合、すなわち、税計算キー11bの操作によって税計算が実行された直後でない場合には、税計算キー11bは、通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)として機能する。 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 operating state immediately before the tax calculation total key 11c is operated. In other words, for example, if the tax calculation total key 11c is pressed immediately after the tax calculation is performed by operating the tax calculation key 11b, the tax calculation key 11b functions as a GST grand total key ([GST GT] key) that displays the total of the tax calculation result. Also, for example, if the tax calculation total key 11c is pressed immediately after the normal calculation is performed by operating the calculation execution key ([=] key) 11h0, that is, not immediately after the tax calculation is performed by operating the tax calculation key 11b, the tax calculation key 11b functions as a grand total key ([GT] key) that displays the total of the normal calculation (basic calculation).

機能キーには、例えばオールクリアキー([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), multiple memory keys ([MRC] [M-] [M+]), a root key ([√] key), and a [%] key 11g. The [%] key 11g is used for percentage calculations, and is also used to start a tax rate setting process for setting the tax rates corresponding to each of the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4) to values entered by key operation.

検算機能キーは、先に実行された計算の内容について確認/修正するための検算機能において使用されるキーである。検算機能キーには、確認キー([CHECK BACK]キー11e、[CHECK FOWARD]キー11f)と、修正キー([CORRECT]キー)11kが含まれる。[CHECK BACK]キー11e及び[CHECK FOWARD]キー11fは、先に実行された計算の内容(計算データ)をステップ単位で切り替えて表示させるためのキーである。[CHECK BACK]キー11eが操作された場合、ステップ数が少ない方向のステップの計算データに表示を切り替え、[CHECK FOWARD]キー11fが操作された場合、ステップ数が多い方向のステップの計算データに表示を切り替える。なお、1ステップは、計算のために入力された「置数+ファンクション」が単位となる。「ファンクション」には、四則計算、税込み計算、税抜き計算などのために操作されたキーのコードが記憶される。 The calculation check function keys are used in the calculation check function to check/correct the contents of a previously executed calculation. The calculation check function keys include a check key (CHECK BACK key 11e, CHECK FORWARD key 11f) and a correction key (CORRECT key) 11k. The CHECK BACK key 11e and the CHECK FORWARD key 11f are used to switch the display of the contents of a previously executed calculation (calculation data) step by step. When the CHECK BACK key 11e is operated, the display switches to the calculation data of the step with the fewer steps, and when the CHECK FORWARD key 11f is operated, the display switches to the calculation data of the step with the greater number of steps. Note that one step is the unit of "numeral input + function" entered for the calculation. The "function" stores the code of the key operated for arithmetic operations, calculation with tax, calculation without tax, etc.

1つのキーに複数の機能が割り当てられている場合には、計算の内容を示す計算データに、操作されたキーに一対一対応するコードと対応づけて、キー操作によって何れの機能が実行されたかを示す拡張情報(後述するキー情報)が付加される。 When multiple functions are assigned to one key, extended information (key information, described later) indicating which function was executed by the key operation is added to the calculation data indicating the content of the calculation, in correspondence with a code that has one-to-one correspondence with the operated key.

本実施形態の電卓10では、1つの税計算キー11b(11b0~11b4)に対して、それぞれ税込み計算と税抜き計算の2つの機能が割り当てられている。従って、税計算キー11b[GST+n(TAX-n)]が税込み計算キー[GST+n]として操作された場合には、税込み計算と税計算キー11bに設定された税率[n]を示す拡張情報が計算データに付加され、税抜き計算キー[TAX-n]として操作された場合には、税抜き計算と税計算キーに設定された税率[n]を示す拡張情報が計算データに付加される。 In the calculator 10 of this embodiment, two functions, tax-inclusive calculation and tax-exclusive calculation, are assigned to each tax calculation key 11b (11b0 to 11b4). Therefore, when the tax calculation key 11b [GST+n (TAX-n)] is operated as the tax-inclusive calculation key [GST+n], extended information indicating the tax-inclusive calculation and the tax rate [n] set in the tax calculation key 11b is added to the calculation data, and when it is operated as the tax-exclusive calculation key [TAX-n], extended information indicating the tax-exclusive calculation and the tax rate [n] set in the tax calculation key is added to the calculation data.

なお、本実施形態の説明では、電卓10に設けられた複数のキーのうち、複数の機能が割り当てられるキーを税計算に使用する税計算キー11bのみとしているが、他のキーに対して複数の機能を割り当てることも可能である。また、1つのキーに割り当てる複数の機能は、税計算以外の機能を対象とすることもできる。さらに、2つの機能を割り当てるだけでなく、3以上の機能が割り当てられていても良い。 In the description of this embodiment, the only key to which multiple functions are assigned among the multiple keys provided on the calculator 10 is the tax calculation key 11b used for tax calculation, but it is also possible to assign multiple functions to other keys. In addition, the multiple functions assigned to one key can also be functions other than tax calculation. Furthermore, instead of assigning two functions, three or more functions may be assigned.

修正キー11kは、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fの操作により表示された計算の内容(「置数+ファンクション」)の修正を指示するためのキーである。修正キー11kの操作後に修正後の計算の内容を入力することで、表示された先に入力された計算データを修正することができる。 The correction key 11k is a key for instructing correction of the contents of the calculation ("numerals + function") displayed by operating the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f. By inputting the corrected contents of the calculation after operating the correction key 11k, the previously entered displayed calculation data can be corrected.

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

表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の計算モードや各種設定状態を示す文字や記号(シンボル)が表示される。例えば、状態表示エリアには、ステップ数12a、税計算モードシンボル12b、税計算キーシンボル12c、税合計リコールモードシンボル12d、総合計表示シンボル12e、メモリシンボル12f、確認モードシンボル12gなどが表示される。なお、図1では、状態表示エリアを説明するため、表示可能なすべてのシンボルを同じ画面上に便宜的に示したが、電卓10が取り得る任意の状態において、このように多数のシンボルが同じ画面上に同時に表示されるとは限らない。 The display unit 12 is 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 rows (for example, one row). In addition, a status display area provided along the side of the display unit 12 displays characters and symbols indicating the calculation mode being set and various setting states. For example, the status display area displays the number of steps 12a, tax calculation mode symbol 12b, tax calculation key symbol 12c, tax total recall mode symbol 12d, grand total display symbol 12e, memory symbol 12f, confirmation mode symbol 12g, etc. In FIG. 1, all displayable symbols are conveniently shown on the same screen to explain the status display area, but such a large number of symbols are not necessarily displayed simultaneously on the same screen in any state that the calculator 10 can be in.

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

税計算キーシンボル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 function symbol that indicates the tax rate used in the tax calculation and whether the calculation is tax-inclusive or tax-exclusive when the tax calculation is performed by operating the tax calculation key 11b. When the tax calculation key 11b is used as the tax-inclusive calculation key [GST+n], one of [GST+0], [GST+1], [GST+2], [GST+3], or [GST+4] corresponding to the tax rates 0 to 4 is displayed. When the tax calculation key 11b is used as the tax-exclusive calculation key [TAX-n], one of [TAX-0], [TAX-1], [TAX-2], [TAX-3], or [TAX-4] corresponding to the tax rates 0 to 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 mode symbol indicating that the mode has been changed to the tax total recall mode (GST GT recall mode) by operating the tax calculation total key ([GST GT (GT)]) 11c, and for example, "RCL" is displayed. In the tax total recall mode, the total including tax, the total excluding tax, and the total tax amount can be switched to be displayed as the total of the tax calculations calculated at each tax rate (tax rates 0 to 4) according to the key operation of the tax calculation total key 11c. Also, in the tax total recall mode, the tax rate to be displayed (tax rates 0 to 4) can be specified by key operation of the tax calculation key 11b, and the total including tax, the total excluding tax, and the total tax amount can be switched to be displayed as the total of the tax calculations for the specified tax rate.

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

確認モードシンボル12gは、チェックバックキー11eあるいはチェックフォワードキー11fの操作に応じて、先に実行された計算の内容(計算データ)を表示させる確認(レビュー)モードに遷移したことを示すモードシンボル(レビューシンボル)であり、例えば「REV」が表示される。 The confirmation mode symbol 12g is a mode symbol (review symbol) that indicates that a transition has been made to a confirmation (review) mode in which the contents of a previously executed calculation (calculation data) are displayed in response to the operation of the check back key 11e or the check forward key 11f, and for example, "REV" is displayed.

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

図2は、本実施形態における電卓10の電子回路の構成を示すブロック図である。電卓10の電子回路は、CPU21を含む、コンピュータを構成する複数のユニットを備えている。 Figure 2 is a block diagram showing the configuration of the electronic circuit of the calculator 10 in this embodiment. The electronic circuit of the calculator 10 includes multiple units that constitute 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 the key that was input by the key input signal from the key input unit 11, and executes various calculation processes according to each detected key. The calculator 10 realizes calculation processes including the processing by the calculation function described in the operation explanation below by the CPU 21 controlling the operation of each part of the circuit according to the instructions written in the calculation processing program 22a and by the software and hardware operating in cooperation with each other.

計算処理プログラム22aは、予めメモリ22に記憶されていても良いし、記録媒体読取部23を介してメモリカード等の外部記録媒体23から読み込まれても良いし、あるいは通信部25を介して通信ネットワークN(インターネット等を含む)上のサーバ30からダウンロードされても良い。 The calculation processing program 22a may be stored in advance in the memory 22, or may be read from an external recording medium 23 such as a memory card via the recording medium reading unit 23, or may be downloaded from a server 30 on a communication network N (including the Internet, etc.) via the communication unit 25.

メモリ22には、計算処理プログラム22aが記憶される他に、税計算の計算結果を記憶するエリア(税メモリ)、合計メモリエリア22h、税合計リコールモードエリア22k、税計算モードエリア22m、バッファメモリエリア22n、表示メモリエリア22p、計算モードエリア22r、計算データ記憶エリア22sなど各データを記憶するエリアが設けられる。税メモリ(第1メモリ)には、税率0合計メモリエリア22b、税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22f、税合計メモリエリア22gが含まれる。なお、以下の説明では、税率0合計メモリエリア22b、税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22fを総称して、税率別税合計メモリエリア22b~22fと説明する場合がある。 The memory 22 stores the calculation processing program 22a, as well as an area for storing the calculation results of the tax calculation (tax memory), a total memory area 22h, a tax total recall mode area 22k, a tax calculation mode area 22m, a buffer memory area 22n, a display memory area 22p, a calculation mode area 22r, a calculation data storage area 22s, and other areas for storing various data. 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. In the following explanation, 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 may be collectively referred to as the tax rate-specific tax total memory areas 22b to 22f.

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

税率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 areas for storing data calculated by tax calculations based on each of the tax rates 1 to 4, similar to the tax rate 0 total memory area 22b described above. A detailed explanation will be omitted.

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

合計メモリエリア22hは、通常計算により算出される数値の合計を示すデータを記憶するためのエリアである(第2メモリ)。合計メモリエリア22hには、演算実行キー[=]11h0の操作に応じて通常計算の計算結果が算出されることにより、計算結果とする数値が合計メモリエリア22hに記憶された数値に加算される。 The total memory area 22h is an area for storing data indicating the sum of the numerical values calculated by normal calculation (second memory). The result of normal calculation is calculated in response 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が押下された場合にオンされる(税合計リコールモードへの遷移)。また、税合計リコールモードは、税合計リコールモードをオフするための予め定められた指示として、例えば[AC]キー11aが操作された場合にオフされる。なお、税合計リコールモードのオン/オフの切り替えは、税計算合計キー11cと[AC]キー11aの操作に限られるものではない。例えば、別のキー操作に応じて、あるいは電卓10の処理結果に応じて、税合計リコールモードのオン/オフを切り替えるようにしても良い。 In the tax total recall mode area 22k, the tax total recall mode flag, which indicates whether the calculator is in recall mode or not, is set to the on or off state in response to an input operation on the tax calculation total key 11c. The tax total recall mode is turned on when the tax calculation total key 11c is pressed immediately after a tax calculation by operating the tax calculation key 11b (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 to turn off the tax total recall mode. Note that 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, the tax total recall mode may be switched on/off in response to another key operation or in response to the processing result of the calculator 10.

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

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

税計算モードエリア22mは、税計算モード切替キー11dに対する入力操作に応じて切り替えられる、税込み計算モードあるいは税抜き計算モードの何れの状態にあるかを示す税計算モードデータが記憶される。 The tax calculation mode area 22m stores tax calculation mode data indicating whether the mode is tax-inclusive calculation mode or tax-exclusive calculation mode, which can be switched in response to an input operation on the tax calculation mode switching key 11d.

バッファメモリエリア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 input number that is paired with the last input function to form a unit. The display memory area 22p stores the value currently displayed on the display unit 12. For example, if the number "100" is input by operating the numeric keys and the tax 1 calculation key ([GST+1(TAX-1)]) 11b1 is operated in sequence as the function, the buffer memory area 22n stores the number "100" as the input number, and the display memory area 22p stores the number "105" that is also displayed on the display unit 12 as the result of the tax-inclusive calculation of tax rate 1 (assuming tax rate 1 is 5%). In this way, the values stored in the buffer memory area 22n and the display memory area 22p are overwritten and updated in sequence according to the most recent input operation.

計算モードエリア22rは、電卓10の現在の計算モードを示すモードデータが記憶される。計算モードには、例えば計算登録(通常)モード、確認(レビュー)モードなどがある。計算登録モードは、通常計算あるいは税計算が実行される際にキー操作により入力される「置数+ファンクション」を1ステップとする、計算の内容を示す計算データを計算データ記憶エリア22sに順次記憶(登録)するモードである。確認モードは、確認キー([CHECK BACK]キー11e、[CHECK FOWARD]キー11f)の操作に応じて設定され、計算登録モードにより計算データ記憶エリア22sに登録された計算データが示す計算の内容を、ステップ単位で表示部12に表示させるモードである。 The calculation mode area 22r stores mode data indicating the current calculation mode of the calculator 10. Calculation modes include, for example, calculation registration (normal) mode and review mode. The calculation registration mode is a mode in which calculation data indicating the contents of a calculation are sequentially stored (registered) in the calculation data storage area 22s, with one step being a "number input + function" input by key operation when a normal calculation or tax calculation is performed. The review mode is a mode that is set in response to the operation of the confirmation keys ([CHECK BACK] key 11e, [CHECK FORWARD] key 11f), and causes the display unit 12 to display, step by step, the contents of the calculation indicated by the calculation data registered in the calculation data storage area 22s by the calculation registration mode.

計算データ記憶エリア22sは、検算機能用のデータを記憶するための検算用メモリとして使用されるエリアである。計算データ記憶エリア22sは、複数のステップ分(例えば、300ステップ分)が確保され、通常計算あるいは税計算のためのキー操作により入力される置数を示す数値データとファンクションを示すキーに一対一対応するコード(演算データ)とが対応づけられて記憶される。本実施形態の電卓10では、1つのキーに複数の機能(ファンクション)が割り当てられている場合、キーに一対一対応するコードだけでなく、キーに対する操作により何れの機能が指定されたかを判別し、この判別された機能を示す拡張情報(後述するキー情報)を記憶させる。拡張情報は、確認(レビュー)モードにおいて、計算データをステップ単位で表示させる際に、操作されたキーにより実行された機能を表すファンクションシンボルを表示させるために参照される。 The calculation data storage area 22s is an area used as a calculation verification memory for storing data for the calculation verification function. The calculation data storage area 22s has space for multiple steps (e.g., 300 steps) and stores numerical data indicating the numbers entered by key operation for normal calculation or tax calculation and codes (operation data) corresponding one-to-one to the keys indicating functions. In the present embodiment of the calculator 10, when multiple functions are assigned to one key, not only the codes corresponding one-to-one to the keys are stored, but also the function designated by the operation of the key is determined and extended information (key information, described later) indicating the determined function is stored. The extended information is referenced in the review mode to display a function symbol indicating the function executed by the operated key when the calculation data is displayed step by step.

本実施形態の電卓10では、税計算キー11b(税n計算キー11b0~11b4)は、税込み計算キー[GST+n]と税抜き計算キー[TAX-n]として兼用している。すなわち、1つの税計算キー11b(税n計算キー11b0~11b4)に対して、税込み計算と税抜き計算の2つの機能(ファンクション)かぜ割り当てられている。従って、税計算のために税計算キー11b(税n計算キー11b0~11b4)が操作された場合、税計算キー11b(税n計算キー11b0~11b4)を示すコードの他に、税込み計算あるいは税抜き計算の何れかを示す拡張情報(キー情報)が計算データ記憶エリア22sに記憶される。 In the calculator 10 of this embodiment, the tax calculation key 11b (tax n calculation keys 11b0 to 11b4) is used both as the tax-inclusive calculation key [GST+n] and the tax-exclusive calculation key [TAX-n]. In other words, two functions, tax-inclusive calculation and tax-exclusive calculation, are assigned to each tax calculation key 11b (tax n calculation keys 11b0 to 11b4). Therefore, when the tax calculation key 11b (tax n calculation keys 11b0 to 11b4) is operated to perform tax calculation, in addition to the code indicating the tax calculation key 11b (tax n calculation keys 11b0 to 11b4), extended information (key information) indicating either tax-inclusive calculation or tax-exclusive calculation is stored in the calculation data storage area 22s.

次に、本実施形態における電卓10の動作について説明する。図3、図4、図5、図6、図7、図8及び図9は、本実施形態における電卓10の計算機能の動作を説明するためのフローチャートである。 Next, the operation of the calculator 10 in this embodiment will be described. Figures 3, 4, 5, 6, 7, 8, and 9 are flowcharts for explaining the operation of the calculation function of the calculator 10 in this embodiment.

まず、ユーザは、計算を開始前に表示をクリアするため、[AC]キー11aを操作(押下)する。CPU21は、[AC]キー11aが操作されると(ステップA1:Yes)、メモリ22の各メモリエリアをクリアする。また、CPU21は、計算モードを通常計算あるいは税計算の計算データ記録する計算登録モードに設定する。すなわち、CPU21は、計算モードエリア22rに計算登録モードを示すモードデータを記録し、表示部12の状態表示エリアにおけるレビューシンボルをオフする。なお、初期状態では、表示部12の状態表示エリアに表示されるステップ数12aを[000]に設定する(ステップA2)。 First, the user operates (presses) the [AC] key 11a to clear the display before starting calculation. When the [AC] key 11a is operated (step A1: Yes), the CPU 21 clears each memory area of the memory 22. The CPU 21 also sets the calculation mode to a calculation registration mode that records calculation data for normal calculation or tax calculation. That is, the CPU 21 records mode data indicating the calculation registration mode in the calculation mode area 22r, and turns off the review symbol in the status display area of the display unit 12. In the initial state, the step number 12a displayed in the status display area of the display unit 12 is set to [000] (step A2).

まず、四則計算などの通常計算をする場合について説明する。 First, we will explain how to perform normal calculations such as arithmetic operations.

計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップA3:Yes)、CPU21は、入力操作された数値キーに応じた数値データを入力してバッファメモリエリア22nに記憶させる。また、CPU21は、ステップ数12aを更新(+1)して、表示部12の状態表示エリアのステップ数12aを変更する。さらに、また、CPU21は、入力された数値(置数)を表示メモリエリア22pに記憶させるとともに、表示部12において表示させる(ステップA4)。 When the user operates a numeric key to input a numerical value to be calculated (step A3: Yes), the CPU 21 inputs numerical data corresponding to the operated numeric key and stores it in the buffer memory area 22n. The CPU 21 also updates (+1) the number of steps 12a and changes the number of steps 12a in the status display area of the display unit 12. Furthermore, the CPU 21 stores the input numerical value (number of entries) in the display memory area 22p and displays it on the display unit 12 (step A4).

続いて、[=]キー11h0以外の演算機能キー11h1~11h4が操作されると(ステップA5:Yes)、CPU21は、入力操作された演算機能キーに応じた演算データ(キーのコード)を入力してバッファメモリエリア22nに記憶させると共に、入力された演算データに対応するファンクションシンボルとして、演算(記号)シンボルを表示部12の状態表示エリアに表示させる(ステップA6)。 Next, when any of the calculation function keys 11h1 to 11h4 other than the [=] key 11h0 is operated (step A5: Yes), the CPU 21 inputs the calculation data (key code) corresponding to the calculation function key that was operated and stores it in the buffer memory area 22n, and also displays the calculation (symbol) symbol in the status display area of the display unit 12 as the function symbol corresponding to the input calculation data (step A6).

CPU21は、計算登録モード中では、演算キー操作前の表示数値(バッファメモリエリア22nに記憶された数値データと演算データ)を、現在のステップ数と対応づけて計算データ記憶エリア22sに登録し、次の計算データを入力するためステップ数を1増やす(ステップA12)。CPU21は、入力された演算データと入力済みの数値データをもとに演算を実行し、演算途中の結果を表示部12に表示させる(ステップA13)。 In the calculation registration mode, the CPU 21 registers the displayed value (numeric data and calculation data stored in the buffer memory area 22n) before the calculation key operation in the calculation data storage area 22s in association with the current step number, and increments the step number by 1 to input the next calculation data (step A12). The CPU 21 executes a calculation based on the input calculation data and the inputted numeric data, and displays the results of the calculation in progress on the display unit 12 (step A13).

以下、同様にして、数値データと演算データの入力が繰り返されることにより、CPU21は、入力された数値データと演算データとを、ステップ数を更新しながら、計算データ記憶エリア22sに順次記録していく(ステップA1~A6、A12,A13)。 Then, by repeatedly inputting the numerical data and calculation data in the same manner, the CPU 21 sequentially records the input numerical data and calculation data in the calculation data storage area 22s while updating the number of steps (steps A1 to A6, A12, A13).

そして、ユーザ操作により[=]キー11h0が操作されると(ステップA7:Yes)、CPU21は、入力操作された演算機能キー(「=」キー11h0)に応じて、それまでに入力された数値データと演算データに応じた計算を実行し、計算結果を表示部12に表示させる(ステップA8)。また、CPU21は、バッファメモリエリア22nに記憶された、「=」キー11h0の操作前の表示数値(数値データと演算データ)を、現在のステップ数と対応づけて計算データ記憶エリア22sに登録し、次の計算データを入力するためステップ数12aを1増やす(ステップA9)。 When the user operates the [=] key 11h0 (step A7: Yes), the CPU 21 executes a calculation according to the numerical data and calculation data input up to that point in response to the calculation function key (the "=" key 11h0) that was input, and displays the calculation result on the display unit 12 (step A8). The CPU 21 also registers the displayed numerical value (numerical data and calculation data) stored in the buffer memory area 22n before the operation of the "=" key 11h0 in the calculation data storage area 22s in association with the current step number, and increments the step number 12a by 1 to input the next calculation data (step A9).

また、CPU21は、「=」キー11h0の操作後の、表示部12に表示中の表示数値を示す計算結果データを、計算データ記憶エリア22sの対象ステップに登録し、次の入力のためにステップ数を1増やす(ステップA15)。 The CPU 21 also registers the calculation result data indicating the displayed value on the display unit 12 after the operation of the "=" key 11h0 into the target step in the calculation data storage area 22s, and increments the number of steps by 1 for the next input (step A15).

次に、税計算をする場合について説明する。 Next, we will explain how to calculate tax.

CPU21は、[AC]キー11aが操作されると(ステップA1:Yes)、メモリ22の各メモリエリアをクリアする。従って、税計算に用いられるメモリ22の税率別税合計メモリエリア22b~22f、税合計メモリエリア22g、合計メモリエリア22h、バッファメモリエリア22n、表示メモリエリア22pが全てクリアされる。 When the [AC] key 11a is operated (Step A1: Yes), the CPU 21 clears each memory area of the memory 22. Therefore, 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 memory area 22p of the memory 22 used for tax calculation are all cleared.

税計算は、先に入力された数値に対して、それぞれに税率0~4が設定された税計算キー11b(税n計算キー11b0~11b4)の何れかが操作されることで、操作されたキーに応じて税率により税計算(税込み計算あるいは税抜き計算)を実行する。 Tax calculation is performed by operating one of the tax calculation keys 11b (tax n calculation keys 11b0-11b4), each of which has a tax rate set to 0-4 for the previously input numerical value, and the tax calculation (tax-inclusive or tax-exclusive) is performed at the tax rate according to the key operated.

税計算キー11b(税n計算キー11b0~11b4)は、税込み計算を実行するためのキーと税抜き計算を実行するためのキーを兼ねているため、操作された時の税計算モードに応じて、税込み計算あるいは税抜き計算を実行する。 The tax calculation key 11b (tax n calculation keys 11b0 to 11b4) serves as both a key for performing tax-inclusive calculations and a key for performing tax-exclusive calculations, and therefore performs either tax-inclusive or tax-exclusive calculations depending on the tax calculation mode at the time of operation.

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

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

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

次に、計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップA3:Yes)、CPU21は、入力操作された数値キーに応じた数値(数値コード)を入力して、バッファメモリエリア22nに記憶させる。また、CPU21は、ステップ数12aを更新(+1)して状態表示エリアのステップ数12aを変更すると共に、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12において表示させる(ステップA4)。 Next, when the user operates a numeric key to input a numerical value to be calculated (step A3: Yes), the CPU 21 inputs a numerical value (numeric code) corresponding to the numeric key operated and stores it in the buffer memory area 22n. The CPU 21 also updates (+1) the number of steps 12a to change the number of steps 12a in the status display area, stores the input numerical value in the display memory area 22p, and displays it on the display unit 12 (step A4).

表示部12に数値が表示された状態において、税計算キー11bの入力操作を検出した場合(ステップA110:Yes)、CPU21は、入力操作された税計算キー11bに応じた演算データ(キーのコード)を入力してバッファメモリエリア22nに記憶させる。 When a numeric value is displayed on the display unit 12 and an input operation of the tax calculation key 11b is detected (step A110: Yes), the CPU 21 inputs the calculation data (key code) corresponding to the input operation of the tax calculation key 11b and stores it in the buffer memory area 22n.

CPU21は、税計算キー11bが操作された場合に、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。ここで、現在の税計算モードが税込み計算モードである場合(ステップA111:税込み)、CPU21は、税込み計算処理を実行する(ステップA112)。 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-exclusive calculation mode. If the current tax calculation mode is the tax-inclusive calculation mode (step A111: tax included), the CPU 21 executes the tax-inclusive calculation process (step A112).

税込み計算処理では、CPU21は、表示部12に表示された数値(置数)、即ち、表示メモリエリア22pに記憶されている数値に対して、入力操作が行われた税n計算キー11b0~11b4の何れかに設定された税率を用いて税込み計算を実行する。 In the tax-inclusive calculation process, the CPU 21 performs tax-inclusive calculation on the numerical value (number entered) displayed on the display unit 12, i.e., the numerical value stored in the display memory area 22p, using the tax rate set for one of the tax n calculation keys 11b0 to 11b4 that was entered.

また、CPU21は、税込み計算の計算結果(ここでは税込み額)を表示部12に表示させると共に、表示部12の状態表示エリアにおいて、税計算キーシンボル12cとして、税n計算キー11b0~11b4に割り当てられた税込み計算の機能を実行したことを示すファンクションシンボル(税込み計算シンボル)を表示させる。ここで、税計算キーシンボル12cは、税込み計算のために操作された税n計算キー11b0~11b4の何れかに対応する、[GST+0]、[GST+1]、[GST+2]、[GST+3]、[GST+4]の何れかが表示される。なお、税込み計算処理の詳細については後述する(図5を参照)。 The CPU 21 also displays the result of the tax-inclusive calculation (here, the tax-inclusive amount) on the display unit 12, and displays a function symbol (tax-inclusive calculation symbol) as the tax calculation key symbol 12c in the status display area of the display unit 12, indicating that the tax-inclusive calculation function assigned to the tax n calculation keys 11b0 to 11b4 has been executed. Here, the tax calculation key symbol 12c displays one of [GST+0], [GST+1], [GST+2], [GST+3], or [GST+4], which corresponds to one of the tax n calculation keys 11b0 to 11b4 operated for the tax-inclusive calculation. Details of the tax-inclusive calculation process will be described later (see FIG. 5).

一方、現在の税計算モードが税抜き計算モードである場合(ステップA111:税抜き)、CPU21は、税抜き計算処理を実行する(ステップA113)。 On the other hand, if the current tax calculation mode is the tax-excluded calculation mode (step A111: tax-excluded), the CPU 21 executes the tax-excluded calculation process (step A113).

税抜き計算処理では、CPU21は、表示部12に表示された数値(置数)、即ち、表示メモリエリア22pに記憶されている数値に対して、入力操作が行われた税n計算キー11b0~11b4の何れかに設定された税率を用いて税抜き計算を実行する。 In the tax-excluded calculation process, the CPU 21 performs a tax-excluded calculation on the numerical value (number entered) displayed on the display unit 12, i.e., the numerical value stored in the display memory area 22p, using the tax rate set for one of the tax n calculation keys 11b0 to 11b4 that was entered.

また、CPU21は、税抜き計算の計算結果(ここでは税抜き額)を表示部12に表示させると共に、表示部12の状態表示エリアにおいて、税計算キーシンボル12cとして、税n計算キー11b0~11b4に割り当てられた税抜き計算の機能を実行したことを示すファンクションシンボル(税抜き計算シンボル)を表示させる。ここで、税計算キーシンボル12cは、税抜き計算のために操作された税n計算キー11b0~11b4の何れかに対応する、[TAX-0]、[TAX-1]、[TAX-2]、[TAX-3]、[TAX-4]の何れかが表示される。 The CPU 21 also displays the result of the tax-excluded calculation (here, the tax-excluded amount) on the display unit 12, and displays a function symbol (tax-excluded calculation symbol) as the tax calculation key symbol 12c in the status display area of the display unit 12, indicating that the tax-excluded calculation function assigned to the tax n calculation keys 11b0 to 11b4 has been executed. Here, the tax calculation key symbol 12c displayed is one of [TAX-0], [TAX-1], [TAX-2], [TAX-3], or [TAX-4], which corresponds to one of the tax n calculation keys 11b0 to 11b4 that was operated for the tax-excluded calculation.

次に、本実施形態における税込み計算処理について、図5に示すフローチャートを参照しながら説明する。ここでは、税込み計算をするために税1計算キー11b1が操作された場合に実行される税率1計算処理を例にして説明する。税0計算キー11b0、税2計算キー11b2、税3計算キー11b3、税4計算キー11b4の操作により税込み計算が指示された場合についても同様に、税率0計算処理、税率1計算処理、税率2計算処理、税率3計算処理、税率4計算処理がそれぞれ実行されるものとして詳細な説明を省略する。 Next, the tax-inclusive calculation process in this embodiment will be described with reference to the flowchart shown in FIG. 5. Here, the tax rate 1 calculation process executed when the tax 1 calculation key 11b1 is operated to perform a tax-inclusive calculation will be described as an example. Similarly, when a tax-inclusive calculation is instructed by operating the tax 0 calculation key 11b0, tax 2 calculation key 11b2, tax 3 calculation key 11b3, or tax 4 calculation key 11b4, the tax rate 0 calculation process, tax rate 1 calculation process, tax rate 2 calculation process, tax rate 3 calculation process, and tax rate 4 calculation process will be executed, respectively, and detailed explanations will be omitted.

CPU21は、税1計算キー11b1の入力操作に応じて税率1計算処理を開始すると、現在の税合計リコールモードがオフ状態にあるか、税合計リコールモードエリア22kを参照して判別する。税合計リコールモードは、税計算合計キー11cに対する操作によってオン状態に遷移する。 When the CPU 21 starts the tax rate 1 calculation process in response to an input operation of the tax 1 calculation key 11b1, it determines whether the current tax total recall mode is OFF by referring to the tax total recall mode area 22k. The tax total recall mode transitions to the ON state by operation of the tax calculation total key 11c.

ここで、税合計リコールモードがオフ状態である場合(ステップB21:Yes)、CPU21は、表示メモリエリア22pに記憶されている数値(置数)を読み出し、読み出した数値を税抜き額として、当該税抜き額と入力操作が行われた税計算キー11bに応じた税率である税率1(「5%」)とをもとに、税込み額及び税額を計算して、計算された税込み額及び税額と表示中の数値が示す税抜き額とを共に税率1合計メモリエリア22cに記憶させる(ステップB22)。また、CPU21は、表示メモリエリア22pに記憶されている税込み計算に用いた数値をバッファメモリエリア22nに記憶させるとともに、税率1をもとに計算した税込み額の数値を表示メモリエリア22pに記憶させる(ステップB23)。さらに、CPU21は、税率1をもとに計算した税込み額を表示部12に表示させる(ステップB24)。また、CPU21は、税計算キー11bの操作に応じて、検算用メモリ登録処理を実行する(ステップB50)。 Here, if the tax total recall mode is off (step B21: Yes), the CPU 21 reads out the numerical value (number of entries) stored in the display memory area 22p, calculates the tax-inclusive amount and tax amount based on the tax-inclusive amount and tax rate 1 ("5%), which is the tax rate according to the tax calculation key 11b that was input, and stores the calculated tax-inclusive amount and tax amount and the tax-inclusive amount indicated by the displayed numerical value in the tax rate 1 total memory area 22c (step B22). The CPU 21 also 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 tax rate 1 in the display memory area 22p (step B23). Furthermore, the CPU 21 displays the tax-inclusive amount calculated based on tax rate 1 on the display unit 12 (step B24). The CPU 21 also executes a verification memory registration process in response to the operation of the tax calculation key 11b (step B50).

図6には、本実施形態における検算用メモリ登録処理を示すフローチャートである。CPU21は、税計算キー11bの操作後の表示数値と、税計算キー11bが税込み計算(GST+n)と税抜き計算(TAX-n)の何れの機能を実行するために操作されたかを示すキー情報([GST+n]または[TAX-])を、計算データ記憶エリア22s(検算用メモリ)に現在のステップ数と対応づけて記憶させる(ステップD1)。ここでは、税計算モードエリア22mに税込み計算モードが設定されおり、税計算キー11bは、税込み計算を実行するために操作されている。従って、CPU21は、キー情報([GST+n])と表示数値が対応づけて登録される。CPU21は、次の計算データを入力するためステップ数を1増やす(ステップD2)。 Figure 6 is a flow chart showing the calculation verification memory registration process in this embodiment. The CPU 21 stores the displayed value after the tax calculation key 11b is operated and the key information ([GST+n] or [TAX-]) indicating whether the tax calculation key 11b is operated to execute the tax-inclusive calculation (GST+n) or tax-exclusive calculation (TAX-n) in the calculation data storage area 22s (calculation verification memory) in association with the current step number (step D1). Here, the tax-inclusive calculation mode is set in the tax calculation mode area 22m, and the tax calculation key 11b is operated to execute the tax-inclusive calculation. Therefore, the CPU 21 registers the key information ([GST+n]) in association with the displayed value. The CPU 21 increments the step number by one to input the next calculation data (step D2).

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

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

なお、税込み額が表示されている状態において、税計算を指示するために操作した税1計算キー11b1を続けて操作することで、税込み額、税抜き額、税額の各表示を切り替えることができる。例えば、税率1をもとに算出された税込み額が表示されている時(ステップB24)、税1計算キー11b1が操作された場合(ステップB25:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(置数)を読み出して、税抜き額として表示させる(ステップB26)。 When the tax-inclusive amount is displayed, the display can be switched between the tax-inclusive amount, the tax-exclusive amount, and the tax amount by subsequently operating the tax 1 calculation key 11b1 that was operated to instruct tax calculation. For example, when the tax-inclusive amount calculated based on tax rate 1 is displayed (step B24), if the tax 1 calculation key 11b1 is operated (step B25: Yes), the CPU 21 reads out the numerical value (number entered) stored in the buffer memory area 22n and displays it as the tax-exclusive amount (step B26).

前述の通り、このとき、即ち、税込み計算直後(ステップB22、B23を実行直後)は、税込み計算に用いられた税抜き額の数値が、バッファメモリエリア22nに記憶されている。 As mentioned above, at this time, that is, immediately after the tax-inclusive calculation (immediately after steps B22 and B23 are executed), the tax-exclusive amount used in the tax-inclusive calculation is stored in buffer memory area 22n.

CPU21は、税1計算キー11b1の操作に応じて、前述と同様にして、図6に示す検算用メモリ登録処理を実行し、現在の表示数値とキー情報([GST+n]を対応づけて計算データ記憶エリア22sに登録し、ステップ数を1増やす(ステップB51)。 In response to the operation of the Tax 1 calculation key 11b1, the CPU 21 executes the verification memory registration process shown in FIG. 6 in the same manner as described above, associates the currently displayed value with the key information ([GST+n], registers it in the calculation data storage area 22s, and increments the number of steps by 1 (step B51).

また、税抜き額が表示されている時(ステップB26)、税1計算キー11b1が操作された場合(ステップB27:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値及び税率1をもとに税額を改めて算出し、その数値を表示部12に表示させる(ステップB28)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップB52)。 When the tax-excluded amount is displayed (step B26), if the tax 1 calculation key 11b1 is operated (step B27: Yes), the CPU 21 reads out the numerical value (tax-excluded amount) stored in the buffer memory area 22n, recalculates the tax amount based on the read numerical value and tax rate 1, and displays the numerical value on the display unit 12 (step B28). In the same manner, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed explanation omitted) (step B52).

さらに、続けて税1計算キー11b1が操作された場合(ステップB29:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値及び税率1をもとに税込み額を改めて算出し、その数値を表示部12表示させる(ステップB24)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップB50)。 If the tax 1 calculation key 11b1 is operated (step B29: Yes), the CPU 21 reads the value (tax-excluded amount) stored in the buffer memory area 22n, recalculates the tax-inclusive amount based on the read value and tax rate 1, and displays the value on the display unit 12 (step B24). In the same manner, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed description omitted) (step B50).

このようにして、電卓10は、税1計算キー11b1の操作に応じて税込み額を算出した後、税1計算キー11b1に対する操作毎に、税込み額、税抜き額、税額の各表示を、順次、切り替えて表示させることができる。よって、税込み額と税抜き額と税額とを容易に確認することができる。 In this way, the calculator 10 can calculate the tax-inclusive amount in response to the operation of the tax 1 calculation key 11b1, and then switch between displaying the tax-inclusive amount, tax-exclusive amount, and tax amount in sequence with each operation of the tax 1 calculation key 11b1. This allows the user to easily check the tax-inclusive amount, tax-exclusive amount, and tax amount.

また、税込み計算の内容を示す計算データだけでなく、税1計算キー11b1によって税込額、税抜額、税額の表示を切り替える操作をした場合にも、税1計算キー11b1の操作に応じて、操作内容を示す表示数値と、税計算モードに対応する税1計算キー11b1の機能を示すキー情報([GST+n])を計算データ記憶エリア22sに登録することができる。 In addition to the calculation data indicating the contents of the tax-inclusive calculation, when the tax 1 calculation key 11b1 is used to switch between the display of the tax-inclusive amount, tax-exclusive amount, and tax amount, the display value indicating the operation contents and key information ([GST+n]) indicating the function of the tax 1 calculation key 11b1 corresponding to the tax calculation mode can be registered in the calculation data storage area 22s in accordance with the operation of the tax 1 calculation key 11b1.

一方、税合計リコールモードがオン状態である場合(ステップB21:No)、CPU21は、少なくとも1つの数値に対して税率1により計算した税込み額の合計を示す第1税込合計額を税率1合計メモリエリア22cから読み出して表示部12に表示させる(ステップB30)。 On the other hand, if the tax total recall mode is on (step B21: No), the CPU 21 reads out the first tax-inclusive total amount, which indicates the total tax-inclusive amount calculated using tax rate 1 for at least one numerical value, from the tax rate 1 total memory area 22c and displays it on the display unit 12 (step B30).

また、税合計リコールモードがオン状態である場合、CPU21は、前述した税計算結果を表示する場合と同様にして、税1計算キー11b1の操作に応じて、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップB53)。 When the tax total recall mode is on, the CPU 21 executes the verification memory registration process shown in FIG. 6 in response to the operation of the tax 1 calculation key 11b1, in the same manner as when displaying the tax calculation result described above (detailed explanation omitted) (step B53).

さらに、第1税込合計額が表示されている状態において、税1計算キー11b1が操作された場合(ステップB31,Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額に対応する第1税抜合計額(税抜き額の合計)を読み出して表示させる(ステップB32)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップB54)。 Furthermore, when the tax 1 calculation key 11b1 is operated while the first tax-inclusive total is being displayed (step B31, Yes), the CPU 21 reads out the first tax-excluded total (total of amounts excluding tax) corresponding to the first tax-inclusive total from the tax rate 1 total memory area 22c and displays it (step B32). In the same manner, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed description omitted) (step B54).

さらに、第1税抜き額が表示された状態において、税1計算キー11b1が操作された場合(ステップB33:Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額に対応する第1税合計額(税額の合計)を読み出して表示させる(ステップB34)。さらに、第1税合計額が表示された状態において、税1計算キー11b1が操作された場合(ステップB35:Yes)、CPU21は、税率1合計メモリエリア22cから第1税込合計額を読み出して表示させる(ステップB30)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップB55)。 Furthermore, when the tax 1 calculation key 11b1 is operated while the first tax-excluded amount is displayed (step B33: Yes), the CPU 21 reads out the first tax total (total tax amount) corresponding to the first tax-inclusive total from the tax rate 1 total memory area 22c and displays it (step B34). Furthermore, when the tax 1 calculation key 11b1 is operated while the first tax total is displayed (step B35: Yes), the CPU 21 reads out the first tax-inclusive total from the tax rate 1 total memory area 22c and displays it (step B30). Similarly, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed description omitted) (step B55).

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

また、税合計リコールモードがオン状態では、税1計算キー11b1によって第1税込合計額、第1税抜合計額、第1税合計額の表示を切り替える操作をした場合にも、税1計算キー11b1の操作に応じて、操作内容を示す表示数値と、税計算モードに対応する税1計算キー11b1の機能を示すキー情報([GST+n]または[TAX-])を計算データ記憶エリア22sに登録することができる。 In addition, when the tax total recall mode is on, even if the tax 1 calculation key 11b1 is used to switch between the display of the first tax-inclusive total, the first tax-exclusive total, and the first tax total, a display value indicating the operation content and key information ([GST+n] or [TAX-]) indicating the function of the tax 1 calculation key 11b1 corresponding to the tax calculation mode can be registered in the calculation data memory area 22s in accordance with the operation of the tax 1 calculation key 11b1.

なお、税合計リコールモードがオン状態である場合(ステップ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), if the CPU 21 detects that one of the multiple tax calculation keys 11b (11b0 to 11b4) has been operated (step B31: No, step B33: No, step B35: No), it moves to the calculation process corresponding to the operated tax calculation key 11b (steps B36 to B39) and executes the same process as steps B21 to B35 described above.

例えば、第1税込合計額、第1税抜合計額、第1税合計額の何れかが表示された状態において、税0計算キー11b0が操作されたことを検出した場合(ステップB31:No、ステップB33:No、ステップB35:No→ステップB36:Yes)、CPU21は、税率0計算処理に移行する。この場合、税合計リコールモードがオン状態であるので、前述のステップ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 the CPU 21 detects that the tax 0 calculation key 11b0 is operated while the first tax-inclusive total, the first tax-exclusive total, or the first tax-exclusive total is displayed (step B31: No, step B33: No, step B35: No → step B36: Yes), the CPU 21 proceeds to the tax rate 0 calculation process. In this case, since the tax total recall mode is on, the CPU 21 reads out the 0th tax-inclusive total (total of tax-inclusive amounts with tax rate 0) from the tax rate 0 total memory area 22b and displays it, as in the above-mentioned step B30. Also, when the tax 0 calculation key 11b1 is operated while the 0th tax-inclusive total is displayed, the CPU 21 reads out the 0th tax-exclusive total (total of tax-exclusive amounts with tax rate 0) from the tax rate 1 total memory area 22c and displays it, as in the above-mentioned step B32. Furthermore, when the 0th tax-excluded total amount is displayed and the 0th tax calculation key 11b0 is operated, the CPU 21 reads out the 0th tax total amount (the sum of the taxes with a tax rate of 0) from the 0th tax rate total memory area 22b and displays it, just as in step B34 described above.

同様にして、税2計算キー11b2が操作されたことを検出した場合(ステップB37:Yes)、CPU21は、税率2計算処理に移行して、前述と同様の処理を実行する。また、CPU21は、税3計算キー11b3が操作されたことを検出した場合には(ステップB38:Yes)、税率3計算処理に移行し、税4計算キー11b4が操作されたことを検出した場合には(ステップB27:Yes)、税率4計算処理に移行し、それぞれ前述と同様の処理を実行する。なお、税計算合計キー11cが操作されたことを検出した場合(ステップB40:Yes)、CPU21は、各税率で計算した税込合計額、税抜合計額、税合計額の合計額を表示する処理に移行する(後述するステップA29~A214の処理)。また、税計算合計キー11cが操作されたことを検出しなかった場合(ステップB40:No)、CPU21は、入力操作の待機状態へ戻る。 Similarly, when the CPU 21 detects that the tax 2 calculation key 11b2 has been operated (step B37: Yes), the CPU 21 proceeds to the tax rate 2 calculation process 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 proceeds to the tax rate 3 calculation process, and when the CPU 21 detects that the tax 4 calculation key 11b4 has been operated (step B27: Yes), the CPU 21 proceeds to the tax rate 4 calculation process and executes the same process as described above. When the CPU 21 detects that the tax calculation total key 11c has been operated (step B40: Yes), the CPU 21 proceeds to the process of displaying the total amount including tax, the total amount excluding tax, and the total amount of tax calculated at each tax rate (the process of steps A29 to A214 described later). When the CPU 21 does not detect that the tax calculation total key 11c has been operated (step B40: No), the CPU 21 returns to the standby state for input operation.

なお、税率0計算処理、税率2計算処理、税率3計算処理、税率4計算処理において、税合計リコールモードがオン状態にあるときに、税1計算キー11b1が操作された場合には、前述と同様にして、税率1計算処理に移行される。 In addition, if the tax 1 calculation key 11b1 is operated during the tax rate 0 calculation process, tax rate 2 calculation process, tax rate 3 calculation process, or tax rate 4 calculation process while the tax total recall mode is on, the process will transition to the tax rate 1 calculation process in the same manner as described above.

税率0~税率4の各計算処理では、税合計リコールモードがオン状態である間、それぞれ他の税率に対応する税計算キー11bが操作されることで、操作された税計算キー11bに対応する他の計算処理に移行して、他の計算処理に対応する税率をもとに計算された税込合計額、税抜合計額、税合計額を表示させることができる。 In each calculation process for tax rates 0 to 4, while the tax total recall mode is on, the tax calculation key 11b corresponding to each of the other tax rates can be operated to switch to the other calculation process corresponding to the operated tax calculation key 11b, and the total amount including tax, the total amount excluding tax, 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 on, by selecting one of the multiple tax calculation keys 11b (11b0 to 11b4), the total amount including tax, the total amount excluding tax, and the total tax amount calculated using the tax rate corresponding to the operated tax calculation key 11b can be easily confirmed.

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

CPU21は、税1計算キー11b1が操作されたことを検出した場合、CPU21は、表示メモリエリア22pに記憶されている数値(置数)を読み出し、読み出した数値を税込み額として、当該税込み額と入力操作が行われた税計算キー11bに応じた税率である税率1(「5%」)とをもとに、税抜き額を計算する(ステップC1)。また、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 out the numerical value (number entered) stored in the display memory area 22p, and calculates the tax-excluded amount based on the tax-excluded amount and tax rate 1 ("5%), which is the tax rate corresponding to the tax calculation key 11b that was operated (step C1). The CPU 21 also stores the numerical value used for the tax-excluded calculation stored in the display memory area 22p in the buffer memory area 22n, and stores the tax-excluded amount calculated based on tax rate 1 in the display memory area 22p (step C2). The CPU 21 also displays the tax-excluded amount calculated based on tax rate 1 on the display unit 12 (step C3).

また、CPU21は、前述した税込み計算の場合と同様にして、税計算キー11bの操作に応じて、図6に示す検算用メモリ登録処理を実行する(ステップC10)。ここでは、税計算モードエリア22mに税抜き計算モードが設定されおり、税計算キー11bは、税抜き計算を実行するために操作されている。従って、CPU21は、検算用メモリ登録処理により、キー情報([TAX-])と表示数値が対応づけて登録する。CPU21は、次の計算データを入力するためステップ数を1増やす。 The CPU 21 also executes the calculation verification memory registration process shown in FIG. 6 in response to the operation of the tax calculation key 11b, in the same manner as in the case of the tax-inclusive calculation described above (step C10). Here, the tax-exclusive calculation mode is set in the tax calculation mode area 22m, and the tax calculation key 11b is operated to execute a tax-exclusive calculation. Therefore, the CPU 21 registers the key information ([TAX-]) in association with the displayed numerical value through the calculation verification memory registration process. The CPU 21 increments the number of steps by 1 to input the next calculation data.

なお、税抜き額が表示されている状態において、税計算を指示するために操作した税1計算キー11b1を続けて操作することで、税抜き額、税額の各表示を切り替えることができる。例えば、税率1をもとに算出された税抜き額が表示されている時(ステップC3)、税1計算キー11b1が操作された場合(ステップC4:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税込み額)を読み出して、読み出した数値及び税率1をもとに税額を改めて算出し、その数値を表示部12に表示させる(ステップC5)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップC11)。 When the tax-excluded amount is displayed, the display of the tax-excluded amount and the tax amount can be switched by subsequently operating the tax 1 calculation key 11b1 that was operated to instruct tax calculation. For example, when the tax-excluded amount calculated based on tax rate 1 is displayed (step C3), if the tax 1 calculation key 11b1 is operated (step C4: Yes), the CPU 21 reads out the numerical value (tax-inclusive amount) stored in the buffer memory area 22n, recalculates the tax amount based on the read numerical value and tax rate 1, and displays the numerical value on the display unit 12 (step C5). In the same manner, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed description omitted) (step C11).

さらに、続けて税1計算キー11b1が操作された場合(ステップC6:Yes)、CPU21は、バッファメモリエリア22nに記憶されている数値(税抜き額)を読み出して、読み出した数値を表示部12表示させる(ステップC3)。同様にして、CPU21は、図6に示す検算用メモリ登録処理を実行する(詳細な説明を省略する)(ステップC10)。 If the tax 1 calculation key 11b1 is operated (step C6: Yes), the CPU 21 reads out the numerical value (amount excluding tax) stored in the buffer memory area 22n and displays the read numerical value on the display unit 12 (step C3). In the same manner, the CPU 21 executes the verification memory registration process shown in FIG. 6 (detailed description omitted) (step C10).

このようにして、電卓10は、税1計算キー11b1の操作に応じて税抜き額を算出した後、税1計算キー11b1に対する操作毎に、税抜き額、税額の各表示を交互に切り替えて表示させることができる。よって、税抜き額と税額とを容易に確認することができる。 In this way, the calculator 10 can calculate the tax-excluded amount in response to the operation of the tax 1 calculation key 11b1, and then alternate between displaying the tax-excluded amount and the tax amount with each operation of the tax 1 calculation key 11b1. This allows the tax-excluded amount and the tax amount to be easily confirmed.

また、税抜き計算の内容を示す計算データだけでなく、税1計算キー11b1によって税抜額、税額の表示を切り替える操作をした場合にも、税1計算キー11b1の操作に応じて、操作内容を示す表示数値と、税計算モードに対応する税1計算キー11b1の機能を示すキー情報([TAX―])を計算データ記憶エリア22sに登録することができる。
なお、税抜き計算処理においては、税1計算キー11b1に対する操作を行っても、税込み額は表示されない。また、税込み計算処理では、税計算キー11bに対する操作に応じて計算した計算結果を税率1合計メモリエリア22cに反映(加算)させるが、税抜き計算処理では、計算結果を税率1合計メモリエリア22cに反映させない。
In addition to calculation data indicating the contents of the tax-exclusive calculation, when the tax 1 calculation key 11b1 is used to switch between the display of the tax-exclusive amount and the tax amount, a display number indicating the operation content and key information ([TAX-]) indicating the function of the tax 1 calculation key 11b1 corresponding to the tax calculation mode can be registered in the calculation data memory area 22s in accordance with the operation of the tax 1 calculation key 11b1.
In the tax-excluded calculation process, the tax-inclusive amount is not displayed even if the tax 1 calculation key 11b1 is operated. In the tax-inclusive calculation process, the calculation result calculated in response to the operation of the tax calculation key 11b is reflected (added) to the tax rate 1 total memory area 22c, but in the tax-excluded calculation process, the calculation result is not reflected to the tax rate 1 total memory area 22c.

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

CPU21は、税計算合計キー11cが押下された直前の操作が税計算であるかを判別する。すなわち、CPU21は、税計算キー11bの操作に応じて税計算した直後に税計算合計キー11cが操作されたか、言い換えると、税計算キー11bの操作に続けて税計算合計キー11cが操作されたかを判別する。 The CPU 21 determines whether the operation immediately before pressing the tax calculation total key 11c was a tax calculation. That is, the CPU 21 determines whether the tax calculation total key 11c was operated immediately after the tax was calculated in response to the operation of the tax calculation key 11b, in other words, whether the tax calculation total key 11c was operated following the operation of the tax calculation key 11b.

ここで、税計算直後に税計算合計キー11cが操作されたと判別された場合(ステップA26:Yes)、CPU21は、税合計リコールモードエリア22kに記憶された税合計リコールモードをオンする(ステップA28)。すなわち、税計算直後に操作される税計算合計キー11cは、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)として使用される。 If 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). In other words, 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 the grand total of the tax calculation results.

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

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

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

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

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

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

こうして、本実施形態における電卓10では、限られた面積の筐体正面において1つの税計算合計キー11cを設け、グランドトータルキー([GT]キー)と、GSTグランドトータルキー([GST GT]キー)として兼用する。税計算合計キー11cは、直前の状態(税計算直後、通常計算直後)に応じて機能が切り替えられるため、税計算の総合計(税込総合計額、税抜総合計額、税合計額)と通常計算の総合計とを容易に表示させることができる。 Thus, in this embodiment of the calculator 10, one tax calculation total key 11c is provided on the front of the case, which has a limited area, and serves as both 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 depending on the previous state (immediately after tax calculation, immediately after normal calculation), so that the tax calculation total (total amount including tax, total amount excluding tax, total amount of tax) and the normal calculation total can be easily displayed.

次に、本実施形態における電卓10の確認(レビュー)モードにおける処理について、図9を用いて説明する。
CPU21は、[AC]キー11aの操作に応じて計算モードを計算登録モードに設定した後(ステップA2:Yes)、確認キー([CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11f)が操作されると(図5、ステップA30:Yes)、計算モードを確認モードに設定する。確認モードは、先に実行された計算内容を検算するためのものであり、計算データ記憶エリア22s(検算用メモリ)に登録済みの計算データが示す計算内容を、ステップ単位で確認しながら修正可能にするモードである。
Next, the process in the review mode of the calculator 10 in this embodiment will be described with reference to FIG.
After setting the calculation mode to the calculation registration mode in response to the operation of the [AC] key 11a (step A2: Yes), when a confirmation key (the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f) is operated (FIG. 5, step A30: Yes), the CPU 21 sets the calculation mode to the confirmation mode. The confirmation mode is for checking the contents of a previously executed calculation, and allows the calculation contents indicated by the calculation data already registered in the calculation data storage area 22s (calculation checking memory) to be checked and corrected step by step.

CPU21は、計算モードを確認モードに設定すると、確認モード状態にあることを示す確認モードシンボル12g(「REV)シンボル」を表示部12の状態表示エリアに表示させる。CPU21は、確認対象とする数値データと演算データが記憶された指定行を示すステップ数を初期値[001]に設定する(ステップA31)。 When the CPU 21 sets the calculation mode to the confirmation mode, it displays the confirmation mode symbol 12g ("REV" symbol) in the status display area of the display unit 12, indicating that the calculation mode is in the confirmation mode. The CPU 21 sets the step number indicating the designated row in which the numerical data and calculation data to be confirmed are stored to the initial value [001] (step A31).

CPU21は、計算データ記憶エリア22sの指定行のステップに記録された数値データと演算データ(ファンクション)を読み出す(ステップA32)。まず、通常計算によって登録された計算データを対象とする場合について説明する。 The CPU 21 reads out the numerical data and calculation data (function) recorded in the step of the specified row in the calculation data storage area 22s (step A32). First, we will explain the case where calculation data registered by normal calculation is the target.

CPU21は、計算データ記憶エリア22sから読み出した演算データが税計算キー11bを示すコードでない場合、すなわち1つのキーに複数の機能が割り当てられたキーを示すコードでない場合には(ステップA33:No)、数値データが示す数値と、演算データが示す演算シンボルを表示部12に表示させる(ステップA37)。 If the calculation data read from the calculation data memory area 22s is not a code indicating the tax calculation key 11b, i.e., if it is not a code indicating a key to which multiple functions are assigned (step A33: No), the CPU 21 causes the display unit 12 to display the numerical value indicated by the numerical data and the calculation symbol indicated by the calculation data (step A37).

ここで、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fが操作されると(ステップA40:No、ステップA41:Yes)、CPU21は、指定のステップ数を更新して(ステップA42)、更新後のステップ数の数値データと演算データを読み出して、数値と演算シンボルを表示部12に表示させる(ステップA32,A37)。すなわち、CPU21は、[CHECK BACK]キー11eが操作された場合には、現在表示中の数値の直前に入力された数値データと演算シンボルを表示させ、[CHECK FOWARD]キー11fが操作された場合には、現在表示中の数値の直後に入力された数値と演算シンボルを表示させる。 When the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f is operated (step A40: No, step A41: Yes), the CPU 21 updates the specified number of steps (step A42), reads out the numerical data and calculation data for the updated number of steps, and displays the numerical values and calculation symbols on the display unit 12 (steps A32, A37). That is, when the [CHECK BACK] key 11e is operated, the CPU 21 displays the numerical data and calculation symbols input immediately before the currently displayed numerical value, and when the [CHECK FORWARD] key 11f is operated, the CPU 21 displays the numerical value and calculation symbol input immediately after the currently displayed numerical value.

こうして、 ユーザは、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fの操作により、通常計算の際に登録済みの計算データに含まれる数値データと演算データの組を順次読み出し、計算過程の内容を表示部12に表示させて確認することができる(ステップA32、A37、A41、A42)。 In this way, by operating the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f, the user can sequentially read out pairs of numerical data and operation data contained in the calculation data registered during normal calculation, and display the contents of the calculation process on the display unit 12 for confirmation (steps A32, A37, A41, A42).

次に、税計算によって登録された計算データを対象とする場合について説明する。CPU21は、計算データ記憶エリア22sから読み出した演算データが税計算キー11bを示すコードである場合には(ステップA33:Yes)、数値データと演算データとの組に付加されたキー情報(拡張情報)を参照し、税計算キー11bの操作により税込み計算と税抜き計算の何れが実行されたかを判別する。 Next, we will explain the case where calculation data registered by tax calculation is the target. If the calculation data read from the calculation data storage area 22s is a code indicating the tax calculation key 11b (step A33: Yes), the CPU 21 refers to the key information (extension information) added to the pair of numerical data and calculation data, and determines whether a tax-inclusive calculation or a tax-exclusive calculation was performed by operating the tax calculation key 11b.

キー情報が税込み計算([GST+])を示す場合(ステップA34:税込み)、CPU21は、数値データが示す数値と、キー情報に応じた税込み計算を示す税計算キーシンボル12cを表示部12に表示させる(ステップA35)。ここで表示されるファンクションシンボルは、例えば、税込み計算モードを示すシンボルと同じ[GST+]が用いられる。同様にして、キー情報が税抜き計算([TAX-])を示す場合(ステップA34:税抜き)、CPU21は、数値データが示す数値と、キー情報に応じた税抜き計算を示すファンクションシンボルを表示部12に表示させる(ステップA36)。ここで表示されるファンクションシンボルは、例えば、税計算モードシンボル12bの税抜き計算モードを示すシンボルと同じ[TAX-]が用いられる。 If the key information indicates tax-inclusive calculation ([GST+]) (step A34: tax included), the CPU 21 causes the display unit 12 to display the value indicated by the numerical data and the tax calculation key symbol 12c indicating tax-inclusive calculation according to the key information (step A35). The function symbol displayed here is, for example, [GST+], the same as the symbol indicating tax-inclusive calculation mode. Similarly, if the key information indicates tax-exclusive calculation ([TAX-]) (step A34: tax excluded), the CPU 21 causes the display unit 12 to display the value indicated by the numerical data and the function symbol indicating tax-exclusive calculation according to the key information (step A36). The function symbol displayed here is, for example, [TAX-], the same as the symbol indicating tax-exclusive calculation mode of the tax calculation mode symbol 12b.

すなわち、CPU21は、計算データの演算データとして、税計算キー11bのコードが登録されている場合には、税計算のために操作された税計算キー11b(税n計算キー11b0~11b4)に対応するシンボルではなく、税計算キー11bの操作によって実行された税込み計算機能あるいは税抜き計算機能を表すファンクションシンボルを表示させる。これにより、ユーザは、税計算キー11bに対して割り当てられた、税込み計算と税抜き計算の2つの機能の何れが実行されたかを容易に確認することができる。 In other words, when the code of the tax calculation key 11b is registered as the operation data of the calculation data, the CPU 21 displays a function symbol representing the tax-inclusive calculation function or tax-exclusive calculation function executed by operating the tax calculation key 11b, rather than a symbol corresponding to the tax calculation key 11b (tax n calculation keys 11b0 to 11b4) operated for tax calculation. This allows the user to easily confirm which of the two functions, tax-inclusive calculation or tax-exclusive calculation, assigned to the tax calculation key 11b has been executed.

ここで、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fが操作されると(ステップA40:No、ステップA41:Yes)、CPU21は、指定のステップ数を更新して(ステップA42)、前述と同様にして、更新後のステップ数の数値データと演算データ、さらにはキー情報を読み出して、数値とともに税込み計算機能あるいは税抜き計算機能を表すファンクションシンボルを表示部12に表示させる(ステップA32,A37)。すなわち、CPU21は、[CHECK BACK]キー11eが操作された場合には、現在表示中の数値の直前に入力された数値データと、税込み計算あるいは税抜き計算を示すファンクションシンボルを表示させ、[CHECK FOWARD]キー11fが操作された場合には、現在表示中の数値の直後に入力された数値と、税込み計算あるいは税抜き計算を示すファンクションシンボルを表示させる。 When the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f is operated (step A40: No, step A41: Yes), the CPU 21 updates the specified number of steps (step A42), and in the same manner as described above, reads out the numerical data and calculation data for the updated number of steps, as well as the key information, and displays the numerical value and the function symbol representing the tax-inclusive or tax-exclusive calculation function on the display unit 12 (steps A32, A37). That is, when the [CHECK BACK] key 11e is operated, the CPU 21 displays the numerical data input immediately before the currently displayed numerical value and the function symbol indicating the tax-inclusive or tax-exclusive calculation, and when the [CHECK FORWARD] key 11f is operated, the CPU 21 displays the numerical value input immediately after the currently displayed numerical value and the function symbol indicating the tax-inclusive or tax-exclusive calculation.

こうして、 ユーザは、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fの操作により、税計算の際に登録済みの計算データに含まれる数値データと演算データの組、さらに数値データと演算データの組に付加されたキー情報を順次読み出し、計算過程の内容を表示部12に表示させて確認することができる(ステップA32、A37、A41、A42)。 In this way, by operating the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f, the user can sequentially read out the pairs of numerical data and calculation data contained in the calculation data registered when calculating the tax, and further the key information added to the pairs of numerical data and calculation data, and display the contents of the calculation process on the display unit 12 for confirmation (steps A32, A37, A41, A42).

次に、確認モードにより表示された計算内容を修正する場合について説明する。 Next, we will explain how to modify the calculation contents displayed in confirmation mode.

前述したように、[CHECK BACK]キー11eあるいは[CHECK FOWARD]キー11fの操作により修正対象とする数値が表示された状態において、修正キー11kが操作された場合(ステップA40:Yes)、CPU21は、修正モードに設定すると共に、表示部12の状態表示エリアに修正モード中を表す修正シンボル(図示せず)を表示させる。 As described above, when the numeric value to be corrected is displayed by operating the [CHECK BACK] key 11e or the [CHECK FORWARD] key 11f and the correction key 11k is operated (step A40: Yes), the CPU 21 sets the correction mode and displays a correction symbol (not shown) in the status display area of the display unit 12, indicating that the correction mode is active.

ここで、数値キーが操作された場合(ステップA43:Yes)、CPU21は、入力操作された数値キーに応じた数値データを入力し、入力された数値データを示す数値を表示部12において表示させる(ステップA44)。続いて、演算キーが操作された場合(ステップA45:Yes)、CPU21は、入力操作された演算キーに応じた演算データを入力して、入力された演算データの演算シンボルを表示部12の状態表示エリアにおいて表示させる。 If a numeric key is operated (step A43: Yes), the CPU 21 inputs numeric data corresponding to the operated numeric key and displays a number indicating the input numeric data on the display unit 12 (step A44). If an arithmetic key is subsequently operated (step A45: Yes), the CPU 21 inputs arithmetic data corresponding to the operated arithmetic key and displays the arithmetic symbol of the input arithmetic data in the status display area of the display unit 12.

さらに、修正キー11kが操作された場合(ステップA59:Yes)、CPU21は、ユーザにより、修正のためのデータの入力完了が指示されものと判別する。CPU21は、計算モードエリア22nに記憶された表示中のデータ(直前に入力された数値及び演算子)を、修正後の正しいデータとして入力し、計算データ記憶エリア22sの登録済み計算データの対象ステップのデータとして修正する(ステップA47)。CPU21は、修正された数値データ及び演算データを含む計算データの計算結果を表示部12に表示させる。 Furthermore, if the correction key 11k is operated (step A59: Yes), the CPU 21 determines that the user has instructed to complete input of data for correction. The CPU 21 inputs the displayed data (the numerical value and operator entered immediately before) stored in the calculation mode area 22n as correct data after correction, and corrects it as data for the target step of the registered calculation data in the calculation data storage area 22s (step A47). The CPU 21 causes the display unit 12 to display the calculation result of the calculation data including the corrected numerical data and operation data.

一方、数値データの入力に続いて(ステップA43:Yes、A44)、税計算キー11bが操作された場合(ステップA50:Yes)、CPU21は、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。現在の税計算モードが税込み計算モードである場合(ステップA51;税込み)、CPU21は、操作された税計算キー11bに対応する総合計表示シンボル12e(税込み計算シンボル)を表示させる(ステップA52)。 On the other hand, if the tax calculation key 11b is operated (step A50: Yes) following the input of numerical data (steps A43: Yes, A44), 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-exclusive calculation mode. If the current tax calculation mode is the tax-inclusive calculation mode (step A51; tax included), the CPU 21 displays the grand total display symbol 12e (tax-inclusive calculation symbol) corresponding to the operated tax calculation key 11b (step A52).

さらに、修正キー11kが操作された場合(ステップA53:Yes)、CPU21は、修正のためのデータの入力完了が指示されものと判別する。CPU21は、計算モードエリア22nに記憶された表示中のデータ(直前に入力された数値及び税計算キーシンボル12c)を、計算モードエリア22nから修正後の正しいデータとして入力し、登録済み計算データの対象ステップのデータとして修正する(ステップA47)。ここでは、修正された数値データと税計算キー11bを示す演算データ(ファンクション)の組に対して、税込み計算を示すキー情報を付加する。CPU21は、修正された数値データ及び演算データを含む計算データの計算結果を表示部12に表示させる。 Furthermore, if the correction key 11k is operated (step A53: Yes), the CPU 21 determines that completion of input of data for correction has been instructed. The CPU 21 inputs the displayed data stored in the calculation mode area 22n (the numerical value and tax calculation key symbol 12c input immediately before) from the calculation mode area 22n as corrected corrected data, and corrects it as data for the target step of the registered calculation data (step A47). Here, key information indicating a tax-inclusive calculation is added to the set of the corrected numerical data and the calculation data (function) indicating the tax calculation key 11b. The CPU 21 causes the display unit 12 to display the calculation result of the calculation data including the corrected numerical data and the calculation data.

同様にして、現在の税計算モードが税抜き計算モードである場合(ステップA51;税抜き)、CPU21は、操作された税計算キー11bに対応する税抜き計算シンボルを表示させる(ステップA54)。 Similarly, if the current tax calculation mode is the tax-excluded calculation mode (step A51; tax-excluded), the CPU 21 displays the tax-excluded calculation symbol corresponding to the operated tax calculation key 11b (step A54).

さらに、修正キー11kが操作された場合(ステップA55:Yes)、CPU21は、修正のためのデータの入力完了が指示されものと判別する。CPU21は、表示データ(直前に入力された数値及び税計算キーシンボル12c)を、計算モードエリア22nから修正後の正しいデータとして入力し、登録済み計算データの対象ステップのデータとして修正する(ステップA47)。ここでは、修正された数値データと演算データ(ファンクション)の組に対して、税抜き計算を示すキー情報を付加する。CPU21は、修正された数値データ及び演算データを含む計算データの計算結果を表示部12に表示させる。 Furthermore, if the correction key 11k is operated (step A55: Yes), the CPU 21 determines that completion of input of data for correction has been instructed. The CPU 21 inputs the displayed data (the numerical value input immediately before and the tax calculation key symbol 12c) from the calculation mode area 22n as corrected corrected data, and corrects it as data for the target step of the registered calculation data (step A47). Here, key information indicating a tax-excluded calculation is added to the pair of corrected numerical data and calculation data (function). The CPU 21 causes the display unit 12 to display the calculation result of the calculation data including the corrected numerical data and calculation data.

こうして、確認(レビュー)機能では、登録済みの計算データから任意の数値を読み出して修正することができる。ユーザは、計算データの内容を確認しながら、必要に応じて修正することができる。特に、税計算の計算内容を確認している場合には、税込み計算と税抜き計算の何れの機能が実行されているかを容易に確認できるので、税込み計算と税抜き計算の修正についても容易に実施することができる。 In this way, the review function makes it possible to read out and modify any numerical value from the registered calculation data. The user can modify the calculation data as necessary while checking the contents of the calculation data. In particular, when checking the contents of a tax calculation, it is easy to see which function is being executed, the tax-inclusive calculation or the tax-exclusive calculation, so that modification of the tax-inclusive calculation and the tax-exclusive calculation can also be easily performed.

次に、本実施形態における具体的な税計算と確認モードにおける計算内容の表示例について説明する。ここでは、本実施形態の電卓10による税計算キー11bを用いた税計算時にキー情報(拡張情報)を計算データに登録する方法を理解し易くするため、キー情報を計算データに登録しない場合と比較して説明する。 Next, we will explain a specific tax calculation in this embodiment and an example of how the calculation contents are displayed in confirmation mode. Here, to make it easier to understand how to register key information (extended information) to calculation data when calculating tax using the tax calculation key 11b on the calculator 10 of this embodiment, we will explain it in comparison with a case where key information is not registered to calculation data.

まず、計算データにキー情報(拡張情報)を登録しない場合について説明する。 First, we will explain the case where key information (extension information) is not registered in the calculation data.

図10は、以下の説明で使用する具体的なキー操作、表示部12に表示されるステップ数と数値、キー操作に応じて表示されるファンクションシンボル、電卓10の動作状態を示すモードシンボルを示している。図10に示すキー操作は、税計算を実行した後に、[CHECK FOWARD]キー11fの操作により税計算の計算内容を確認するための操作の例を示している。なお、図10におけるキー操作において[CHECK FOWARD]キー11fの操作を便宜上「▽」によって表している。また、税3計算キー11b3([GST+3(TAX-3)])に対して設定された税率3を「10%」としている。 Figure 10 shows specific key operations used in the following explanation, the number of steps and values displayed on the display unit 12, function symbols displayed in response to key operations, and mode symbols indicating the operating state of the calculator 10. The key operations shown in Figure 10 show an example of operations for confirming the calculation contents of a tax calculation by operating the [CHECK FORWARD] key 11f after performing a tax calculation. For convenience, the operation of the [CHECK FORWARD] key 11f in the key operations in Figure 10 is represented by "▽". Also, the tax rate 3 set for the tax 3 calculation key 11b3 ([GST + 3 (TAX - 3)]) is "10%".

図11は、図10に示す税計算のためのキー操作によって計算データ記憶エリア22sに登録される計算データの一例を示す図である。 Figure 11 shows an example of calculation data that is registered in the calculation data storage area 22s by key operations for tax calculation shown in Figure 10.

CPU21は、[AC]キー11aが操作されると、税率別税合計メモリエリア22b~22fをクリアする。また、CPU21は、税計算モードエリア22mを参照して、現在の税計算モードが税込み計算モード[GST+]を、税計算モードシンボル12bとして、表示部12の状態表示エリアに表示させる(図10の1行目)。 When the [AC] key 11a is operated, the CPU 21 clears the tax total memory areas 22b to 22f by tax rate. The CPU 21 also refers to the tax calculation mode area 22m and displays the current tax calculation mode, which is the tax-inclusive calculation mode [GST+], as the tax calculation mode symbol 12b in the status display area of the display unit 12 (first line in FIG. 10).

その後、税込み計算のために、数値キーの操作によって数値「300」が入力されると、CPU21は、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。この時、CPU21は、ステップ数12aを初期値「001」を表示させる(図10の2行目)。次いで、税3計算キー11b3が操作されると、CPU21は、図11に示すように、ステップ「001」、数値「300」、税3計算キー11b3に一対一対応する演算データ(コード[GST+3/TAX-3])を対応づけて、計算データ記憶エリア22sに登録する。 After that, when the number "300" is entered by operating the numeric keys for the tax-inclusive calculation, the CPU 21 stores the entered number in the display memory area 22p and displays it on the display unit 12. At this time, the CPU 21 displays the initial value "001" for the step number 12a (second line in FIG. 10). Next, when the tax 3 calculation key 11b3 is operated, the CPU 21 associates the step "001", the number "300", and the calculation data (code [GST+3/TAX-3]) that has one-to-one correspondence with the tax 3 calculation key 11b3, as shown in FIG. 11, and registers them in the calculation data storage area 22s.

CPU21は、入力された数値「300」と税3計算キー11b3に対応する税率3(ここでは10%)をもとに税込み額「330」を算出し、数値「330」と、税3計算キー11b3に対応する税計算キーシンボル12cとして「GST+3」を、表示部12に表示させる。CPU21は、ステップ数12aに「002」を表示させる(図10の3行目)。また、CPU21は、税3計算キー11b3による税率3を用いた税計算の結果を、税率3合計メモリエリア22eに記憶させる。 The CPU 21 calculates the tax-inclusive amount "330" based on the inputted numerical value "300" and the tax rate 3 (here, 10%) corresponding to the tax 3 calculation key 11b3, and causes the display unit 12 to display the numerical value "330" and "GST+3" as the tax calculation key symbol 12c corresponding to the tax 3 calculation key 11b3. The CPU 21 causes the step number 12a to display "002" (the third line in FIG. 10). The CPU 21 also stores the result of the tax calculation using tax rate 3 by the tax 3 calculation key 11b3 in the tax rate 3 total memory area 22e.

ここで、税込み額「330」が表示部12に表示された状態において、税3計算キー11b3が操作されたことを検出すると、CPU21は、図11に示すように、ステップ「002」、数値「330」、税3計算キー11b3に一対一対応する演算データ(コード[GST+3/TAX-3])を対応づけて、計算データ記憶エリア22sに登録する。また、CPU21は、税3計算キー11b3の操作に応じて、税込み額「330」に代えて税抜き額「300」を表示部12に表示させる。CPU21は、ステップ数12aに「003」を表示させる(図10の4行目)。 When the tax-included amount "330" is displayed on the display unit 12 and the CPU 21 detects that the tax 3 calculation key 11b3 has been operated, the CPU 21 associates the step "002", the numerical value "330", and the calculation data (code [GST+3/TAX-3]) that corresponds one-to-one with the tax 3 calculation key 11b3, as shown in FIG. 11, and registers them in the calculation data storage area 22s. In addition, in response to the operation of the tax 3 calculation key 11b3, the CPU 21 causes the display unit 12 to display the tax-excluded amount "300" instead of the tax-included amount "330". The CPU 21 causes the step number 12a to display "003" (fourth line in FIG. 10).

次に、税計算モードを税込み計算から税抜き計算に変更するために税計算モード切替キー11dが操作されたものとする。CPU21は、図11に示すように、ステップ「003」、数値「300」を対応づけて、計算データ記憶エリア22sに登録する。税計算モード切替キー11dは、表示中の数値「300」に対する演算を指示するキーでない(計算結果の表示)。このためCPU21は、計算データ記憶エリア22sに数値「300」と一対一対応するファンクション(演算データ)を登録しない。 Next, assume that the tax calculation mode switching key 11d is operated to change the tax calculation mode from tax-inclusive calculation to tax-exclusive calculation. The CPU 21 associates step "003" with the number "300" and registers them in the calculation data storage area 22s, as shown in FIG. 11. The tax calculation mode switching key 11d is not a key that instructs a calculation on the displayed number "300" (display of the calculation result). For this reason, the CPU 21 does not register a function (calculation data) that corresponds one-to-one with the number "300" in the calculation data storage area 22s.

CPU21は、税計算モード切替キー11dの操作に応じて、税計算モードシンボル12bとして、[TAX-]を表示部12に表示させる。CPU21は、ステップ数12aを「004」を表示させる(図7の5行目)。 In response to the operation of the tax calculation mode switching key 11d, the CPU 21 causes the display unit 12 to display [TAX-] as the tax calculation mode symbol 12b. The CPU 21 causes the step number 12a to display "004" (fifth line in FIG. 7).

次に、税抜き計算のために、数値キーの操作によって数値「660」が入力されると、CPU21は、入力された数値を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる。CPU21は、ステップ数12aを「005」を表示させる(図10の6行目)。CPU21は、図11に示すように、ステップ「004」と対応づけて、税計算モード切替キー11dに一対一対応する演算データ(コード[GST+/TAX-])を計算データ記憶エリア22sに登録する。 Next, when the number "660" is entered by operating the numeric keys for the tax-excluded calculation, the CPU 21 stores the entered number in the display memory area 22p and displays it on the display unit 12. The CPU 21 displays the step number 12a as "005" (line 6 in FIG. 10). As shown in FIG. 11, the CPU 21 registers the calculation data (code [GST+/TAX-]) that corresponds one-to-one to the tax calculation mode switching key 11d in the calculation data storage area 22s, in association with step "004".

次いで、税3計算キー11b3が操作されると、CPU21は、入力された数値「660」と税3計算キー11b3に対応する税率3(ここでは10%)をもとに税抜額「600」を算出し、数値「600」と、税3計算キー11b3に対応する税計算キーシンボル12cとして「TAX-3」を、表示部12に表示させる。CPU21は、ステップ数12aに「006」を表示させる(図10の7行目)。また、CPU21は、税3計算キー11b3による税率3を用いた税計算の結果を、税率3合計メモリエリア22eに記憶させる。 Next, when the tax 3 calculation key 11b3 is operated, the CPU 21 calculates the tax-excluded amount "600" based on the inputted numerical value "660" and the tax rate 3 (here, 10%) corresponding to the tax 3 calculation key 11b3, and displays the numerical value "600" and "TAX-3" as the tax calculation key symbol 12c corresponding to the tax 3 calculation key 11b3 on the display unit 12. The CPU 21 displays "006" in the step number 12a (seventh line in FIG. 10). The CPU 21 also stores the result of the tax calculation using tax rate 3 by the tax 3 calculation key 11b3 in the tax rate 3 total memory area 22e.

ここで、税抜き額「600」が表示部12に表示された状態において、税3計算キー11b3が操作されたことを検出すると、CPU21は、図11に示すように、ステップ「005」、数値「600」、税3計算キー11b3に一対一対応する演算データ(コード[GST+3/TAX-3])を対応づけて、計算データ記憶エリア22sに登録する。また、CPU21は、税3計算キー11b3の操作に応じて、税抜き額「600」に代えて税額「60」を表示部12に表示させる。CPU21は、ステップ数12aに「007」を表示させる(図10の8行目)。 When the tax-excluded amount "600" is displayed on the display unit 12 and the tax 3 calculation key 11b3 is operated, the CPU 21 associates the step "005", the numerical value "600", and the calculation data (code [GST+3/TAX-3]) that corresponds one-to-one with the tax 3 calculation key 11b3, as shown in FIG. 11, and registers them in the calculation data storage area 22s. In addition, in response to the operation of the tax 3 calculation key 11b3, the CPU 21 causes the display unit 12 to display the tax amount "60" instead of the tax-excluded amount "600". The CPU 21 causes the step number 12a to display "007" (line 8 of FIG. 10).

次に、[CHECK FOWARD]キー11fの操作により確認モードが指示されたものとする。CPU21は、税計算が終了されたことを判別し、図10に示すように、ステップ「007」、数値「60」と対応づけて、計算データ記憶エリア22sに登録する。 Next, assume that the confirmation mode is instructed by operating the [CHECK FORWARD] key 11f. The CPU 21 determines that the tax calculation has ended, and, as shown in FIG. 10, associates this with step "007" and the numerical value "60" and registers this in the calculation data storage area 22s.

また、CPU21は、[CHECK FOWARD]キー11fの操作に応じて、確認モードに遷移したことを示す確認モードシンボル12g「REV」を表示させるとともに、計算データ記憶エリア22sに記憶された、先頭(ステップ「001」)の計算データを読み出して、先に実行された税計算の内容を表示部12に表示させる(図10の9行目)。 In response to the operation of the [CHECK FORWARD] key 11f, the CPU 21 displays the confirmation mode symbol 12g "REV" indicating a transition to confirmation mode, reads out the first calculation data (step "001") stored in the calculation data storage area 22s, and displays the contents of the previously performed tax calculation on the display unit 12 (line 9 of Figure 10).

すなわち、CPU21は、ステップ「001」と対応づけて登録された数値データと演算データ(操作されたキーを示すコード)に応じて、数値を表示させるとともに、演算データが示すファンクションシンボルを表示させる。 In other words, the CPU 21 displays a numerical value according to the numerical data and calculation data (a code indicating the operated key) registered in association with step "001", and also displays the function symbol indicated by the calculation data.

図12には、図11に示す計算データ記憶エリア22sに記憶された計算データをもとに、ステップ「001」の計算内容が表示された表示部12の表示例を示す図である。図11に示すように、計算データ記憶エリア22sには、ステップ「001」と対応づけて数値データ「300」と、税3計算キー11b3が操作されたことを示す演算データ[GST+3/TAX-3]が登録されている。従って、CPU21は、図12に示すように、数値「300」を表示させるとともに、税計算時に操作されたキーを示す税計算キーシンボル12cとして、演算データが示すファンクションシンボル(例えば[GST+3/TAX-3])を表示させる。なお、CPU21は、ステップ数12aとして「001」を表示するとともに、確認モードシンボル12g「REV」を表示させる。 Figure 12 shows an example of the display on the display unit 12, where the calculation content of step "001" is displayed based on the calculation data stored in the calculation data storage area 22s shown in Figure 11. As shown in Figure 11, the calculation data storage area 22s stores the numerical data "300" corresponding to step "001" and the calculation data [GST + 3/TAX - 3] indicating that the tax 3 calculation key 11b3 has been operated. Therefore, as shown in Figure 12, the CPU 21 displays the numerical value "300" and displays the function symbol indicated by the calculation data (for example, [GST + 3/TAX - 3]) as the tax calculation key symbol 12c indicating the key operated during tax calculation. The CPU 21 also displays "001" as the number of steps 12a and displays the confirmation mode symbol 12g "REV".

以下、[CHECK FOWARD]キー11fが続けて操作された場合、CPU21は、図11に示す計算データ記憶エリア22sに登録された計算データのステップ「002」~「007」とそれぞれ対応づけられた数値データと演算データ(ファンクション)をもとに、計算内容を示す数値とファンクションシンボルを切り替えて表示させる。すなわち、CPU21は、ステップ「002」については、数値「300」、ファンクションシンボル[GST+3/TAX-3](図10の10行目)、ステップ「003」については、数値「300」(図10の11行目)、ステップ「004」については、ファンクションシンボル[GST+/TAX-](図10の12行目)、ステップ「005」については、数値「660」、ファンクションシンボル[GST+3/TAX-3](図10の13行目)、ステップ「006」については、数値「600」、ファンクションシンボル[GST+3/TAX-3](図10の14行目)、ステップ「007」については、数値「60」(図10の15行目)を表示させる。 If the [CHECK FORWARD] key 11f is subsequently operated, the CPU 21 switches between displaying the numerical values and function symbols indicating the calculation contents based on the numerical data and operation data (functions) respectively associated with steps "002" to "007" of the calculation data registered in the calculation data memory area 22s shown in Figure 11. That is, for step "002", the CPU 21 displays the number "300" and the function symbol [GST+3/TAX-3] (line 10 of FIG. 10), for step "003", the number "300" (line 11 of FIG. 10), for step "004", the function symbol [GST+/TAX-] (line 12 of FIG. 10), for step "005", the number "660" and the function symbol [GST+3/TAX-3] (line 13 of FIG. 10), for step "006", the number "600" and the function symbol [GST+3/TAX-3] (line 14 of FIG. 10), and for step "007", the number "60" (line 15 of FIG. 10).

このように、計算データにキー情報(拡張情報)を登録しない場合には、計算データ記憶エリア22sの計算データには、操作されたキーに一対一対応する演算データ(ファンクション)のみが登録される。このため、確認モードにおいて計算内容を表示させる場合には、演算データ(ファンクション)のみに応じたファンクションシンボルを表示させることになる。従って、税計算キー11bのように1つのキーに対して税込み計算と税抜き計算の機能が割り当てられている場合に、税計算キー11bに一対一対応するファンクションシンボルを表示させただけでは、税計算時に税込み計算と税抜き計算の何れの機能が実行されたか判別することができない。 In this way, when key information (extension information) is not registered in the calculation data, only the operation data (function) that corresponds one-to-one with the operated key is registered in the calculation data in the calculation data memory area 22s. Therefore, when the calculation contents are displayed in confirmation mode, the function symbol corresponding only to the operation data (function) is displayed. Therefore, when the functions of tax-inclusive calculation and tax-exclusive calculation are assigned to one key, such as the tax calculation key 11b, simply displaying the function symbol that corresponds one-to-one with the tax calculation key 11b makes it impossible to determine whether the function of tax-inclusive calculation or tax-exclusive calculation was executed when calculating tax.

次に、本実施形態における計算データにキー情報(拡張情報)を登録する場合について説明する。 Next, we will explain how to register key information (extension information) in calculation data in this embodiment.

図13は、以下の説明で使用する具体的なキー操作、表示部12に表示されるステップ数と数値、キー操作に応じて表示されるファンクションシンボル、電卓10の動作状態を示すモードシンボルを示している。図13に示すキー操作は、前述した図7と同じである。図14は、図13に示す税計算のためのキー操作によって計算データ記憶エリア22sに登録される計算データの一例を示す図である。なお、図11に示す計算データ記憶エリア22sには、税計算キー11bのキー操作に応じて、演算データ([GST+/TAX-])を登録しているが、図14では、税計算キー11bのキー操作に応じて演算データを登録しない例を示している。図15(A)~(N)は、図13に示すキー操作に応じた表示部12における表示例を示す図である。 Figure 13 shows specific key operations used in the following description, the number of steps and values displayed on the display unit 12, function symbols displayed in response to key operations, and mode symbols indicating the operating state of the calculator 10. The key operations shown in Figure 13 are the same as those in Figure 7 described above. Figure 14 shows an example of calculation data registered in the calculation data storage area 22s by key operations for tax calculation shown in Figure 13. Note that while calculation data ([GST+/TAX-]) is registered in the calculation data storage area 22s shown in Figure 11 in response to key operations of the tax calculation key 11b, Figure 14 shows an example in which no calculation data is registered in response to key operations of the tax calculation key 11b. Figures 15 (A) to (N) show examples of displays on the display unit 12 in response to the key operations shown in Figure 13.

なお、税計算のためのキー操作については、前述した図10に示すキー操作と同様にして実行されるものとして詳細な説明を省略する。CPU21は、入力された数値「300」に対する税込み計算のために税3計算キー11b3が操作された場合、前述と同様にして、ステップ「001」、数値「300」、税3計算キー11b3に一対一対応する演算データ(コード[GST+3/TAX-3])を対応づけて、計算データ記憶エリア22sに登録する。CPU21は、数値「300」に対する税3計算キー11b3に対応する税込み計算を実行して、計算結果を表示させる((図15(A)(B)(C)))。 The key operations for tax calculation are executed in the same manner as the key operations shown in FIG. 10, and therefore a detailed description will be omitted. When the tax 3 calculation key 11b3 is operated to perform a tax-inclusive calculation on the inputted value "300", the CPU 21 registers the step "001", the value "300", and the calculation data (code [GST+3/TAX-3]) that corresponds one-to-one to the tax 3 calculation key 11b3 in the same manner as described above in the calculation data storage area 22s. The CPU 21 executes the tax-inclusive calculation corresponding to the tax 3 calculation key 11b3 for the value "300", and displays the calculation result ((FIGS. 15(A)(B)(C))).

さらに、CPU21は、税3計算キー11b3に対応するキー情報([GST+])を、先に登録済みの数値データ「300」と演算データ(コード[GST+3/TAX-3])と対応づけて登録する(図6のフローチャートに示す検算用メモリ登録処理)。 Furthermore, the CPU 21 registers the key information ([GST+]) corresponding to the tax 3 calculation key 11b3 in association with the previously registered numeric data "300" and the calculation data (code [GST+3/TAX-3]) (verification memory registration process shown in the flowchart of FIG. 6).

同様にして、税3計算キー11b3が操作された場合には、CPU21は、税3計算キー11b3の操作に応じて税抜き額を表示部12に表示させ(図15(D))、計算データ記憶エリア22sにキー情報([GST+])を数値データと演算データの組に付加する(図14に示すステップ「002」)。 Similarly, when the tax 3 calculation key 11b3 is operated, the CPU 21 displays the tax-excluded amount on the display unit 12 in response to the operation of the tax 3 calculation key 11b3 (Figure 15 (D)), and adds the key information ([GST+]) to the set of numerical data and calculation data in the calculation data storage area 22s (step "002" shown in Figure 14).

ここで、税計算を税抜き計算にするために税計算モード切替キー11dが操作された場合、CPU21は、図15(E)に示すように、税計算モードシンボル12bを税抜き計算を示す[TAX-]に変更する。 Here, if the tax calculation mode switching key 11d is operated to change the tax calculation to a tax-exclusive calculation, the CPU 21 changes the tax calculation mode symbol 12b to [TAX-], which indicates a tax-exclusive calculation, as shown in FIG. 15 (E).

ここで、数値「660」が入力され、税抜き計算のために税3計算キー11b3が操作された場合には、CPU21は、前述と同様にして、ステップ「004」、数値「660」、税3計算キー11b3に一対一対応する演算データ(コード[GST+3/TAX-3])を対応づけて、計算データ記憶エリア22sに登録する。CPU21は、数値「660」に対する税3計算キー11b3に対応する税抜き計算を実行して、計算結果とする税抜き額を示す数値「600」を表示させる(図15(G))。 If the number "660" is entered and the tax 3 calculation key 11b3 is operated to perform the tax-excluded calculation, the CPU 21 will register the operation data (code [GST+3/TAX-3]) that corresponds one-to-one to step "004", the number "660", and the tax 3 calculation key 11b3 in the calculation data storage area 22s in the same manner as described above. The CPU 21 will execute the tax-excluded calculation corresponding to the tax 3 calculation key 11b3 for the number "660", and display the number "600" indicating the tax-excluded amount that is the calculation result (FIG. 15(G)).

さらに、CPU21は、税3計算キー11b3に対応するキー情報([TAX-])を、先に登録済みの数値データ「660」と演算データ(コード[GST+3/TAX-3])と一対一対応づけて登録する(図14のステップ「004」)
同様にして、税3計算キー11b3により税額の表示が指示された場合には、CPU21は、税3計算キー11b3の操作に応じて税額「60」を表示部12に表示させ(図15(H))、計算データ記憶エリア22sにキー情報([TAX-])を数値データと演算データの組に付加する(図14に示すステップ「005」)。
Furthermore, the CPU 21 registers the key information ([TAX-]) corresponding to the tax 3 calculation key 11b3 in one-to-one correspondence with the previously registered numeric data "660" and the calculation data (code [GST+3/TAX-3]) (step "004" in FIG. 14).
Similarly, when the display of the tax amount is instructed by the TAX 3 calculation key 11b3, the CPU 21 displays the tax amount "60" on the display unit 12 in response to the operation of the TAX 3 calculation key 11b3 (Figure 15 (H)), and adds the key information ([TAX-]) to the pair of numerical data and calculation data in the calculation data memory area 22s (step "005" shown in Figure 14).

次に、[CHECK FOWARD]キー11fの操作により確認モードが指示されたものとする。 Next, assume that confirmation mode is instructed by operating the [CHECK FORWARD] key 11f.

CPU21は、[CHECK FOWARD]キー11fが繰り返して操作されることで、計算データ記憶エリア22sに記憶された計算データに応じて、図15(I)~(N)に示すように、税計算の内容を表示部12において表示させる。なお、基本的な動作については、前述したキー情報を登録しない場合と同じであるので詳細な説明を省略する。 When the [CHECK FORWARD] key 11f is repeatedly operated, the CPU 21 displays the tax calculation contents on the display unit 12 according to the calculation data stored in the calculation data storage area 22s, as shown in Figures 15 (I) to (N). Note that the basic operation is the same as when the key information is not registered as described above, so a detailed explanation is omitted.

本実施形態におけるキー情報を計算データとして登録する方法を用いた場合、図15(I)(J)に示すように、税計算のために操作された税3計算キー11b3を示すシンボルではなく、税3計算キー11b3の操作によって税込み計算が実行されたことを示すファンクションシンボル[GST+3]が表示される。 When the method of registering key information as calculation data in this embodiment is used, as shown in Figures 15 (I) and (J), instead of a symbol indicating the Tax 3 calculation key 11b3 operated to perform tax calculation, the function symbol [GST+3] is displayed, indicating that a tax-inclusive calculation has been performed by operating the Tax 3 calculation key 11b3.

同様にして、税抜き計算の計算内容については、図15(L)(M)に示すように、税3計算キー11b3の操作によって税抜き計算が実行されたことを示すファンクションシンボル[TAX-3]が表示される。 Similarly, for the calculation content of the tax-excluded calculation, as shown in Figures 15 (L) and (M), the function symbol [TAX-3] is displayed, indicating that the tax-excluded calculation has been performed by operating the Tax 3 calculation key 11b3.

このようにして、本実施形態における電卓10では、複数の機能が割り当てられた税計算キー11bの操作により税計算が実行される場合、税込み計算と税抜き計算の何れの機能が実行されたかに応じて、計算データ記憶エリア22sに登録される計算データに何れかの機能に対応するキー情報を、該当するステップに対応づけて付加する。従って、確認キーの操作に応じて確認モードに遷移し、計算データに応じた計算内容を表示させる場合に、税計算キー11bに対応するシンボルに代えて、キー情報に応じて税込み計算あるいは税抜き計算の何れかを示すファンクションシンボルを表示させることができる。従って、先に実行された計算内容を検算する際に、税計算キー11bにより何れの機能が実行されたかを容易に判別することが可能となる。 In this way, in the calculator 10 of this embodiment, when a tax calculation is performed by operating the tax calculation key 11b to which multiple functions are assigned, key information corresponding to one of the functions is added to the calculation data registered in the calculation data storage area 22s in association with the relevant step, depending on whether a tax-inclusive or tax-exclusive function is performed. Therefore, when transitioning to confirmation mode in response to operation of the confirmation key and displaying the calculation contents according to the calculation data, a function symbol indicating either a tax-inclusive or tax-exclusive calculation according to the key information can be displayed in place of the symbol corresponding to the tax calculation key 11b. Therefore, when checking the contents of a calculation previously performed, it becomes possible to easily determine which function was performed by the tax calculation key 11b.

なお、前述した説明では、電卓10のキー入力部11に設けられた物理的(機械式)なキーに複数の機能が割り当てられている場合について説明しているが、ソフトウェアキーボードが用いられている場合についても適用することが可能である。 Note that the above explanation describes a case where multiple functions are assigned to the physical (mechanical) keys provided on the key input section 11 of the calculator 10, but it can also be applied to a case where a software keyboard is used.

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

また、各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク(インターネット)上を伝送させることができ、このネットワーク(インターネット)に接続されたコンピュータ(サーバ装置等)からプログラムデータを取り込み、前述した実施形態と同様の機能を実現することもできる。 In addition, the program data for implementing each method can be transmitted over a network (Internet) in the form of program code, and the program data can be imported from a computer (server device, etc.) connected to this network (Internet) to realize functions similar to those of the above-mentioned embodiments.

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

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 The inventions described in the original claims of this application are set forth below.

[1]数値キーに対する操作により入力された前記数値キーを示す数値データと、機能が割り当てられた機能キーに対する操作により入力された前記機能キーを示す演算データとを含む複数の計算データを入力順に登録する計算データ登録手段と、
前記機能キーに第1機能と第2機能が割り当てられている場合に、前記機能キーに対する操作により前記第1機能と前記第2機能の何れが指定されたかを判別する判別手段と、
前記第1機能が指定されたことを判別した場合に、前記計算データに対して前記第1機能を示す第1拡張情報を付加し、前記第2機能が指定されたことを判別した場合に、前記計算データに対して前記第2機能を示す第2拡張情報を付加する情報付加手段と、
前記計算データを確認する指示に応じて、前記数値データに対応する数値を表示部に表示させると共に、前記計算データに前記第1拡張情報に付加されている場合に第1シンボルを前記表示部に表示させ、前記計算データに前記第2拡張情報が付加されている場合に第2シンボルを前記表示部に表示させる第1表示手段と
を有する計算機。
[1] A calculation data registration means for registering a plurality of calculation data in the order of input, the calculation data including numerical data input by operating numerical keys and indicating the numerical keys, and operation data input by operating function keys to which functions are assigned, and indicating the function keys;
a determination means for determining whether a first function or a second function has been designated by an operation on the function key when a first function and a second function are assigned to the function key;
an information adding means for adding first extension information indicating the first function to the calculation data when it is determined that the first function has been designated, and for adding second extension information indicating the second function to the calculation data when it is determined that the second function has been designated;
a first display means for displaying a numerical value corresponding to the numerical data on a display unit in response to an instruction to confirm the calculation data, and for displaying a first symbol on the display unit if the first extension information is added to the calculation data, and for displaying a second symbol on the display unit if the second extension information is added to the calculation data.

[2]前記機能キーに対する操作により前記第1機能が指定されたことを判別した場合に、前記第1シンボルを前記表示部に表示させ、
前記機能キーに対する操作により前記第2機能が指定されたことを判別した場合に、前記第2シンボルを前記表示部に表示させる第2表示手段をさらに有する[1]記載の計算機。
[2] when it is determined that the first function is designated by an operation on the function key, displaying the first symbol on the display unit;
2. The computer according to claim 1, further comprising a second display means for causing the display unit to display the second symbol when it is determined that the second function has been specified by an operation on the function key.

[3] 前記機能キーには、前記数値データが示す数値について、予め設定された税率に応じて税込み税計算をする前記第1機能と、前記税率に応じて税抜き計算をする前記第2機能が割り当てられる[1]記載の計算機。 [3] A calculator as described in [1], in which the function keys are assigned the first function of calculating the tax-inclusive amount according to a preset tax rate for the numerical value indicated by the numerical data, and the second function of calculating the tax-exclusive amount according to the tax rate.

[4] 前記第1表示手段は、前記税率と税込み計算を表す前記第1シンボル、及び前記税率と税抜き計算を表す前記第2シンボルを表示させる[3]記載の計算機。 [4] The calculator according to [3], wherein the first display means displays the first symbol representing the tax rate and a calculation including tax, and the second symbol representing the tax rate and a calculation excluding tax.

[5] 入力操作を受け付けるキーが設けられた計算機により実行される計算確認方法であって、
数値キーに対する操作により入力された前記数値キーを示す数値データと、機能が割り当てられた機能キーに対する操作により入力された前記機能キーを示す演算データとを含む複数の計算データを入力順に登録し、
前記機能キーに第1機能と第2機能が割り当てられている場合に、前記機能キーに対する操作により前記第1機能と前記第2機能の何れが指定されたかを判別し、
前記第1機能が指定されたことを判別した場合に、前記計算データに対して前記第1機能を示す第1拡張情報を付加し、前記第2機能が指定されたことを判別した場合に、前記計算データに対して前記第2機能を示す第2拡張情報を付加し、
前記計算データを確認する指示に応じて、前記数値データに対応する数値を表示部に表示させると共に、前記計算データに前記第1拡張情報に付加されている場合に第1シンボルを前記表示部に表示させ、前記計算データに前記第2拡張情報が付加されている場合に第2シンボルを前記表示部に表示させる計算確認方法。
[5] A calculation confirmation method executed by a computer provided with a key for accepting an input operation, comprising:
registering a plurality of pieces of calculation data in the order of input, the calculation data including numerical data representing numerical keys input by operating the numerical keys and operation data representing function keys input by operating function keys to which functions are assigned;
when a first function and a second function are assigned to the function key, determining whether the first function or the second function has been designated by an operation on the function key;
when it is determined that the first function has been designated, adding first extension information indicating the first function to the calculation data, and when it is determined that the second function has been designated, adding second extension information indicating the second function to the calculation data;
A calculation confirmation method which, in response to an instruction to confirm the calculation data, displays a numerical value corresponding to the numerical data on a display unit, and, if the first expansion information is added to the calculation data, displays a first symbol on the display unit, and, if the second expansion information is added to the calculation data, displays a second symbol on the display unit.

[6] コンピュータを、
数値キーに対する操作により入力された前記数値キーを示す数値データと、機能が割り当てられた機能キーに対する操作により入力された前記機能キーを示す演算データとを含む複数の計算データを入力順に登録する計算データ登録手段と、
前記機能キーに第1機能と第2機能が割り当てられている場合に、前記機能キーに対する操作により前記第1機能と前記第2機能の何れが指定されたかを判別する判別手段と、
前記第1機能が指定されたことを判別した場合に、前記計算データに対して前記第1機能を示す第1拡張情報を付加し、前記第2機能が指定されたことを判別した場合に、前記計算データに対して前記第2機能を示す第2拡張情報を付加する情報付加手段と、
前記計算データを確認する指示に応じて、前記数値データに対応する数値を表示部に表示させると共に、前記計算データに前記第1拡張情報に付加されている場合に第1シンボルを前記表示部に表示させ、前記計算データに前記第2拡張情報が付加されている場合に第2シンボルを前記表示部に表示させる第1表示手段として機能させるためのプログラム。
[6] A computer,
a calculation data registering means for registering, in the order of input, a plurality of calculation data including numerical data input by operating numerical keys and indicating said numerical keys, and operation data input by operating function keys to which functions are assigned, and indicating said function keys;
a determination means for determining whether a first function or a second function has been designated by an operation on the function key when a first function and a second function are assigned to the function key;
an information adding means for adding first extension information indicating the first function to the calculation data when it is determined that the first function has been designated, and for adding second extension information indicating the second function to the calculation data when it is determined that the second function has been designated;
A program for functioning as a first display means for displaying a numerical value corresponding to the numerical data on a display unit in response to an instruction to confirm the calculation data, and for displaying a first symbol on the display unit if the first expansion information is added to the calculation data, and for displaying a second symbol on the display unit if the second expansion information is added to the calculation data.

[7] 数値を特定する第1情報と、前記数値を用いて実行する機能を入力する際に操作されるキーを特定する第2情報とを組にして、記憶部へ記憶する際、
前記キーに対して複数の機能が割り当てられている場合、当該複数の機能のうち、前記数値を用いて実行する何れか一つの機能を特定できる第3情報をさらに付加して、前記記憶部へ記憶する、制御部を有する計算機。
[7] When first information specifying a numerical value and second information specifying a key to be operated when inputting a function to be executed using the numerical value are paired and stored in a storage unit,
A computer having a control unit that, when multiple functions are assigned to the key, further adds third information that can identify one of the multiple functions to be executed using the numerical value, and stores the third information in the memory unit.

[8] 前記制御部は、
前記記憶部へ記憶させた前記第1情報及び前記第2情報を読み出す際、
前記第2情報により特定される前記キーが、前記複数の機能が割り当てられているキーである場合、前記何れか一つの機能を特定できる前記第3情報を、前記第1情報及び前記第2情報とあわせて、前記記憶部より読み出す、[7]記載の計算機。
[8] The control unit is
When reading out the first information and the second information stored in the storage unit,
A computer as described in [7], wherein, when the key identified by the second information is a key to which the multiple functions are assigned, the third information capable of identifying any one of the functions is read from the memory unit together with the first information and the second information.

[9] 計算機により実行される情報登録方法であって、
数値を特定する第1情報と、前記数値を用いて実行する機能を入力する際に操作されるキーを特定する第2情報とを組にして、記憶部へ記憶する際、
前記キーに対して複数の機能が割り当てられている場合、当該複数の機能のうち、前記数値を用いて実行する何れか一つの機能を特定できる第3情報をさらに付加して、前記記憶部へ記憶する、情報登録方法。
[9] An information registration method executed by a computer, comprising:
When storing in a storage unit a pair of first information specifying a numerical value and second information specifying a key to be operated when inputting a function to be executed using the numerical value,
An information registration method in which, when multiple functions are assigned to the key, third information that can identify one of the multiple functions to be executed using the numerical value is further added and stored in the memory unit.

[10] コンピュータによって、
数値を特定する第1情報と、前記数値を用いて実行する機能を入力する際に操作されるキーを特定する第2情報とを組にして、記憶部へ記憶する際、
前記キーに対して複数の機能が割り当てられている場合、当該複数の機能のうち、前記数値を用いて実行する何れか一つの機能を特定できる第3情報をさらに付加して、前記記憶部へ記憶させる、ためのプログラム。
[10] by a computer,
When storing in a storage unit a pair of first information specifying a numerical value and second information specifying a key to be operated when inputting a function to be executed using the numerical value,
A program for, when multiple functions are assigned to the key, further adding third information that can identify one of the multiple functions to be executed using the numerical value, and storing the third information in the memory unit.

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…税計算モードエリア、22n…バッファメモリエリア、22p…表示メモリエリア、22r…計算モードエリア、22s…計算データ記憶エリア。 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 section, 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, 22n... buffer memory area, 22p... display memory area, 22r... calculation mode area, 22s... calculation data storage area.

Claims (2)

夫々に数値が対応付けられた複数の数値キーと、
四則演算の各演算機能に対応する複数の演算機能キーと、
数値に対応する税計算の実行指示を入力するために操作されるキーであり4種類の税率に対応した4つの税計算キーと、税計算合計キーと、を含む複数の機能キーと、
を備え、
前記複数の機能キーは、前記複数の数値キーと前記演算機能キーとが配列された位置と幅が揃うように一行に配置され、
前記税計算キーは、夫々が前記4種類の税率に対応する税込計算の実行の指示と税抜計算の実行の指示を兼用するキーである
ことを特徴とする計算機。
A plurality of numeric keys each having a numeric value associated therewith;
A plurality of calculation function keys corresponding to each of the four arithmetic operations;
A plurality of function keys including four tax calculation keys corresponding to four tax rates and a tax calculation total key, which are operated to input an instruction to execute a tax calculation corresponding to a numerical value;
Equipped with
the plurality of function keys are arranged in a line so as to be aligned in position and width with the plurality of numeric keys and the arithmetic function keys;
A calculator according to claim 1, wherein said tax calculation keys are keys each used to instruct the execution of a tax-inclusive calculation corresponding to one of said four types of tax rates and to instruct the execution of a tax-exclusive calculation.
前記複数の数値キー、前記複数の演算機能キー、及び、複数の機能キーの上方に備えられ、前記複数の数値キーが操作されることにより入力された数値を表示する表示領域と、前記複数の税計算キーのうち操作された税計算キーに対応するシンボルを表示する表示領域と、を少なくとも有する表示部を更に備えたことを特徴とする請求項1に記載の計算機。 The calculator according to claim 1, further comprising a display unit having at least a display area provided above the plurality of numeric keys, the plurality of calculation function keys, and the plurality of function keys, for displaying numeric values input by operating the plurality of numeric keys, and a display area for displaying a symbol corresponding to the operated tax calculation key among the plurality of tax calculation keys.
JP2022115167A 2018-09-07 2022-07-20 calculator Active JP7487755B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022115167A JP7487755B2 (en) 2018-09-07 2022-07-20 calculator

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018168369A JP7110847B2 (en) 2018-09-07 2018-09-07 Calculator, calculation confirmation method, information registration method, and program
JP2022115167A JP7487755B2 (en) 2018-09-07 2022-07-20 calculator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018168369A Division JP7110847B2 (en) 2018-09-07 2018-09-07 Calculator, calculation confirmation method, information registration method, and program

Publications (2)

Publication Number Publication Date
JP2022140521A JP2022140521A (en) 2022-09-26
JP7487755B2 true JP7487755B2 (en) 2024-05-21

Family

ID=69799399

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018168369A Active JP7110847B2 (en) 2018-09-07 2018-09-07 Calculator, calculation confirmation method, information registration method, and program
JP2022115167A Active JP7487755B2 (en) 2018-09-07 2022-07-20 calculator

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018168369A Active JP7110847B2 (en) 2018-09-07 2018-09-07 Calculator, calculation confirmation method, information registration method, and program

Country Status (1)

Country Link
JP (2) JP7110847B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7103380B2 (en) * 2020-03-24 2022-07-20 カシオ計算機株式会社 Electronic devices, operation mode switching methods, and programs

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132517A (en) 1998-10-23 2000-05-12 Sharp Corp Electronic equipment having calculation function
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5392270B2 (en) 2011-01-12 2014-01-22 カシオ計算機株式会社 Electronic calculator
JP6819097B2 (en) * 2016-06-30 2021-01-27 カシオ計算機株式会社 Computational equipment, computational methods, and programs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132517A (en) 1998-10-23 2000-05-12 Sharp Corp Electronic equipment having calculation function
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Also Published As

Publication number Publication date
JP2020042456A (en) 2020-03-19
JP2022140521A (en) 2022-09-26
JP7110847B2 (en) 2022-08-02

Similar Documents

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

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220810

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240201

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: 20240409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240422

R150 Certificate of patent or registration of utility model

Ref document number: 7487755

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150