JP7416138B2 - Calculator, setting support method and program - Google Patents

Calculator, setting support method and program Download PDF

Info

Publication number
JP7416138B2
JP7416138B2 JP2022115168A JP2022115168A JP7416138B2 JP 7416138 B2 JP7416138 B2 JP 7416138B2 JP 2022115168 A JP2022115168 A JP 2022115168A JP 2022115168 A JP2022115168 A JP 2022115168A JP 7416138 B2 JP7416138 B2 JP 7416138B2
Authority
JP
Japan
Prior art keywords
tax
calculation
key
tax rate
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022115168A
Other languages
Japanese (ja)
Other versions
JP2022132538A (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 JP2022115168A priority Critical patent/JP7416138B2/en
Publication of JP2022132538A publication Critical patent/JP2022132538A/en
Application granted granted Critical
Publication of JP7416138B2 publication Critical patent/JP7416138B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Description

本発明は、計算機、設定支援方法及びプログラムに関する。 The present invention relates to a computer, a setting support method , and a program.

近年の税計算機(電卓)には、予め設定された税率を用いて税計算をする機能を設けたものがある。例えば、特許文献1に記載された税計算機には、複数の税率にそれぞれ対応する複数の税計算キー(税込み計算キー、税抜き計算キー)が設けられている。税計算機は、各税計算キーに対する操作に応じて、任意の四則計算などによる通常計算された数値、あるいは個別に入力された数値をもとに、各税計算キーに対応する税率による税込み額を算出して表示する(例えば、特許文献1)。 Some recent tax calculators (calculators) are equipped with a function to calculate taxes using preset tax rates. For example, the tax calculator described in Patent Document 1 is provided with a plurality of tax calculation keys (a tax-inclusive calculation key and a tax-exclusive calculation key) that respectively correspond to a plurality of tax rates. Depending on the operation for each tax calculation key, the tax calculator calculates the tax-included amount at the tax rate corresponding to each tax calculation key, based on normally calculated numbers using any of the four arithmetic calculations, or individually input numbers. It is calculated and displayed (for example, Patent Document 1).

特開2017-174225号公報JP2017-174225A

特許文献1に記載された税計算機は、税計算キー(税込み計算キー)により実行される税計算で使用する税率を、ユーザ操作によって設定することができる。税率を設定する場合には、予め決められたキー操作により税率設定処理を起動して税率設定用の画面を表示させ、複数の税計算キーから変更対象とするキーを選択する。そして、現在の設定された税率を画面において確認した上で、新たに設定する税率を示す数値をキー操作により入力した後、設定完了を指示するキー操作をする。これにより、入力した数値が新たな税率として設定される。 The tax calculator described in Patent Document 1 allows the user to set the tax rate used in tax calculation performed using a tax calculation key (tax-inclusive calculation key). When setting the tax rate, a tax rate setting process is activated by a predetermined key operation to display a screen for setting the tax rate, and a key to be changed is selected from a plurality of tax calculation keys. After confirming the currently set tax rate on the screen, the user inputs a numerical value indicating the newly set tax rate using a key operation, and then performs a key operation to instruct completion of the setting. This will set the entered value as the new tax rate.

従来の税計算機では、複数の税計算キーに対して新たな税率を設定する場合には、前述した操作を、複数の税計算キーに応じて、繰り返して実行しなければならない。従って、税計算キーの数が多くなるほど、税計算キーに対応して設定された税率の確認と、税率を変更するための操作の回数が増大し、税計算に使用するために設定される複数の税率を管理するための作業負担が大きくなってしまう。 In conventional tax calculators, when setting new tax rates for multiple tax calculation keys, the above-described operations must be repeatedly performed for the multiple tax calculation keys. Therefore, as the number of tax calculation keys increases, the number of operations to confirm the tax rate set corresponding to the tax calculation key and change the tax rate increases. The workload for managing the tax rate increases.

本発明は、前記のような課題に考慮してなされたもので、税計算に使用するために設定される複数の税率を管理するための作業を容易にすることができる計算機、設定支援方法及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and provides a calculator , a setting support method , and a method that can facilitate the work of managing multiple tax rates set for use in tax calculations. The purpose is to provide programs.

上記の課題を解決するために、本発明に係る計算機は、税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機であって、前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを切り替える第2操作キーと、前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御手段と、前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御手段と、を備えることを特徴とする。
また、本発明に係る設定支援方法は、税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機が実行する設定支援方法であって、前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを所定の第2操作キーへのユーザ操作に基づいて切り替える切替処理と、前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御処理と、前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御処理と、を含むことを特徴とする。
また、本発明に係るプログラムは、税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機のコンピュータを、前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを所定の第2操作キーへのユーザ操作に基づいて切り替える切替手段、前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御手段、前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御手段、として機能させることを特徴とする。
In order to solve the above problems, a calculator according to the present invention is a calculator in which a tax rate applied to tax calculation is associated with each of a plurality of first operation keys, and wherein the plurality of first operation keys a second operation key for switching whether to apply the tax rate associated with each of the tax rates as a tax rate applied to tax-excluding calculations or as a tax rate applied to tax-inclusive calculations, and each of the plurality of first operation keys . When the update mode for updating the tax rate associated with the first operation key is selected, before the newly associated tax rate is entered numerically, the first operation key to be updated is a display control means for displaying a tax rate associated with an operation key on a display section at a predetermined timing ; and displaying the numerically input tax rate as the newly associated tax rate on the first operation key to be updated. and update control means for associating the numerically input tax rate with the first operation key to be updated as a tax rate to be applied to both the tax-excluding calculation and the tax-inclusive calculation. It is characterized by
Further, the setting support method according to the present invention is a setting support method executed by a calculator in which a tax rate applied to tax calculation is associated with each of a plurality of first operation keys, Switching to switch whether the tax rate associated with each key is applied as the tax rate applied to tax-excluding calculations or as the tax rate applied to tax-inclusive calculations based on user operation on a predetermined second operation key When an update mode for updating the tax rate associated with the first operation key is selected for each of the plurality of first operation keys, the newly associated tax rate is numerically input . Prior to this, a display control process is performed to display the tax rate associated with the first operation key to be updated on the display section at a predetermined timing , and the tax rate that has been numerically inputted as the newly associated tax rate. is associated with the first operation key to be updated, the numerically input tax rate is set as the tax rate to be applied to both the tax-excluding calculation and the tax-inclusive calculation, and the first operation to be updated is performed. The present invention is characterized in that it includes an update control process for associating the key with the key .
Further, the program according to the present invention may cause a computer of a calculator in which a tax rate applied to tax calculation is associated with each of the plurality of first operation keys to be associated with each of the plurality of first operation keys. a switching means for switching whether to apply the tax rate applied to tax-excluding calculations or as a tax rate applied to tax-inclusive calculations based on a user operation on a predetermined second operation key; and the plurality of first operations ; When the update mode for updating the tax rate associated with the first operation key is selected for each key, the newly associated tax rate is set to be updated before it is entered numerically. display control means for displaying a tax rate associated with a first operation key on a display section at a predetermined timing ; a first operation that causes the numerically input tax rate to be updated as the newly associated tax rate; Functions as an update control means for associating the numerically input tax rate with the first operation key to be updated as a tax rate to be applied to both the tax-excluding calculation and the tax-inclusive calculation when associating with a key. It is characterized by causing

本実施形態における税計算機の外観構成を示す正面図。FIG. 1 is a front view showing the external configuration of the tax calculator according to the present embodiment. 本実施形態における電卓の電子回路の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an electronic circuit of a calculator in this embodiment. 本実施形態における電卓の税計算キーに対する税率設定の動作を説明するためのフローチャート。7 is a flowchart for explaining the operation of setting a tax rate for a tax calculation key of a calculator in this embodiment. 本実施形態における電卓の計算処理の動作を説明するためのフローチャート。2 is a flowchart for explaining the calculation processing operation of the calculator in this embodiment. 本実施形態における税率確認処理を説明するためのフローチャート。5 is a flowchart for explaining tax rate confirmation processing in this embodiment. 本実施形態における税率確認処理を説明するためのキー操作と表示の一例を示す図。FIG. 7 is a diagram showing an example of key operations and displays for explaining tax rate confirmation processing in the present embodiment. 本実施形態における税率連続設定処理を説明するためのフローチャート。5 is a flowchart for explaining continuous tax rate setting processing in this embodiment. 本実施形態における税率連続設定処理を説明するためのキー操作と表示の一例を示す図。FIG. 6 is a diagram illustrating an example of key operations and displays for explaining continuous tax rate setting processing in the present embodiment. 本実施形態における税率連続設定処理を説明するためのフローチャート。5 is a flowchart for explaining continuous tax rate setting processing in this embodiment. 本実施形態における税率連続設定処理を説明するためのキー操作と表示の一例を示す図。FIG. 6 is a diagram illustrating an example of key operations and displays for explaining continuous tax rate setting processing in the present embodiment. 本実施形態における税率連続設定処理を説明するためのフローチャート。5 is a flowchart for explaining continuous tax rate setting processing in this embodiment. 本実施形態における税率連続設定処理を説明するためのキー操作と表示の一例を示す図。FIG. 6 is a diagram illustrating an example of key operations and displays for explaining continuous tax rate setting processing in the present embodiment. 本実施形態における税率連続設定処理を説明するためのフローチャート。5 is a flowchart for explaining continuous tax rate setting processing in this embodiment. 本実施形態における税率連続設定処理を説明するためのキー操作と表示の一例を示す図。FIG. 6 is a diagram illustrating an example of key operations and displays for explaining continuous tax rate setting processing in the present embodiment. 本実施形態における税率連続設定処理を説明するためのフローチャート。5 is a flowchart for explaining continuous tax rate setting processing in this embodiment. 本実施形態における税率連続設定処理を説明するためのキー操作と表示の一例を示す図。FIG. 6 is a diagram illustrating an example of key operations and displays for explaining continuous tax rate setting processing in the present embodiment.

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

図1は、本実施形態に係る税計算機の外観構成を示す正面図である。本実施形態では、税計算機を計算専用の電卓10として実現している。 FIG. 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 calculation-only calculator 10.

なお、税計算機は、電卓10として構成する他、計算機能を有する(計算処理プログラムが実装された)パーソナルコンピュータ、タブレット型コンピュータ、スマートフォン、携帯電話機、タッチパネル式PDA(personal digital assistants)、電子ブック、携帯ゲーム機等として構成することができる。なお、電卓10のような物理的なキー(ボタン)が実装されていない税計算機は、電卓10のキーと同様なソフトウェアキーボードを表示し、このソフトウェアキーボードに対するキー操作に応じて計算処理を実行する。 In addition to being configured as the calculator 10, the tax calculator may also include a personal computer with a calculation function (in which a calculation processing program is implemented), a tablet computer, a smartphone, a mobile phone, a touch-panel PDA (personal digital assistant), an electronic book, It can be configured as a portable game machine or the like. Note that tax calculators such as the calculator 10 that are not equipped with physical keys (buttons) display a software keyboard similar to the keys of the calculator 10, and perform calculation processing 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 a plurality of tax rates, for example, five different tax rates. For example, in India, five types of tax rates (0%, 5%, 12%, 18%, and 28%) are used as consumption tax. Therefore, the calculator 10 according to the present embodiment is suitable for tax calculations such as calculating the total amount of products for which five or less types of consumption taxes are mixed in countries such as India.

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

税計算機能キーには、税計算キー([GST+n(TAX-n)])11b、税計算合計キー([GST GT(GT)])11c、税計算モード切替キー([GST+/TAX-])11dが設けられる。ここで、GSTとは、インドの消費税を意味する「Goods and Service Tax」に対する略記号である。また、[ ]内の文字列(ただし、( )内の文字列を除く。)は、各税計算キー11bのキートップに印刷された文字列を示しており、[ ]内のさらに( )内の文字列は、電卓10の筐体正面に印刷された文字列を便宜的に示すものとする。本明細書では、税計算キー11bに限らず、同様の表記とする。 Tax calculation function keys include tax calculation key ([GST+n (TAX-n)]) 11b, tax calculation total key ([GST GT (GT)]) 11c, and tax calculation mode switching key ([GST+/TAX-]). 11d is provided. Here, GST is an abbreviation for "Goods and Service Tax" which means consumption tax in India. In addition, the character strings in [ ] (excluding the character strings in parentheses) indicate the character strings printed on the key top of each tax calculation key 11b. For the sake of convenience, the character string shown in FIG. 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」を用いて便宜的に説明する。 Tax calculation key ([GST+n(TAX-n)]) 11b includes tax 0 calculation key ([GST+0(TAX-0)]) 11b0, 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 included. The tax 0 calculation key ([GST+0 (TAX-0)]) 11b0 is operated to input an instruction to execute tax calculation using a tax rate of 0. Similarly, 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 for executing tax calculation using tax rate 1, tax rate 2, tax rate 3, and tax rate 4, respectively. In this specification, when expressed as the tax calculation key ([GST+n(TAX-n)]) 11b, "n" is used in place of each numerical value from 0 to 4. In this specification, not limited to the tax calculation key 11b, if there is no particular limitation on which number "n" can be among all possible numbers (integers from 0 to 4), a specific number is used. This will be explained using "n" instead of "n" for convenience.

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

なお、税計算キー11b(税n計算キー11b0~11b4)に割り当てられる税率(税率0~税率4)は、電卓10の工場出荷時に予め設定されている。例えば、税n計算キー11b0~11b4には、インドにおける使用に合わせて、5種類の税率(0%、5%、12%、18%、28%)がそれぞれ設定される。また、税n計算キー11b0~11b4に割り当てられる税率(税率0~税率4)は、ユーザ操作によって任意に設定することができる。 Note that 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 types of tax rates (0%, 5%, 12%, 18%, 28%) are respectively set in the tax n calculation keys 11b0 to 11b4 in accordance with use in India. Further, the tax rates (tax rate 0 to tax rate 4) assigned to the tax n calculation keys 11b0 to 11b4 can be arbitrarily set by user operation.

税計算合計キー([GST GT(GT)])11cは、四則計算や定数計算などの通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)と、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)を兼ねる。なお、税計算合計キー11cがGSTグランドトータルキーとして機能する場合、税計算が実行されるとともに、電卓10の処理モードが税合計リコールモード(GST GTリコールモード)へ遷移する。一方、税計算合計キー11cがグランドトータルキーとして機能する場合、電卓10の処理モードは特に遷移するわけではなく、単に、合計メモリエリア22hに記憶されている数値が呼び出され、表示部12に表示される。 The tax calculation total key ([GST GT (GT)]) 11c is the grand total key ([GT] key) for displaying the total for normal calculations (basic calculations) such as four arithmetic calculations and constant calculations, and the tax calculation It also serves as the GST grand total key ([GST GT] key) for displaying the total of the calculation results. Note that when the tax calculation total key 11c functions as a GST grand total key, tax calculation is executed and the processing mode of the calculator 10 changes to 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 change in particular, and the numerical value stored in the total memory area 22h is simply called and displayed on the display unit 12. be done.

税計算合計キー11cは、税計算合計キー11cが操作された直前の動作状態に応じて、グランドトータルキー([GT]キー)あるいはGSTグランドトータルキー([GST GT]キー)の何れかとして機能する。つまり、例えば、税計算キー11bの操作によって税計算が実行された直後に税計算合計キー11cが押下された場合には、税計算キー11bは、税計算の計算結果について総合計を表示させるGSTグランドトータルキー([GST GT]キー)として機能する。また、例えば、演算実行キー([=]キー)11h0の操作によって通常計算が実行された直後に税計算合計キー11cが押下された場合、すなわち、税計算キー11bの操作によって税計算が実行された直後でない場合には、税計算キー11bは、通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)として機能する。なお、ここでの税計算合計キー11cの押下時間は、予め定められた任意の時間よりも短い時間であり、次に述べる「長押し」よりも短い時間である。また、短い時間押下することを、本明細書では便宜的に「短押し」、または通常の押下する操作等と記述する。 The tax calculation total key 11c functions as either a grand total key ([GT] key) or a GST grand total key ([GST GT] key) depending on the operating state immediately before the tax calculation total key 11c was operated. do. That is, for example, if the tax calculation total key 11c is pressed immediately after tax calculation is executed by operating the tax calculation key 11b, the tax calculation key 11b is used to display the GST total for the tax calculation results. Functions as a grand total key ([GST GT] key). Further, for example, if the tax calculation total key 11c is pressed immediately after normal calculation is executed by operating the calculation execution key ([=] key) 11h0, that is, tax calculation is executed by operating the tax calculation key 11b. Otherwise, the tax calculation key 11b functions as a grand total key ([GT] key) for displaying the total for normal calculations (basic calculations). Note that the time for which the tax calculation total key 11c is pressed here is shorter than any predetermined time, and is shorter than the "long press" described below. Further, in this specification, for convenience, pressing down for a short period of time is referred to as a "short pressing" or a normal pressing operation.

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

さらに、税計算キー11bは、税計算キー11bに設定された税率を設定するための税率連続設定処理の実行を指示するために使用される。 Further, the tax calculation key 11b is used to instruct execution of continuous tax rate setting processing for setting the tax rate set in the tax calculation key 11b.

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

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

ラウンドセレクタ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 display of the maximum digit that can be displayed on the display unit 12, including the decimal point. The "CUT" setting specifies truncation of the digit specified by the decimal point selector 11z. The "UP" setting specifies rounding up of the digit specified by the decimal point selector 11z. The "5/4" setting specifies rounding of the digit specified by the decimal point selector 11z. The decimal point selector 11z sets the number of digits below the decimal point to be displayed on the display unit 12. Note that the "ADD2" setting specifies setting the decimal point to a predetermined number of digits for the input numerical value.

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

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

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

また、税計算キーシンボル12cは、税計算キー11bに対して設定された税率0~4を確認して変更するための税率確認処理(後述する)において、税率の確認及び変更の対象として指定された税計算キー11bを示すために使用される。例えば、税込み計算のために税計算キー11bが表示された場合に表示される税率0~4のそれぞれに対応する[GST+0]、[GST+1]、[GST+2]、[GST+3]、[GST+4]を表示する。 In addition, the tax calculation key symbol 12c is designated as a target for checking and changing the tax rate in a tax rate checking process (described later) for checking and changing the tax rates 0 to 4 set for the tax calculation key 11b. This is used to indicate the tax calculation key 11b. For example, when the tax calculation key 11b is displayed for tax-inclusive calculation, [GST+0], [GST+1], [GST+2], [GST+3], and [GST+4] corresponding to the tax rates 0 to 4 are displayed. do.

さらに、税計算キーシンボル12cは、税計算キー11bに対して設定された税率0~4を設定(変更)するための税率連続設定処理(後述する)において、税率の設定(変更)の対象として指定された税計算キー11bの税率nを示すために使用される。例えば、税抜き計算のために税計算キー11bが表示された場合に表示される[TAX-0]、[TAX-1]、[TAX-2]、[TAX-3]、[TAX-4]の表示形態を変更して、税率0~4をそれぞれ[TAX 0]、[TAX 1]、[TAX 2]、[TAX 3]、[TAX 4]のシンボルにより表示するものとする。このシンボルをGSTシンボルと称する。なお、税率連続設定処理と税率確認処理は、何れか一方と同じシンボルを共通して使用するようにしても良い。 Furthermore, the tax calculation key symbol 12c is used as a target for setting (changing) the tax rate in the continuous tax rate setting process (described later) for setting (changing) the tax rates 0 to 4 set for the tax calculation key 11b. It is used to indicate the tax rate n of the specified tax calculation key 11b. For example, [TAX-0], [TAX-1], [TAX-2], [TAX-3], [TAX-4] are displayed when the tax calculation key 11b is displayed for tax-excluding calculation. Assume that the display format is changed to display tax rates 0 to 4 using symbols [TAX 0], [TAX 1], [TAX 2], [TAX 3], and [TAX 4], respectively. This symbol is called the GST symbol. Note that the same symbol may be used in both the tax rate continuous setting process and the tax rate confirmation process.

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

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

設定シンボル12gは、税計算キー11bに対する税率を設定するための処理を実行するモードを示すシンボルであり、例えば[SET]が表示される。 The setting symbol 12g is a symbol indicating a mode in which processing for setting the tax rate for the tax calculation key 11b is executed, and for example, [SET] is displayed.

[%]シンボル12hは、パーセント計算のために[%(SET)]キー11gが操作された場合、及び税計算キー11bに設定された税率0~4を設定(変更)するモード(後述する税率確認モード、税率)に移行したことを示すモードシンボルであり、例えば[%]が表示される。 The [%] symbol 12h is used when the [% (SET)] key 11g is operated for percentage calculation, and when the mode for setting (changing) tax rates 0 to 4 set in the tax calculation key 11b (tax rate rate described later) is displayed. This is a mode symbol indicating that the mode has shifted to confirmation mode (tax rate), and for example, [%] is displayed.

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

図2は、本実施形態における電卓10の電子回路の構成を示すブロック図である。電卓10の電子回路は、CPU21を含む、コンピュータを構成する複数のユニットを備えている。 FIG. 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 a plurality of units that constitute a computer, including a CPU 21.

図2は、本実施形態における電卓10の電子回路の構成を示すブロック図である。電卓10の電子回路は、CPU21を含む、コンピュータを構成する複数のユニットを備えている。 FIG. 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 a plurality of 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 a 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 input key based on the key input signal from the key input unit 11, and executes various calculation processes according to each detected key. do. In the calculator 10, the CPU 21 controls the operation of each part of the circuit according to instructions written in the calculation processing program 22a, and the software and hardware work together to perform the processing by the calculation function described in the operation description below. Achieve calculation processing including

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

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

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

税率1合計メモリエリア22c、税率2合計メモリエリア22d、税率3合計メモリエリア22e、税率4合計メモリエリア22fは、前述した税率0合計メモリエリア22bと同様にして、それぞれの税率1~4に基づいた税計算により算出されるデータを記憶するためのエリアである。詳細な説明については省略する。 The tax rate 1 total memory area 22c, the tax rate 2 total memory area 22d, the tax rate 3 total memory area 22e, and the tax rate 4 total memory area 22f are based on the respective tax rates 1 to 4 in the same manner as the tax rate 0 total memory area 22b described above. This is an area for storing data calculated by tax calculations. 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 total of numerical values calculated by tax calculation based on all tax rates 0 to 4. In the tax total memory area 22g, in accordance with the input operation of the tax calculation total key 11c, the total amount including tax, which is the sum of the 0th to 4th total including tax, the total amount excluding tax corresponding to the total amount including tax, and the total amount including tax The total tax amount corresponding to the total amount is stored.

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

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

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

税計算モードエリア22mは、税計算モード切替キー11dに対する入力操作に応じて切り替えられる、税込み計算モードあるいは税抜き計算モードの何れの状態にあるかを示す税計算モードデータが記憶される。 The tax calculation mode area 22m stores tax calculation mode data indicating whether the tax calculation mode is in a tax-inclusive calculation mode or a tax-exclusive calculation mode, which is switched according 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に記憶されている各数値は、最新の入力操作に応じて、順次上書き更新される。 In the buffer memory area 22n, input numbers are stored in pairs with the last input function to form a unit. Further, the display memory area 22p stores the numerical value displayed on the display unit 12 at that time. For example, if the numerical value "100" is operated as a numeric key and the tax 1 calculation key ([GST+1 (TAX-1)]) 11b1 is operated as a function in sequence, the buffer memory area 22n is stored as a numeric value. The numerical value "100" is stored in the display memory area 22p, and the numerical value "105" which is also displayed on the display unit 12 as a result of the tax-inclusive calculation for the tax rate 1 is stored in the display memory area 22p (however, if the tax rate 1 is 5%), if you did this). In this way, each numerical value stored in the buffer memory area 22n and the display memory area 22p is sequentially overwritten and updated according to the latest input operation.

税率記憶エリア22rは、税計算キー11b(税n計算キー11b0~11b4)のそれぞれに設定された税率0~4を示す数値が記憶される。例えば、税n計算キー11b0~11b4には、工場出荷時に、インドにおける使用に合わせて、5種類の税率(0%、5%、12%、18%、28%)が設定される。この場合、税率記憶エリア22eには、税n計算キー11b0~11b4に対応する税率0~4のそれぞれに対して、「0」、「5」、「12」、「18」、「28」の数値が記憶される。税率記憶エリア22rに記憶された税率0~4のそれぞれを示す数値は、ユーザ操作に応じて読み出されて表示部12に表示され、またユーザ操作によって入力された数値に応じて変更される。 The tax rate storage area 22r stores numerical values indicating tax rates 0 to 4 set for each of the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4). For example, five types of tax rates (0%, 5%, 12%, 18%, 28%) are set for the tax n calculation keys 11b0 to 11b4 at the time of shipment from the factory, depending on the use in India. In this case, the tax rate storage area 22e contains "0", "5", "12", "18", and "28" for each of the tax rates 0 to 4 corresponding to the tax n calculation keys 11b0 to 11b4. The numerical value is memorized. The numerical values representing each of the tax rates 0 to 4 stored in the tax rate storage area 22r are read out and displayed on the display section 12 in response to a user's operation, and are changed in accordance with the numerical value input by the user's operation.

次に、本実施形態における電卓10の動作について説明する。図3及び図4、本実施形態における電卓10の税計算機能(計算処理)の動作を説明するためのフローチャートである。 Next, the operation of the calculator 10 in this embodiment will be explained. 3 and 4 are flowcharts for explaining the operation of the tax calculation function (calculation processing) of the calculator 10 in this embodiment.

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

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

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

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

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

税計算キー11b(税n計算キー11b0~11b4のそれぞれ)は、税込み計算を実行するためのキーと税抜き計算を実行するためのキーを兼ねている。CPU21は、税計算キー11bが操作された場合に、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。ここで、現在の税計算モードが税込み計算モードである場合(ステップA110、税込み)、CPU21は、税込み計算を実行して、税計算の結果をキー操作に応じて表示させる税込み計算処理を実行する(ステップA111)。また、現在の税計算モードが税抜き計算モードである場合(ステップA110、税抜き)、CPU21は、税抜き計算を実行して、税計算の結果をキー操作に応じて表示させる税抜き計算処理を実行する(ステップA112)。 The tax calculation key 11b (each of the tax n calculation keys 11b0 to 11b4) serves as a key for executing tax-inclusive calculations and a key for executing tax-excluding calculations. When the tax calculation key 11b is operated, the CPU 21 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. Here, if the current tax calculation mode is the tax-inclusive calculation mode (step A110, tax included), the CPU 21 executes the tax-inclusive calculation and displays the result of the tax calculation in response to a key operation. (Step A111). Further, if the current tax calculation mode is the tax-excluding calculation mode (step A110, tax-excluding), the CPU 21 executes the tax-excluding calculation and displays the result of the tax calculation according to the key operation. (Step A112).

税込み計算処理では、CPU21は、表示部12に表示された数値(置数)、即ち、表示メモリエリア22pに記憶されている数値を税抜き額として、この数値と、入力操作が行われた税n計算キー11b0~11b4の何れかに設定された税率とを用いて、税込み計算を実行する。税抜き計算処理では、CPU21は、表示部12に表示された数値(置数)、即ち、表示メモリエリア22pに記憶されている数値を税込み額として、この数値と、入力操作が行われた税n計算キー11b0~11b4の何れかに設定された税率とを用いて、税抜き計算を実行する。 In the tax-inclusive calculation process, the CPU 21 uses the numerical value (set number) displayed on the display unit 12, that is, the numerical value stored in the display memory area 22p as the tax-excluding amount, and calculates this numerical value and the tax for which the input operation was performed. A tax-inclusive calculation is executed using the tax rate set in any of the n calculation keys 11b0 to 11b4. In the tax-excluding calculation process, the CPU 21 uses the numerical value (input number) displayed on the display unit 12, that is, the numerical value stored in the display memory area 22p as the tax-included amount, and uses this numerical value and the tax input operation. Excluding tax calculation is executed using the tax rate set in any of the n calculation keys 11b0 to 11b4.

なお、税計算モードは、税計算モード切替キー11dの操作によって切り替えられる。CPU21は、税計算モード切替キー11dの操作を検出した場合(ステップA14:Yes)、税計算モードエリア22mを参照して、現在の税計算モードが、税込み計算モードと税抜き計算モードの何れであるかを判別する。 Note that the tax calculation mode can be 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 A14: Yes), the CPU 21 refers to the tax calculation mode area 22m and determines whether the current tax calculation mode is a tax-inclusive calculation mode or a tax-exclusive calculation mode. Determine if there is.

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

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

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

また、[AC]キー11aの入力操作の直後に、税計算キー11b(税n計算キー11b0~11b4の何れか)に対する入力操作を検出した場合(ステップA19:Yes→A117:Yes)、CPU21は、税率確認モード(設定モード)に移行して、入力操作が行われた税n計算キー11b0~11b4の何れかに対して設定された税率を表示部12に表示させる税率確認処理を実行する(ステップA118)。税率確認処理は、税計算キー11b(税n計算キー11b0~11b4の何れか)に対する連続する入力操作によって、税計算キー11bに対して設定された税率0~4を連続的に表示させるとともに、表示された税率0~4を変更することができる。税率確認処理の詳細については後述する(図5、図6)。 Further, if an input operation on the tax calculation key 11b (any of the tax n calculation keys 11b0 to 11b4) is detected immediately after the input operation on the [AC] key 11a (step A19: Yes → A117: Yes), the CPU 21 , shifts to the tax rate confirmation mode (setting mode) and executes a tax rate confirmation process to display on the display unit 12 the tax rate set for any of the tax n calculation keys 11b0 to 11b4 for which an input operation has been performed ( Step A118). In the tax rate confirmation process, by successive input operations on the tax calculation key 11b (any of the tax n calculation keys 11b0 to 11b4), the tax rates 0 to 4 set for the tax calculation key 11b are continuously displayed, and The displayed tax rates 0 to 4 can be changed. Details of the tax rate confirmation process will be described later (FIGS. 5 and 6).

また、[AC]キー11aの入力操作の直後に、[%(SET)]キー11gが、通常の操作方法とは異なる操作方法、例えば、長押しする操作が行われ(ステップA120:Yes、A121:Yes、A123:Yes)、さらに税計算合計キー11cが操作された場合(ステップA124:Yes)、CPU21は、税率連続設定処理モードに移行して、税計算キー11b(税n計算キー11b0~11b4)のそれぞれに設定された税率0~4を、入力操作に応じて連続的に変更することができる税率連続設定処理を実行する(ステップA125)。税率連続設定処理の詳細については後述する(図7~図16)。 Immediately after the input operation of the [AC] key 11a, the [% (SET)] key 11g is operated in a different manner from the normal operation method, for example, by long pressing (step A120: Yes, A121 : Yes, A123: Yes), and if the tax calculation total key 11c is further operated (step A124: Yes), the CPU 21 shifts to the tax rate continuous setting processing mode and presses the tax calculation keys 11b (tax n calculation keys 11b0 to A continuous tax rate setting process is executed in which the tax rates 0 to 4 set for each of 11b4) can be changed continuously according to input operations (step A125). Details of the continuous tax rate setting process will be described later (FIGS. 7 to 16).

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

CPU21は、税計算合計キー11cの操作を検出した場合(ステップA21:Yes)、税計算キー11bの操作に応じて税計算した直後に税計算合計キー11cが操作されたか、言い換えると、税計算キー11bの操作に続けて税計算合計キー11cが操作されたかを判別する。 When the CPU 21 detects the operation of the tax calculation total key 11c (step A21: Yes), the CPU 21 determines whether the tax calculation total key 11c has been operated immediately after tax calculation according to the operation of the tax calculation key 11b, in other words, whether the tax calculation total key 11c has been operated. It is determined whether the tax calculation total key 11c has been operated subsequent to the operation of the key 11b.

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

この場合、CPU21は、税率別税合計メモリエリア22b~22fに記憶された各税率0~4をもとに算出された税込み額、税抜合計額、税合計額をもとに、それぞれを合計した税込総合計額、税抜総合計額、税総合計額を算出して税合計メモリエリア22gに記憶させる。また、CPU21は、算出した税込総合計額を表示メモリエリア22pに記憶させるとともに、表示部12に表示させる(ステップA29)。 In this case, the CPU 21 totals the tax-included amount, tax-excluded total amount, and tax total amount calculated based on the tax rates 0 to 4 stored in the tax rate-specific tax total memory areas 22b to 22f. The tax-included total amount, tax-excluded total amount, and tax total amount are calculated and stored in the tax total memory area 22g. Further, the CPU 21 stores the calculated total amount including tax 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)。 If the tax calculation total key 11c is operated while the tax-included total amount is displayed (step A29) (step A210: Yes), the CPU 21 reads the tax-excluded total amount from the tax total memory area 22g, It is stored in the display memory area 22p and displayed on the display unit 12 instead of the total amount including tax (step A211).

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

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

すなわち、本実施形態における電卓10は、税計算合計キー11cの操作に応じて税込総合計額を算出し、税計算合計キー11cに対する操作毎に、税込総合計額、税込総合計額に対応する税抜総合計額、税込総合計額に対応する税総合計額に、順次、表示を切り替えることができる。よって、税込総合計額、税抜総合計額、税総合計額を容易に確認することができる。 That is, the calculator 10 in this embodiment calculates the total tax-inclusive amount according to the operation of the tax calculation total key 11c, and corresponds to the tax-inclusive total amount and the tax-inclusive total amount for each operation on the tax calculation total key 11c. The display can be sequentially switched to the tax total amount corresponding to the tax-excluding total amount and the tax-included total amount. 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 the tax calculation total key 11c was pressed was not tax calculation, that is, the tax calculation total key 11c was operated immediately after normal calculation (step A26: No), the total memory area The numerical value that is the result of the normal calculation stored in 22h is read out, stored in the display memory area 22p, and displayed on the display unit 12 (step A27). That is, the tax calculation total key 11c, which is operated immediately after normal calculation, is used as a grand total key ([GT] key) for displaying the total calculated by normal calculation.

こうして、本実施形態における電卓10では、限られた面積の筐体正面において1つの税計算合計キー11cを設け、グランドトータルキー([GT]キー)と、GSTグランドトータルキー([GST GT]キー)として兼用する。税計算合計キー11cは、直前の状態(税計算直後、通常計算直後)に応じて機能が切り替えられるため、税計算の総合計(税込総合計額、税抜総合計額、税合計額)と通常計算の総合計とを容易に表示させることができる。
次に、本実施形態における税率確認処理について説明する。図5は、本実施形態における税率確認処理を説明するためのフローチャート、図6は、税率確認処理におけるキー操作と表示の具体例を示す図である。
In this way, in the calculator 10 according to the present embodiment, one tax calculation total key 11c is provided on the front surface of the case with a limited area, and a grand total key ([GT] key) and a GST grand total key ([GST GT] key) are provided. ). The function of the tax calculation total key 11c can be switched depending on the previous state (immediately after tax calculation, immediately after normal calculation), so it can be used to display the total tax calculation total (total amount including tax, total amount excluding tax, total amount including tax). The total sum of normal calculations can be easily displayed.
Next, the tax rate confirmation process in this embodiment will be explained. FIG. 5 is a flowchart for explaining the tax rate confirmation process in this embodiment, and FIG. 6 is a diagram showing a specific example of key operations and displays in the tax rate confirmation process.

CPU21は、[AC]キー11aの入力操作の直後の税計算キー11bの操作に応じて、税率確認モードに移行する。CPU21は、税率確認処理において使用されるキー以外(例えば[AC]キー11a)のキー操作がされるまで税率確認モード(設定モード)を維持する。CPU21は、税率確認モードの状態において、以下に説明する処理を継続して実行する。 The CPU 21 shifts to the tax rate confirmation mode in response to the operation of the tax calculation key 11b immediately after the input operation of the [AC] key 11a. The CPU 21 maintains the tax rate confirmation mode (setting mode) until a key other than the key used in the tax rate confirmation process (for example, the [AC] key 11a) is operated. In the tax rate confirmation mode, the CPU 21 continues to execute the processing described below.

CPU21は、[AC]キー11aの入力操作の直後に操作された税計算キー11b(税n計算キー11b0~11b4)が操作されたことを検出すると(ステップB10:Yes)、税率確認モードに移行したことを示すように[%]シンボル12hを表示部12に表示させるとともに、操作された税計算キー11bを示す税計算キーシンボル12cを表示させる。 When the CPU 21 detects that the tax calculation key 11b (tax n calculation keys 11b0 to 11b4) has been operated immediately after the input operation of the [AC] key 11a (step B10: Yes), the CPU 21 shifts to the tax rate confirmation mode. A [%] symbol 12h is displayed on the display unit 12 to indicate that the tax calculation key 11b has been operated, and a tax calculation key symbol 12c is displayed to indicate the operated tax calculation key 11b.

CPU21は、操作された税計算キー11b(税n計算キー11b0~11b4)に対して設定された税率nを、メモリ22の税率記憶エリア22rから読み出して(ステップB11)、表示部12において表示させる(ステップB12)。 The CPU 21 reads out the tax rate n set for the operated tax calculation key 11b (tax n calculation keys 11b0 to 11b4) from the tax rate storage area 22r of the memory 22 (step B11), and displays it on the display unit 12. (Step B12).

同様にして、何れかの税計算キー11bが操作された場合(ステップB10:Yes)、CPU21は、操作された税計算キー11bに対して設定された税率nを、メモリ22の税率記憶エリア22rから読み出して(ステップB11)、表示部12において表示させる(ステップB12)。 Similarly, when any tax calculation key 11b is operated (step B10: Yes), the CPU 21 stores the tax rate n set for the operated tax calculation key 11b in the tax rate storage area 22r of the memory 22. (Step B11) and display it on the display section 12 (Step B12).

すなわち、税率確認モードでは、税計算キー11b(税n計算キー11b0~11b4)の何れかを連続して操作することで、それぞれの税計算キー11bに対して設定された税率0~4を連続的に切り替えて表示させることができる。これにより、複数の税計算キー11b(税n計算キー11b0~11b4)に対して設定された税率nを簡単に確認することができる。 That is, in the tax rate confirmation mode, by successively operating any of the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4), the tax rates 0 to 4 set for each tax calculation key 11b are successively displayed. You can switch the display accordingly. Thereby, the tax rate n set for the plurality of tax calculation keys 11b (tax n calculation keys 11b0 to 11b4) can be easily confirmed.

図6に示すキー操作例では、[AC]キー11aが操作された直後に、税4計算キー([GST+4(TAX-4)])11b4が操作されている。CPU21は、[AC]キー11aの操作に応じて数値「0」を表示させ、税4計算キー11b4の操作に応じて、税率確認モードに移行したことを示す[%]シンボル12hを表示させるとともに、税4計算キー11b4に対応する税計算キーシンボル12c[GST+4]を表示させる。そして、CPU21は、税4計算キー11b4に対して、現在設定されている税率4を示す数値「28」を表示させる。 In the key operation example shown in FIG. 6, the tax 4 calculation key ([GST+4 (TAX-4)]) 11b4 is operated immediately after the [AC] key 11a is operated. The CPU 21 causes the numerical value "0" to be displayed in response to the operation of the [AC] key 11a, and displays the [%] symbol 12h indicating that the mode has been shifted to the tax rate confirmation mode in response to the operation of the tax 4 calculation key 11b4. , the tax calculation key symbol 12c [GST+4] corresponding to the tax 4 calculation key 11b4 is displayed. Then, the CPU 21 causes the tax 4 calculation key 11b4 to display the numerical value "28" indicating the currently set tax rate 4.

図6に示すキー操作例では、続けて、税1計算キー11b1、税3計算キー11b3、税2計算キー11b2、税0計算キー11b0が操作されたことを示している。この場合、CPU21は、税1計算キー11b1の操作に応じて、税計算キーシンボル12c[GST+1]とともに税率1を示す数値「5」を表示させ、税3計算キー11b3の操作に応じて、税計算キーシンボル12c[GST+3]とともに税率1を示す数値「18」を表示させ、税2計算キー11b2の操作に応じて、税計算キーシンボル12c[GST+2]とともに税率2を示す数値「12」を表示させ、税0計算キー11b0の操作に応じて、税計算キーシンボル12c[GST+0]とともに税率1を示す数値「0」を表示させる。 The key operation example shown in FIG. 6 shows that the tax 1 calculation key 11b1, the tax 3 calculation key 11b3, the tax 2 calculation key 11b2, and the tax 0 calculation key 11b0 are successively operated. In this case, in response to the operation of the tax 1 calculation key 11b1, the CPU 21 displays the numerical value "5" indicating the tax rate 1 together with the tax calculation key symbol 12c [GST+1], and in response to the operation of the tax 3 calculation key 11b3, The numerical value "18" indicating the tax rate 1 is displayed together with the calculation key symbol 12c [GST+3], and the numerical value "12" indicating the tax rate 2 is displayed together with the tax calculation key symbol 12c [GST+2] in response to the operation of the tax 2 calculation key 11b2. Then, in response to the operation of the tax 0 calculation key 11b0, the numerical value "0" indicating the tax rate 1 is displayed together with the tax calculation key symbol 12c [GST+0].

CPU21は、税率0~4の何れかを示す数値が表示された状態において、数値キーが操作されたことを検出すると(ステップB13:Yes)、数値キーに応じて入力された数値をメモリ22に一時記憶させるとともに、入力された数値を表示部12に表示させる(ステップB14)。すなわち、税率nが表示された状態において数値キーを操作することで、変更後の新税率nを示す数値を入力することができる。 When the CPU 21 detects that a numeric key has been operated while a numeric value indicating one of the tax rates 0 to 4 is displayed (step B13: Yes), the CPU 21 stores the numeric value input according to the numeric key in the memory 22. The input numerical value is temporarily stored and displayed on the display unit 12 (step B14). That is, by operating the numerical keys while the tax rate n is displayed, it is possible to input a numerical value indicating the new tax rate n after the change.

ここで、[%(SET)]キー11gが操作されたことを検出すると(ステップB15:Yes)、CPU21は、入力された数値による税率nの設定が指示されたものと判別し、設定シンボル12g「SET」をさらに表示させ、入力された数値によって税率記憶エリア22rに記憶された税率nを変更する。 Here, when it is detected that the [% (SET)] key 11g has been operated (step B15: Yes), the CPU 21 determines that an instruction has been given to set the tax rate n using the input numerical value, and the setting symbol 12g "SET" is further displayed, and the tax rate n stored in the tax rate storage area 22r is changed according to the input value.

一方、CPU21は、[%(SET)]キー11gが操作されたことを検出しなければ(ステップB15:No)、税計算合計キー11cが操作されたかどうかを判別する(ステップB17)。税計算合計キー11cが操作されたことを検出すると(ステップB17:Yes)、CPU21は、複数の税n計算キー11b0~11b4にそれぞれ設定されている全ての税率を、順次、自動的に読み出して表示する(ステップB18)。その後、CPU21は、キー操作の待機状態へ移る。 On the other hand, if the CPU 21 does not detect that the [% (SET)] key 11g has been operated (step B15: No), it determines whether the tax calculation total key 11c has been operated (step B17). When detecting that the tax calculation total key 11c has been operated (step B17: Yes), the CPU 21 automatically reads out all the tax rates respectively set in the plurality of tax n calculation keys 11b0 to 11b4 in sequence. Display (step B18). Thereafter, the CPU 21 shifts to a key operation standby state.

図6に示すキー操作例では、税0計算キー11b0に対応する税率0を示す数値「0」が表示された状態において、新税率nのために数値「3」が入力されている。CPU21は、[%(SET)]キー11gの操作に応じて、税率記憶エリア22rに記憶された税率0を「3」に変更する。 In the key operation example shown in FIG. 6, the numerical value "3" is input for the new tax rate n while the numerical value "0" indicating the tax rate 0 corresponding to the zero tax calculation key 11b0 is displayed. The CPU 21 changes the tax rate 0 stored in the tax rate storage area 22r to "3" in response to the operation of the [% (SET)] key 11g.

さらに、税計算キー11bが操作された場合、CPU21は、前述と同様にして、操作された税計算キー11bに対して設定された税率nを表示させることができる(ステップB10:Yes、ステップB11)。従って、前述と同様にして、新税率nを示す数値を数値キーの操作により入力することで、表示中の税率nを変更することができる(ステップB13:Yes、ステップB14、ステップB15:Yes、ステップB16)。 Further, when the tax calculation key 11b is operated, the CPU 21 can display the tax rate n set for the operated tax calculation key 11b in the same manner as described above (step B10: Yes, step B11 ). Therefore, in the same way as described above, the displayed tax rate n can be changed by inputting a numerical value indicating the new tax rate n by operating the numerical keys (step B13: Yes, step B14, step B15: Yes, Step B16).

図6に示すキー操作例では、税4計算キー11b4に対応する税率4を示す数値「28」が表示された状態において、新税率nのために数値「30」が入力され、[%(SET)]キー11gの操作により設定が指示されている。従って、CPU21は、税率記憶エリア22rに記憶された税率4を「30」に変更する。 In the key operation example shown in FIG. 6, when the numerical value "28" indicating the tax rate 4 corresponding to the tax 4 calculation key 11b4 is displayed, the numerical value "30" is input for the new tax rate n, and the [%(SET )] setting is instructed by operating the key 11g. Therefore, the CPU 21 changes the tax rate 4 stored in the tax rate storage area 22r to "30".

このようにして、税率確認モードの状態においては、任意に選択した税計算キー11bに対する操作に応じて、税計算キー11bに対して設定されている現在の税率を任意に表示させることができ、さらに数値の入力によって現在表示中の税率を変更することができる。すなわち、1つの税計算キー11bに対して設定された税率を確認し、税率を変更する場合に、その都度、税率を確認するための処理、税率を変更する処理の実行を指示する必要がないため、税計算キー11bに設定された税率の管理作業を容易にすることができる。また、税率確認モードの状態において、税計算合計キー11cが操作されれば、複数の税n計算キー11b0~11b4にそれぞれ設定されている全ての税率を、順次、自動的に読み出して表示する。すなわち、複数の税n計算キー11b0~11b4に対してそれぞれ設定された税率を確認する場合に、税率毎に、税率を確認するための処理の実行を指示する必要がないため、複数の税n計算キー11b0~11b4に設定された税率の管理作業を容易にすることができる。 In this way, in the tax rate confirmation mode, the current tax rate set for the tax calculation key 11b can be arbitrarily displayed in accordance with the operation on the arbitrarily selected tax calculation key 11b. Furthermore, the currently displayed tax rate can be changed by entering a numerical value. In other words, when checking the tax rate set for one tax calculation key 11b and changing the tax rate, there is no need to instruct execution of processing for checking the tax rate and processing for changing the tax rate each time. Therefore, it is possible to easily manage the tax rate set in the tax calculation key 11b. Furthermore, when the tax calculation total key 11c is operated in the tax rate confirmation mode, all tax rates set in the plurality of tax n calculation keys 11b0 to 11b4 are automatically read out and displayed one after another. That is, when checking the tax rates set for each of the multiple tax n calculation keys 11b0 to 11b4, there is no need to instruct execution of processing for checking the tax rate for each tax rate. It is possible to easily manage the tax rates set in the calculation keys 11b0 to 11b4.

次に、本実施形態における税率連続設定処理について説明する。本実施形態における電卓10では、以下に説明する第1~第5の方法の何れかによる税率連続設定処理を実行することが可能である。 Next, the continuous tax rate setting process in this embodiment will be explained. The calculator 10 in this embodiment is capable of executing continuous tax rate setting processing using any of the first to fifth methods described below.

まず、第1の方法による税率連続設定処理について説明する。図7は、本実施形態における第1の方法による税率連続設定処理を説明するためのフローチャート、図8は、第1の方法による税率連続設定処理におけるキー操作と表示の具体例を示す図である。 First, the continuous tax rate setting process using the first method will be explained. FIG. 7 is a flowchart for explaining the continuous tax rate setting process according to the first method in this embodiment, and FIG. 8 is a diagram showing a specific example of key operations and displays in the continuous tax rate setting process according to the first method. .

CPU21は、[AC]キー11aの入力操作の直後に、[%(SET)]キー11gが長押しする操作がされ、さらに税計算合計キー11cが操作された場合に、税率連続設定処理モードに移行する。CPU21は、税率連続設定処理において使用されるキー以外(例えば[AC]キー11a)のキー操作がされるまで税率連続設定モード(設定モード)を維持する。CPU21は、税率連続設定モードの状態において、以下に説明する処理を継続して実行する。 The CPU 21 enters the continuous tax rate setting processing mode when the [% (SET)] key 11g is pressed for a long time immediately after the input operation of the [AC] key 11a, and the tax calculation total key 11c is further operated. Transition. The CPU 21 maintains the continuous tax rate setting mode (setting mode) until a key other than the key used in the continuous tax rate setting process (for example, the [AC] key 11a) is operated. The CPU 21 continuously executes the processing described below in the continuous tax rate setting mode.

CPU1は、[AC]キー11aの入力操作の直後に、[%(SET)]キー11gが長押しする操作がされたことを検出すると、税率設定モードに移行したことを示すように[%]シンボル12hを表示部12に表示させる。さらに、税計算合計キー11cが操作されたことを検出すると、CPU21は、税率連続設定モードに移行したことを示すように設定シンボル12g[SET]を表示部12に表示させるとともに、全ての税率0~4を変更対象としていることを表すように、表示部12のステップ数12aを[ALL]に表示させる。 When the CPU 1 detects that the [% (SET)] key 11g is pressed for a long time immediately after the input operation of the [AC] key 11a, the CPU 1 inputs [%] to indicate that the mode has shifted to the tax rate setting mode. The symbol 12h is displayed on the display section 12. Further, when detecting that the tax calculation total key 11c has been operated, the CPU 21 displays a setting symbol 12g [SET] on the display unit 12 to indicate that the tax rate continuous setting mode has been entered, and also displays all tax rates of 0. The step number 12a on the display section 12 is displayed as [ALL] to indicate that the change target is 4 to 4.

第1の方法による税率連続設定処理では、税計算キー11bに設定される複数の税率0~4についての変更の順番が、例えば、税率0、税率1、税率2、税率3、税率4に予め設定されているものとする。 In the continuous tax rate setting process using the first method, the order of changing the multiple tax rates 0 to 4 set in the tax calculation key 11b is, for example, tax rate 0, tax rate 1, tax rate 2, tax rate 3, tax rate 4 in advance. It is assumed that this has been set.

CPU21は、変更の順番に従って、税率nを変更対象に設定する(最初は税率0を設定する)。CPU21は、数値キーが操作されたことを検出すると(ステップC11:Yes)、数値キーに応じて入力された数値をメモリ22に一時記憶させるとともに(ステップC12)、税率nに対する新税率入力中状態を設定する(ステップC13)。また、CPU21は、現在、変更対象として設定されている税率nを示すGSTシンボル[TAX n]を表示させる(ステップC14)。 The CPU 21 sets the tax rate n to be changed according to the order of change (initially, the tax rate is set to 0). When the CPU 21 detects that the numeric key has been operated (step C11: Yes), the CPU 21 temporarily stores the numeric value input according to the numeric key in the memory 22 (step C12), and returns to a state where a new tax rate is being input for tax rate n. is set (step C13). Further, the CPU 21 displays a GST symbol [TAX n] indicating the tax rate n currently set as a change target (step C14).

CPU21は、数値キーの操作により入力された、新税率nを示す数値を表示部12に表示させる(ステップC15)。 The CPU 21 causes the display unit 12 to display a numerical value indicating the new tax rate n input by operating the numerical keys (step C15).

すなわち、税率連続設定モードに移行に移行した後、数値キーを操作することで、変更後の新税率nを示す数値を入力することができる。 That is, after shifting to the continuous tax rate setting mode, by operating the numerical keys, it is possible to input a numerical value indicating the new tax rate n after the change.

ここで、[%(SET)]キー11gが操作されたことを検出すると(ステップC16:Yes)、CPU21は、新税率入力状態が設定されていれば(ステップC17:Yes)、入力された数値による税率nの設定が指示されたものと判別し、設定シンボル12g「SET」を消去し、入力された数値によって税率記憶エリア22rに記憶された税率nを変更する(ステップC18)。 Here, when it is detected that the [% (SET)] key 11g has been operated (step C16: Yes), the CPU 21 controls the input value if the new tax rate input state has been set (step C17: Yes). It is determined that setting of the tax rate n has been instructed, the setting symbol 12g "SET" is deleted, and the tax rate n stored in the tax rate storage area 22r is changed according to the input value (step C18).

なお、数値が入力された後に[%(SET)]キー11g以外のキーが操作された場合(ステップC16:No)、及び数値が入力される前に[%(SET)]キー11gが操作された場合(ステップC17:No)には、CPU21は、税率連続設定モード(税率連続設定処理)を終了する。 Note that if a key other than the [% (SET)] key 11g is operated after the numerical value is input (step C16: No), or if the [% (SET)] key 11g is operated before the numerical value is input. If so (step C17: No), the CPU 21 ends the continuous tax rate setting mode (continuous tax rate setting process).

CPU21は、入力された数値により税率nの設定(変更)が完了すると、変更の順番に従って、次の税率(n+1)を変更対象に設定する(ステップC19)。 When the CPU 21 completes setting (changing) the tax rate n based on the input numerical value, the CPU 21 sets the next tax rate (n+1) to be changed according to the order of change (step C19).

ここで、全ての税率について設定が完了している場合(ステップC110:Yes)、CPU21は、税率連続設定モード(税率連続設定処理)を終了する。一方、全ての税率について設定が完了していない場合(ステップC110:No)、CPU21は、前述と同様にして、次の変更対象として設定された税率nに対する新税率nを示す数値を入力し(ステップC11~C15)、[%(SET)]キー11gの操作に応じて新税率nにより税率nを更新する。 Here, if the settings for all tax rates have been completed (step C110: Yes), the CPU 21 ends the continuous tax rate setting mode (continuous tax rate setting process). On the other hand, if the settings for all tax rates have not been completed (step C110: No), the CPU 21 inputs a numerical value indicating the new tax rate n for the tax rate n set as the next change target, in the same manner as described above ( In steps C11 to C15), the tax rate n is updated with the new tax rate n in response to the operation of the [% (SET)] key 11g.

すなわち、第1の方法による税率連続設定処理では、税率連続設定モードにおいて、新税率nを示す数値の入力、新税率nの変更を指示する[%(SET)]キー11gの操作を繰り返すことで、予め設定された順番で税率0~4の数値を変更することができる。 That is, in the continuous tax rate setting process according to the first method, in the continuous tax rate setting mode, by repeatedly inputting a numerical value indicating a new tax rate n and operating the [% (SET)] key 11g to instruct a change in the new tax rate n. , the numerical values of tax rates 0 to 4 can be changed in a preset order.

図8に示す入力操作の例では、税率0が変更対象として設定された状態において、数値キーの操作により数値「1」「2」が順に入力され、新税率0とする数値「12」が入力される例を示している。この時、GSTシンボルとして、税率0を示す[TAX 0]が表示される。新税率0とする数値「12」が表示された状態で、[%(SET)]キー11gが操作されることで、数値「12」により税率0の数値が変更される。税率0の数値が変更されると、次に税率1が変更対象として設定される。 In the example of the input operation shown in Figure 8, with the tax rate 0 set as the change target, the numbers "1" and "2" are entered in order by operating the numeric keys, and the number "12", which is the new tax rate 0, is entered. An example is shown below. At this time, [TAX 0] indicating a tax rate of 0 is displayed as the GST symbol. By operating the [% (SET)] key 11g with the value "12" representing the new tax rate of 0 being displayed, the value of the tax rate of 0 is changed to the value "12". When the numerical value of tax rate 0 is changed, tax rate 1 is next set as the change target.

図8に示す入力操作の例では、以下、同様にして、税率1に対して新税率1を示す数値「23」が入力された後、[%(SET)]キー11gが操作されることで数値「23」により税率1が変更され、税率2に対して新税率2を示す数値「34」が入力された後、[%(SET)]キー11gが操作されることで数値「34」により税率2が変更され、税率3に対して新税率3を示す数値「45」が入力された後、[%(SET)]キー11gが操作されることで数値「45」により税率3が変更され、税率4に対して新税率4を示す数値「56」が入力された後、[%(SET)]キー11gが操作されることで数値「56」により税率4が変更される。 In the example of the input operation shown in FIG. 8, the numerical value "23" indicating the new tax rate 1 is input for the tax rate 1, and then the [% (SET)] key 11g is operated. After the tax rate 1 is changed by the numerical value "23" and the numerical value "34" indicating the new tax rate 2 is input for the tax rate 2, the numerical value "34" is changed by operating the [% (SET)] key 11g. After the tax rate 2 is changed and the numerical value "45" indicating the new tax rate 3 is input for the tax rate 3, the tax rate 3 is changed to the numerical value "45" by operating the [% (SET)] key 11g. After inputting the numerical value "56" indicating the new tax rate 4 for the tax rate 4, the tax rate 4 is changed to the numerical value "56" by operating the [% (SET)] key 11g.

このようにして、第1の方法による税率連続設定処理では、数値キーによる新税率nを示す数値の入力、[%(SET)]キー11gの操作による新税率nの変更を指示のみで複数の税率0~4を変更できるので、税計算キー11bに設定された税率0~4の管理作業を容易にすることができる。 In this way, in the continuous tax rate setting process using the first method, multiple inputs can be made by simply inputting a numerical value indicating the new tax rate n using the numeric keys and changing the new tax rate n by operating the [% (SET)] key 11g. Since the tax rates 0 to 4 can be changed, it is possible to easily manage the tax rates 0 to 4 set in the tax calculation key 11b.

次に、第2の方法による税率連続設定処理について説明する。図9は、本実施形態における第2の方法による税率連続設定処理を説明するためのフローチャート、図10は、第2の方法による税率連続設定処理におけるキー操作と表示の具体例を示す図である。 Next, the continuous tax rate setting process using the second method will be explained. FIG. 9 is a flowchart for explaining the continuous tax rate setting process according to the second method in this embodiment, and FIG. 10 is a diagram showing a specific example of key operations and displays in the continuous tax rate setting process according to the second method. .

なお、第2の方法による税率連続設定処理は、図9に示すフローチャートのステップC21~C210における処理が、第1の方法を示すフローチャートのステップC11~C110の処理と同様に実行されるものとして詳細な説明を省略する。 The continuous tax rate setting process according to the second method will be described in detail assuming that the processes in steps C21 to C210 in the flowchart shown in FIG. 9 are executed in the same way as the processes in steps C11 to C110 in the flowchart showing the first method. Omit detailed explanation.

第2の方法の税率連続設定処理では、税率nについて新税率nの数値により変更した場合、CPU21は、変更済みの新税率nを一定時間(例えば、1秒間)表示させた後(ステップC211)、次に変更対象として設定された税率(n+1)の現在の数値を税率記憶エリア22rから読み出し、表示部12に表示させる(ステップC212)。 In the second method of continuous tax rate setting processing, when the tax rate n is changed by the value of the new tax rate n, the CPU 21 displays the changed new tax rate n for a certain period of time (for example, 1 second) (step C211). Next, the current numerical value of the tax rate (n+1) set as a change target is read from the tax rate storage area 22r and displayed on the display unit 12 (step C212).

図10に示すキー操作の例では、税率0に対して、入力された新税率0を示す数値「12」に変更した後、一定時間が経過した後(1秒後)に、次の変更対象とする税率1に設定されている現在の数値「5」を表示させている。同様にして、税率1を変更した後に、税率2に設定されている現在の数値「12」を表示させ、税率2を変更した後に、税率3に設定されている現在の数値「18」を表示させ、税率3を変更した後に、税率4に設定されている現在の数値「28」を表示させている。 In the key operation example shown in Figure 10, after changing the tax rate 0 to the input value "12" indicating the new tax rate 0, after a certain period of time (1 second), the next change target is changed. The current value "5" set for the tax rate 1 is displayed. Similarly, after changing tax rate 1, display the current value "12" set for tax rate 2, and after changing tax rate 2, display the current value set for tax rate 3, "18". After changing the tax rate 3, the current value "28" set for the tax rate 4 is displayed.

このようにして、第2の方法による税率連続設定処理では、第1の方法による効果に加えて、さらに次に設定対象とする税計算キー11bに設定されている現在の税率を表示させることで、変更対象とする税率を確認した上で、新税率とする数値の入力を入力することができる。従って、新税率への変更作業の誤りを低減して、税計算キー11bに設定された税率0~4の管理作業を容易にすることができる。 In this way, in the continuous tax rate setting process using the second method, in addition to the effects of the first method, the current tax rate set in the tax calculation key 11b to be set next is displayed. After confirming the tax rate to be changed, you can input the numerical value for the new tax rate. Therefore, errors in changing to a new tax rate can be reduced, and management of the tax rates 0 to 4 set in the tax calculation key 11b can be facilitated.

次に、第3の方法による税率連続設定処理について説明する。図11は、本実施形態における第3の方法による税率連続設定処理を説明するためのフローチャート、図12は、第3の方法による税率連続設定処理におけるキー操作と表示の具体例を示す図である。 Next, the continuous tax rate setting process according to the third method will be explained. FIG. 11 is a flowchart for explaining the continuous tax rate setting process according to the third method in this embodiment, and FIG. 12 is a diagram showing a specific example of key operations and displays in the continuous tax rate setting process according to the third method. .

なお、第3の方法による税率連続設定処理は、図11に示すフローチャートのステップC31~C310における処理が、第1の方法を示すフローチャートのステップC11~C110の処理と同様に実行されるものとして詳細な説明を省略する。 It should be noted that the continuous tax rate setting process according to the third method is explained in detail assuming that the processes in steps C31 to C310 of the flowchart shown in FIG. 11 are executed in the same way as the processes in steps C11 to C110 of the flowchart showing the first method. Omit detailed explanation.

第3の方法の税率連続設定処理では、第2の方法と同様にして、税率nについて新税率nの数値により変更した場合、CPU21は、変更済みの新税率nを一定時間(例えば、1秒間)表示させる。CPU21は、一定時間が経過したと判別した場合(ステップC312:Yes)、次に変更対象として設定された税率(n+1)の現在の数値を税率記憶エリア22rから読み出し、表示部12に表示させる(ステップC314)。 In the third method of continuous tax rate setting processing, when the tax rate n is changed by the value of the new tax rate n in the same way as the second method, the CPU 21 sets the changed new tax rate n for a certain period of time (for example, 1 second). ) to be displayed. If the CPU 21 determines that a certain period of time has elapsed (step C312: Yes), the CPU 21 reads out the current numerical value of the tax rate (n+1) set as the change target from the tax rate storage area 22r and displays it on the display unit 12 ( Step C314).

ただし、CPU21は、一定時間が経過したと判別するまでの間、キー入力部11のキーに対する入力操作を監視(キーサンプル)する。CPU21は、一定時間が経過するまでの間に、キー操作を検出した場合(ステップC311:Yes)、キー操作が税率設定のための有効キーの操作であるか判別する。ここでは、新税率nを入力するための数値キーを有効キーとする。 However, the CPU 21 monitors input operations on the keys of the key input section 11 (key samples) until it is determined that a certain period of time has elapsed. If the CPU 21 detects a key operation before a certain period of time has elapsed (step C311: Yes), the CPU 21 determines whether the key operation is a valid key operation for setting the tax rate. Here, the numeric keys for inputting the new tax rate n are assumed to be valid keys.

CPU21は、有効キーに対する操作ではないと判別した場合(ステップC313:No)、一定時間の経過の監視を継続する。一方、CPU21は、有効キー(数値キー)に対する操作であると判別した場合(ステップC313:Yes)、前述のようにして、新税率nのための新税率入力中状態に移行する(ステップC31~C35)。 If the CPU 21 determines that the operation is not a valid key (step C313: No), it continues monitoring the elapse of a certain period of time. On the other hand, if the CPU 21 determines that the operation is on a valid key (numeric key) (step C313: Yes), the CPU 21 shifts to a new tax rate input state for the new tax rate n (steps C31 to C35).

図12に示すキー操作の例では、税率0に対して、入力された新税率0を示す数値「12」に変更した後、一定時間が経過した場合には(1秒後)に、次の変更対象とする税率1に設定されている現在の数値「5」を表示させる。一方、一定時間が経過する前に、次の変更対象とする税率1に対する新税率1のための数値「2」が数値キーの操作により入力された場合には、一定時間の経過を待たずに、新税率1のための新税率入力中状態に移行する。同様にして、税率1を変更した後に、一定時間が経過する前に数値「3」が入力されることにより、新税率2のための新税率入力中状態に移行して数値「34」を入力し、税率2を変更した後、一定時間が経過する前に数値「4」が入力されることにより、新税率3のための新税率入力中状態に移行して数値「45」を入力し、税率3を変更した後、一定時間が経過する前に数値「5」が入力されることにより、新税率4のための新税率入力中状態に移行して数値「56」を入力する。 In the key operation example shown in Figure 12, if a certain amount of time has elapsed (1 second) after the tax rate of 0 is changed to the input value "12" indicating the new tax rate of 0, the next Display the current value "5" set for tax rate 1 to be changed. On the other hand, if the numerical value "2" for the new tax rate 1 for the next tax rate 1 to be changed is entered by operating the numerical keys before a certain period of time has elapsed, then , the state shifts to a new tax rate inputting state for new tax rate 1. Similarly, after changing tax rate 1, if the number "3" is input before a certain period of time has elapsed, the state shifts to the new tax rate input state for new tax rate 2 and the number "34" is input. However, after changing tax rate 2, if the numerical value "4" is input before a certain period of time has elapsed, the state shifts to the new tax rate inputting state for new tax rate 3, and the numerical value "45" is input. If the numerical value "5" is input before a certain period of time has elapsed after changing the tax rate 3, the state shifts to a new tax rate inputting state for the new tax rate 4, and the numerical value "56" is input.

このようにして、第3の方法による税率連続設定処理では、第2の方法による効果に加えて、さらに一定時間が経過するまでの間に、新税率nのための数値を入力するための操作を可能している。これにより、変更対象とする税率の確認が不要である場合には、直ちに、次の税率の変更のためのキー操作に移行することができる。従って、税率設定のための作業時間を短縮して、税計算キー11bに設定された税率0~4の管理作業を容易にすることができる。 In this way, in the continuous tax rate setting process using the third method, in addition to the effects of the second method, an operation for inputting a numerical value for the new tax rate n is performed until a certain period of time has elapsed. is possible. As a result, if there is no need to confirm the tax rate to be changed, it is possible to immediately move on to the key operation for changing the next tax rate. Therefore, the work time for setting the tax rate can be shortened, and the work of managing the tax rates 0 to 4 set in the tax calculation key 11b can be facilitated.

次に、第4の方法による税率連続設定処理について説明する。図13は、本実施形態における第4の方法による税率連続設定処理を説明するためのフローチャート、図14は、第4の方法による税率連続設定処理におけるキー操作と表示の具体例を示す図である。 Next, the continuous tax rate setting process according to the fourth method will be explained. FIG. 13 is a flowchart for explaining the continuous tax rate setting process according to the fourth method in this embodiment, and FIG. 14 is a diagram showing a specific example of key operations and displays in the continuous tax rate setting process according to the fourth method. .

なお、第4の方法による税率連続設定処理は、図13に示すフローチャートのステップC41~C46,C410~C413における処理が、第2の方法を示すフローチャートのステップC21~C26,C210~C213の処理と同様に実行されるものとして詳細な説明を省略する。 Note that in the continuous tax rate setting process according to the fourth method, the processes in steps C41 to C46 and C410 to C413 in the flowchart shown in FIG. 13 are the same as the processes in steps C21 to C26 and C210 to C213 in the flowchart showing the second method. Detailed explanation will be omitted as it is executed in the same way.

前述した第1~第3の方法による税率連続設定処理では、税計算キー11bに設定される全ての税率0~4に対する新税率nのための数値を入力しているが、第4の方法では、変更が不要な税率nについては新税率nのための数値の入力を不要にする。 In the tax rate continuous setting process using the first to third methods described above, the numerical value for the new tax rate n for all tax rates 0 to 4 set in the tax calculation key 11b is input, but in the fourth method, , for the tax rate n that does not need to be changed, it is not necessary to input a numerical value for the new tax rate n.

CPU21は、前述したように、新税率nのための数値が入力されることで新税率入力中状態に移行して(ステップC42)、[%(SET)]キー11gの操作に応じて、新税率nにより税率nを変更した後、次の税率(n+1)を次の設定対象として設定する(ステップC46~C49)。この場合、数値が入力されていることで新税率入力中状態に移行しているため(ステップC47:Yes)、CPU21は、前述した第2の方法と同様にして、税率nを変更する。 As described above, the CPU 21 enters the new tax rate input state when the numerical value for the new tax rate n is input (step C42), and inputs the new tax rate in response to the operation of the [% (SET)] key 11g. After changing the tax rate n by the tax rate n, the next tax rate (n+1) is set as the next setting target (steps C46 to C49). In this case, since a numerical value has been input and the new tax rate input state has been entered (step C47: Yes), the CPU 21 changes the tax rate n in the same manner as the second method described above.

CPU21は、税率nの設定が完了すると新税率入力中状態をクリアし、一時間が経過した後、次の税率(n+1)に対して、現在設定されている数値を税率記憶エリア22rから読み出して、表示部12に表示させる。 When the setting of the tax rate n is completed, the CPU 21 clears the new tax rate inputting state, and after one hour has passed, reads out the currently set value for the next tax rate (n+1) from the tax rate storage area 22r. , to be displayed on the display unit 12.

ここで、次の新絶率nのための数値が入力されずに、[%(SET)]キー11gが操作された場合、CPU21は、新税率入力中状態に移行していないため(ステップC47:No)、現在、表示中の数値、すなわち税率nに対して設定されている現在の数値を、税率記憶エリア22rに書き込む(ステップC411)。すなわち、CPU21は、変更対象として設定された税率nについては数値を変更せずに、次の税率(n+1)を次の設定対象として設定する。 Here, if the [% (SET)] key 11g is operated without inputting a numerical value for the next new tax rate n, the CPU 21 does not enter the new tax rate inputting state (step C47). :No), the currently displayed value, that is, the current value set for the tax rate n, is written into the tax rate storage area 22r (step C411). That is, the CPU 21 sets the next tax rate (n+1) as the next setting target without changing the numerical value for the tax rate n set as the change target.

図14に示すキー操作の例では、税率0,2,4については、第2の方法と同様にして税率を入力された数値により変更している。税率0に対して、[%(SET)]キー11gの操作に応じて、入力された新税率0を示す数値「12」に変更した後、一定時間が経過した後(1秒後)に、次の変更対象とする税率1に設定されている現在の数値「5」を表示させている。ここで、数値が入力されず、[%(SET)]キー11gが操作された場合には、現在の表示中の数値「5」を税率1として(変更しないで)、次の税率2を変更対象に設定して、一定時間が経過した後(1秒後)に、次の変更対象とする税率2に設定されている現在の数値「12」を表示させている。同様にして、税率3についても、数値が入力されず、[%(SET)]キー11gが操作されているため、現在の数値「18」を税率3としている。 In the key operation example shown in FIG. 14, for tax rates 0, 2, and 4, the tax rates are changed by the input numerical values in the same manner as in the second method. When the tax rate is 0, the input value is changed to "12" indicating the new tax rate of 0 in response to the operation of the [% (SET)] key 11g, and after a certain period of time has elapsed (1 second), The current value "5" set for tax rate 1, which will be the next change target, is displayed. Here, if no numerical value is entered and the [% (SET)] key 11g is operated, the currently displayed numerical value "5" is set as tax rate 1 (do not change), and the next tax rate 2 is changed. After a certain period of time has elapsed (one second) after setting the target, the current numerical value "12" set for the next tax rate 2 to be changed is displayed. Similarly, regarding the tax rate 3, the current value "18" is set as the tax rate 3 because no numerical value is input and the [% (SET)] key 11g is operated.

このようにして、第4の方法による税率連続設定処理では、変更が不要に税率については、数値の入力ためのキー操作を削除して、[%(SET)]キー11gの操作のみにより次の税率に設定対象を移行させることができる。これにより、キー操作数を削減して、税計算キー11bに設定された税率0~4の管理作業を容易にすることができる。 In this way, in the continuous tax rate setting process according to the fourth method, no changes are required for the tax rate, key operations for inputting numerical values are deleted, and the next Setting targets can be transferred to tax rates. This makes it possible to reduce the number of key operations and facilitate the management of the tax rates 0 to 4 set in the tax calculation keys 11b.

次に、第5の方法による税率連続設定処理について説明する。図15は、本実施形態における第5の方法による税率連続設定処理を説明するためのフローチャート、図16は、第5の方法による税率連続設定処理におけるキー操作と表示の具体例を示す図である。 Next, the continuous tax rate setting process according to the fifth method will be explained. FIG. 15 is a flowchart for explaining the continuous tax rate setting process according to the fifth method in this embodiment, and FIG. 16 is a diagram showing a specific example of key operations and displays in the continuous tax rate setting process according to the fifth method. .

なお、第5の方法による税率連続設定処理は、図15に示すフローチャートのステップC56.C58以外における処理が、第1の方法を示すフローチャートのステップC16,C18の処理と異なり、他の処理が同様に実行されるものとして詳細な説明を省略する。 The continuous tax rate setting process according to the fifth method is performed in step C56 of the flowchart shown in FIG. The processes other than C58 are different from the processes in steps C16 and C18 of the flowchart showing the first method, and the other processes are executed in the same way, so a detailed explanation will be omitted.

前述した第1の方法による税率連続設定処理では、税計算キー11bに設定される税率0~4が予め設定された順番で変更対象として設定されるとしているが、第5の方法では、入力された数値による変更対象とする税率を指定できるようにする。 In the tax rate continuous setting process according to the first method described above, the tax rates 0 to 4 set in the tax calculation key 11b are set as change targets in a preset order, but in the fifth method, Allows you to specify the tax rate to be changed using a numerical value.

CPU21は、数値キーの操作によって新税率nを示す数値が入力された後(ステップC51~C55)、税n計算キー11b0~11b4の何れかが操作されたことを検出すると(ステップC56:Yes)、税率記憶エリア22rに記憶された、操作されたキーに対応する税率nを新税率nとして入力された数値により更新する(ステップC58)。すなわち、第5の方法では、新税率nのための数値を入力した後に、税n計算キー11b0~11b4の何れかを選択して操作することにより、変更対象とする税率nを任意に指定することができる。 When the CPU 21 detects that any of the tax n calculation keys 11b0 to 11b4 has been operated after a numerical value indicating the new tax rate n has been input by operating the numerical keys (steps C51 to C55) (step C56: Yes). , the tax rate n corresponding to the operated key stored in the tax rate storage area 22r is updated with the numerical value input as the new tax rate n (step C58). That is, in the fifth method, after inputting a numerical value for the new tax rate n, the tax rate n to be changed is arbitrarily specified by selecting and operating any of the tax n calculation keys 11b0 to 11b4. be able to.

図16に示すキー操作の例では、数値キーの操作により数値「12」が入力された後、税2計算キー11b2[GST+2(TAX-2)]が操作されている。この場合、CPU21は、先に入力された数値「12」によって、税2計算キー11b2[GST+2(TAX-2)]に対応する税率2を変更する。同様にして、数値キーの操作により数値「23」が入力された後、税3計算キー11b3[GST+3(TAX-3)]が操作されることにより、CPU21は、数値「23」によって、税3計算キー11b3[GST+3(TAX-3)]に対応する税率2を変更する。 In the example of key operations shown in FIG. 16, after the numerical value "12" is input by operating the numerical keys, the tax 2 calculation key 11b2 [GST+2 (TAX-2)] is operated. In this case, the CPU 21 changes the tax rate 2 corresponding to the tax 2 calculation key 11b2 [GST+2 (TAX-2)] based on the previously input numerical value "12". Similarly, after the numerical value "23" is input by operating the numerical keys, by operating the tax 3 calculation key 11b3 [GST+3 (TAX-3)], the CPU 21 calculates the tax 3 by operating the numerical value "23". Change tax rate 2 corresponding to calculation key 11b3 [GST+3 (TAX-3)].

このようにして、第5の補による税率連続設定処理では、変更後の新絶率nを示す数値を入力した後、変更対象とする税率nを税計算キー11b(税n計算キー11b0~11b4)の何れかを操作することで指定できる。従って、変更が必要な税率のみについて、数値の入力と税計算キー11bの操作をするだけでよいため、キー操作数を削減して、税計算キー11bに設定された税率0~4の管理作業を容易にすることができる。 In this way, in the continuous tax rate setting process according to the fifth supplement, after inputting a numerical value indicating the new extinction rate n after the change, the tax rate n to be changed is entered using the tax calculation keys 11b (tax n calculation keys 11b0 to 11b4). ) can be specified by operating one of the following. Therefore, for only the tax rates that need to be changed, it is only necessary to enter numerical values and operate the tax calculation keys 11b, reducing the number of key operations and managing the tax rates 0 to 4 set in the tax calculation keys 11b. can be facilitated.

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

なお、実施形態において記載した手法、すなわち図3~図5、図7、図9、図11、図13、図15のフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリ等の記録媒体に格納して配布することができる。そして、コンピュータは、外部記録媒体に記録されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。 Note that the methods described in the embodiments, that is, the processes shown in the flowcharts of FIGS. 3 to 5, FIG. 7, FIG. 9, FIG. 11, FIG. 13, and FIG. , memory cards (ROM cards, RAM cards, etc.), magnetic disks (flexible disks, hard disks, etc.), optical disks (CD-ROMs, DVDs, etc.), semiconductor memories, and other recording media and can be distributed. Then, the computer reads the program recorded on the external recording medium and has its operations controlled by this program, thereby realizing the same processing as the functions described in the embodiments.

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

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

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

[1]実行指示の入力に応じて第1計算を実行可能な制御部を有する計算機であって、
前記制御部は、
特定の操作に応じて、前記第1計算に用いる複数の設定値として各設定された複数の数値の少なくとも何れかを表示可能な状態に、前記計算機を設定し、
前記複数の数値の少なくとも何れかを表示させる設定値表示指示の入力に応じて、設定された前記状態を保持したまま、前記複数の数値を連続的に記憶部より読み出して表示部に表示させる、計算機。
[1] A computer having a control unit capable of executing a first calculation in response to input of an execution instruction,
The control unit includes:
setting the calculator in a state where it can display at least one of a plurality of numerical values set as a plurality of setting values used in the first calculation according to a specific operation;
In response to input of a setting value display instruction to display at least one of the plurality of numerical values, the plurality of numerical values are continuously read from the storage unit and displayed on the display unit while maintaining the set state; calculator.

[2]前記制御部は、
前記設定値表示指示の入力毎に、前記複数の設定値の何れかとして設定された何れかの数値を、前記記憶部より読み出して前記表示部に表示させる、[1]記載の計算機。
[2] The control unit:
The calculator according to [1], wherein each time the set value display instruction is input, any numerical value set as one of the plurality of set values is read from the storage unit and displayed on the display unit.

[3]前記制御部は、
前記設定値表示指示の入力に応じて、前記複数の設定値として設定された複数の数値の全てを順次前記記憶部より読み出して前記表示部に表示させる、[1]又は[2]記載の計算機。
[3] The control unit:
The calculator according to [1] or [2], wherein in response to input of the setting value display instruction, all of the plurality of numerical values set as the plurality of setting values are sequentially read from the storage section and displayed on the display section. .

[4]前記制御部は、
前記設定値表示指示の入力に応じて、前記複数の設定値の何れかとして設定された何れかの数値を、前記記憶部より読み出して前記表示部に表示させてから、
設定指示の入力を受け付けた場合、
前記設定指示の前に数値の入力を受け付けた場合は、当該設定指示の入力に応じて、入力を受け付けた前記数値を、前記何れかの設定値に設定される数値として、前記記憶部に記憶させ、
前記設定指示の前に数値の入力を受け付けなかった場合は、当該設定指示の入力に応じて、前記表示部に表示中の前記数値を、前記何れかの設定値に設定される数値として、前記記憶部に記憶させる、
数値設定処理を実行する、[1]乃至[3]の何れか一項記載の計算機。
[4] The control unit:
In response to the input of the setting value display instruction, reading any numerical value set as any of the plurality of setting values from the storage unit and displaying it on the display unit,
If the input of setting instructions is accepted,
When inputting a numerical value is received before the setting instruction, the inputted numerical value is stored in the storage unit as a numerical value to be set to any of the setting values in response to the inputting of the setting instruction. let me,
If input of a numerical value is not accepted before the setting instruction, the numerical value displayed on the display section is set as the numerical value to be set to one of the setting values in accordance with the input of the setting instruction. Store it in the memory unit,
The calculator according to any one of [1] to [3], which executes numerical value setting processing.

[5]前記制御部は、前記記憶部に記憶させた後、
前記設定値表示指示に応じて、ユーザ操作に基づいて特定される前記何れかの設定値以外の何れかの第2設定値として設定された数値を、前記記憶部より読み出して前記表示部に表示させ、
表示させた前記第2設定値を対象として、前記数値設定処理を実行する、[4]記載の計算機。
[5] After the control unit stores the information in the storage unit,
In response to the setting value display instruction, a numerical value set as a second setting value other than the one of the setting values specified based on a user operation is read from the storage unit and displayed on the display unit. let me,
The computer according to [4], wherein the numerical value setting process is executed for the displayed second set value.

[6]前記制御部は、前記記憶部に記憶させた後、
前記制御部により自動的に特定される前記何れかの設定値以外の何れかの第2設定値として設定された数値を、前記記憶部より読み出して前記表示部に表示させ、
表示させた前記第2設定値を対象として、前記数値設定処理を実行する、[4]記載の計算機。
[6] After the control unit stores the information in the storage unit,
reading a numerical value set as any second setting value other than the one of the setting values automatically specified by the control unit from the storage unit and displaying it on the display unit;
The computer according to [4], wherein the numerical value setting process is executed for the displayed second set value.

[7]前記制御部は、前記記憶部に記憶させる毎に、
記憶させた前記数値を、少なくとも予め定められた時間、前記表示部に表示させてから、前記制御部により自動的に特定される前記第2設定値として設定された数値を、前記記憶部より読み出して前記表示部に表示させる、[6]記載の計算機。
[7] Each time the control unit stores in the storage unit,
After displaying the stored numerical value on the display section for at least a predetermined time, reading out the numerical value set as the second set value automatically specified by the control section from the storage section. The computer according to [6], wherein the computer displays the information on the display unit.

[8]前記制御部は、前記記憶部に記憶させる毎に、
記憶させた前記数値を前記表示部に表示中、次の設定値を表示させる設定値表示指示の入力に応じて、即座に、前記制御部により自動的に特定される前記第2設定値として設定された数値を、前記記憶部より読み出して前記表示部に表示させる、[6]記載の計算機。
[8] Each time the control unit stores in the storage unit,
While the stored numerical value is being displayed on the display section, in response to input of a setting value display instruction to display the next setting value, it is immediately set as the second setting value that is automatically specified by the control section. The computer according to [6], wherein the calculated numerical value is read from the storage section and displayed on the display section.

[9]実行指示の入力に応じて第1計算を実行可能な制御部を有する計算機の制御部により実行される表示方法であって、
特定の操作に応じて、前記第1計算に用いる複数の設定値として各設定された複数の数値の少なくとも何れかを表示可能な状態に、前記計算機を設定し、
記複数の数値の少なくとも何れかを表示させる設定値表示指示の入力に応じて、設定された前記状態を保持したまま、前記複数の数値を連続的に記憶部より読み出して表示部に表示させる、表示方法。
[9] A display method executed by a control unit of a computer having a control unit capable of executing a first calculation in response to input of an execution instruction,
setting the calculator in a state where it can display at least one of a plurality of numerical values set as a plurality of setting values used in the first calculation according to a specific operation;
In response to input of a setting value display instruction to display at least one of the plurality of numerical values, the plurality of numerical values are continuously read from the storage unit and displayed on the display unit while maintaining the set state; Display method.

[10]実行指示の入力に応じて第1計算を実行可能な制御部を有する計算機のコンピュータによって、
特定の操作に応じて、前記第1計算に用いる複数の設定値として各設定された複数の数値の少なくとも何れかを表示可能な状態に、前記計算機を設定し、
記複数の数値の少なくとも何れかを表示させる設定値表示指示の入力に応じて、設定された前記状態を保持したまま、前記複数の数値を連続的に記憶部より読み出して表示部に表示させる、ためのプログラム。
[10] By a computer of a calculator having a control unit capable of executing the first calculation in response to input of an execution instruction,
setting the calculator in a state where it can display at least one of a plurality of numerical values set as a plurality of setting values used in the first calculation according to a specific operation;
In response to input of a setting value display instruction to display at least one of the plurality of numerical values, the plurality of numerical values are continuously read from the storage unit and displayed on the display unit while maintaining the set state; program for.

10…電卓、11…キー入力部、11b0…税0計算キー、11b1…税1計算キー、11b2…税2計算キー、11b3…税3計算キー、11b4…税4計算キー、11c…税計算合計キー、11d…税計算モード切替キー、12…表示部、21…CPU、22…メモリ、22a…工場検査プログラム、22b…計算処理プログラム、22c…工場検査後フラグエリア、22d…税率別税合計メモリエリア、22e…税率記憶エリア、22g…税率別税合計メモリエリア、22h…合計メモリエリア、22k…税合計リコールモードエリア、22m…税計算モードエリア、22n…バッファメモリエリア、22p…表示メモリエリア。 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...Factory inspection program, 22b...Calculation processing program, 22c...Flag area after factory inspection, 22d...Tax total memory by tax rate Area, 22e...Tax rate storage area, 22g...Tax total memory area by tax rate, 22h...Total memory area, 22k...Tax total recall mode area, 22m...Tax calculation mode area, 22n...Buffer memory area, 22p...Display memory area.

Claims (6)

税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機であって、
前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを切り替える第2操作キーと、
前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御手段と、
前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御手段と、
を備えることを特徴とする計算機。
A calculator in which a tax rate applied to tax calculation is associated with each of a plurality of first operation keys,
a second operation key for switching whether the tax rate associated with each of the plurality of first operation keys is applied as a tax rate applied to tax-excluding calculations or as a tax rate applied to tax-inclusive calculations;
When an update mode for updating the tax rate associated with the first operation key is selected for each of the plurality of first operation keys, before the newly associated tax rate is numerically input. display control means for displaying the tax rate associated with the first operation key to be updated on the display section at a predetermined timing ;
When associating the numerically input tax rate with the first operation key to be updated as the newly associated tax rate, the numerically input tax rate is used in both the tax-excluding calculation and the tax-inclusive calculation. update control means for associating the applied tax rate with the first operation key to be updated;
A calculator characterized by comprising :
前記表示制御手段は、前記更新モードが選択された場合に、前記第1操作キーに対応付けられている税率の前記表示部への表示が前記複数の第1操作キーを対象にして所定の順番で切り替わるように表示制御する
ことを特徴とする請求項1に記載の計算機。
The display control means is configured to display tax rates associated with the first operation keys on the display section in a predetermined order with respect to the plurality of first operation keys when the update mode is selected. Control the display so that it switches with
The computer according to claim 1, characterized in that:
前記複数の第1操作キーが前記表示部に平行に沿って並ぶように配列されており、
前記表示制御手段は、前記複数の第1操作キーの配列順に対応させて、前記第1操作キーに対応付けられている税率の前記表示部への表示を切り替える、
ことを特徴とする請求項2に記載の計算機。
the plurality of first operation keys are arranged parallel to the display section,
The display control means switches the display of the tax rate associated with the first operation key on the display unit in accordance with the arrangement order of the plurality of first operation keys.
The computer according to claim 2, characterized in that:
前記表示制御手段は、前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つけるための第3操作キーがユーザ操作されたタイミングに基づいて、前記複数の第1操作キーのうちの次の順番の第1操作キーに対応した税率の表示を開始させる、
ことを特徴とする請求項2または3に記載の計算機。
The display control means, based on the timing at which a third operation key for associating the numerically input tax rate as the newly associated tax rate with the first operation key to be updated, is operated by the user. starting display of the tax rate corresponding to the next first operation key among the plurality of first operation keys;
The computer according to claim 2 or 3, characterized in that:
税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機が実行する設定支援方法であって、A setting support method executed by a calculator in which a tax rate applied to tax calculation is associated with each of a plurality of first operation keys,
前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを所定の第2操作キーへのユーザ操作に基づいて切り替える切替処理と、The user presses a predetermined second operation key to determine whether the tax rate associated with each of the plurality of first operation keys is to be applied as a tax rate applied to tax-excluding calculations or as a tax rate applied to tax-inclusive calculations. A switching process that switches based on the operation,
前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御処理と、When an update mode for updating the tax rate associated with the first operation key is selected for each of the plurality of first operation keys, before the newly associated tax rate is numerically input. display control processing for displaying the tax rate associated with the first operation key to be updated on the display section at a predetermined timing;
前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御処理と、When associating the numerically input tax rate with the first operation key to be updated as the newly associated tax rate, the numerically input tax rate is used in both the tax-excluding calculation and the tax-inclusive calculation. an update control process for associating the applied tax rate with the first operation key to be updated;
を含むことを特徴とする設定支援方法。A setting support method characterized by comprising:
税計算に適用される税率が複数の第1操作キーのそれぞれに対応付けられている計算機のコンピュータを、
前記複数の第1操作キーのそれぞれに対応付けられている税率を税抜き計算に適用される税率として適用するのか税込み計算に適用される税率として適用するのかを所定の第2操作キーへのユーザ操作に基づいて切り替える切替手段、
前記複数の第1操作キーのそれぞれに対して当該第1操作キーに対応付けられている税率を更新する更新モードが選択された場合に、新たに対応付けられる税率が数値入力されるのに先立って、更新対象とされる第1操作キーに対応付けられている税率を所定のタイミングで表示部に表示させる表示制御手段、
前記新たに対応付けられる税率として前記数値入力された税率を前記更新対象とされる第1操作キーに対応つける場合に、前記数値入力された税率を前記税抜き計算と前記税込み計算との両方に適用される税率として前記更新対象とされる第1操作キーに対応つける更新制御手段、
として機能させることを特徴とするプログラム。
A calculator computer in which a tax rate applied to tax calculation is associated with each of a plurality of first operation keys ,
The user presses a predetermined second operation key to determine whether the tax rate associated with each of the plurality of first operation keys is to be applied as a tax rate applied to tax-excluding calculations or as a tax rate applied to tax-inclusive calculations. a switching means that switches based on the operation;
When an update mode for updating the tax rate associated with the first operation key is selected for each of the plurality of first operation keys, before the newly associated tax rate is numerically input. display control means for displaying the tax rate associated with the first operation key to be updated on the display section at a predetermined timing;
When associating the numerically input tax rate with the first operation key to be updated as the newly associated tax rate, the numerically input tax rate is used in both the tax-excluding calculation and the tax-inclusive calculation. update control means for associating the applied tax rate with the first operation key to be updated;
A program characterized by functioning as
JP2022115168A 2018-09-07 2022-07-20 Calculator, setting support method and program Active JP7416138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022115168A JP7416138B2 (en) 2018-09-07 2022-07-20 Calculator, setting support method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018168367A JP7196477B2 (en) 2018-09-07 2018-09-07 Calculator, display method, and program
JP2022115168A JP7416138B2 (en) 2018-09-07 2022-07-20 Calculator, setting support method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018168367A Division JP7196477B2 (en) 2018-09-07 2018-09-07 Calculator, display method, and program

Publications (2)

Publication Number Publication Date
JP2022132538A JP2022132538A (en) 2022-09-08
JP7416138B2 true JP7416138B2 (en) 2024-01-17

Family

ID=69798296

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018168367A Active JP7196477B2 (en) 2018-09-07 2018-09-07 Calculator, display method, and program
JP2022115168A Active JP7416138B2 (en) 2018-09-07 2022-07-20 Calculator, setting support method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018168367A Active JP7196477B2 (en) 2018-09-07 2018-09-07 Calculator, display method, and program

Country Status (1)

Country Link
JP (2) JP7196477B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08147244A (en) * 1994-11-24 1996-06-07 Sharp Corp Number of days calculating method, input canceling method and memory value setting method
JPH10143472A (en) * 1996-11-13 1998-05-29 Sharp Corp Electronic desk-top computer
JP2001109721A (en) 1999-10-06 2001-04-20 Sharp Corp Information processor, information processing method and display device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Also Published As

Publication number Publication date
JP2020042454A (en) 2020-03-19
JP7196477B2 (en) 2022-12-27
JP2022132538A (en) 2022-09-08

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
US10235328B2 (en) Calculation device, calculation method, and storage medium
JP7487755B2 (en) calculator
JP7416138B2 (en) Calculator, setting support method and program
JP7383902B2 (en) Calculators, calculation methods, and programs
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP7176603B2 (en) Computing device, computing method, and program
JP6620907B1 (en) Computer, setting method, and program
JP7163705B2 (en) Calculators, calculation methods, and programs
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
CN110888830B (en) Calculator, calculating method and storage medium
JP7279355B2 (en) Calculator, display method, and program
JP7031691B2 (en) Electronics, control methods, and programs
JP6528483B2 (en) Computation processing device and program
JP7500934B2 (en) Computer, calculation method, and program
US11366587B2 (en) Electronic device, electronic device control method, and recording medium
JP6759591B2 (en) Electronic equipment and calculation processing programs
JP5381152B2 (en) Formula arithmetic device and program
JP2014067116A (en) Electronic desk-top calculator
JP2001344221A (en) Electronic computer and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220801

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231218

R150 Certificate of patent or registration of utility model

Ref document number: 7416138

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150