JP2023121840A - Electronic device, calculation support method and program - Google Patents

Electronic device, calculation support method and program Download PDF

Info

Publication number
JP2023121840A
JP2023121840A JP2023108978A JP2023108978A JP2023121840A JP 2023121840 A JP2023121840 A JP 2023121840A JP 2023108978 A JP2023108978 A JP 2023108978A JP 2023108978 A JP2023108978 A JP 2023108978A JP 2023121840 A JP2023121840 A JP 2023121840A
Authority
JP
Japan
Prior art keywords
tax
calculation
total
numerical value
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2023108978A
Other languages
Japanese (ja)
Other versions
JP7487828B2 (en
Inventor
博明 吉澤
Hiroaki Yoshizawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2019080317A external-priority patent/JP7383902B2/en
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Publication of JP2023121840A publication Critical patent/JP2023121840A/en
Application granted granted Critical
Publication of JP7487828B2 publication Critical patent/JP7487828B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

To provide a computer capable of displaying a numerical value related to tax calculation and a numerical value related to normal calculation on a display part by changing over between them based on a same operation, calculation method and program.SOLUTION: A computer executes: a first calculation using numerical values in response to an input of an execution instruction for the first calculation, causes a first memory to store a first numerical value related to a result of the executed first calculation and causes a display part to display it; executes a second calculation using numerical values in response to an input of an execution instruction for the second calculation different from the first calculation, causes a second memory to store a second numerical value related to a result of the executed second calculation and causes the display part to display it; when a first readout instruction is input while displaying the numerical value representing the result of the executed first calculation on the display part, causes the display part to display the first numerical value stored in the first memory; and when the first readout instruction is input while displaying the numerical value representing the result of the executed second calculation on the display part, causes the display part to display the second numerical value stored in the second memory.SELECTED DRAWING: Figure 4

Description

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

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

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

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

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

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

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

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

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

以下、図面により本発明の実施の形態について説明する。 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 the tax calculator according to this embodiment. In this embodiment, the tax calculator is implemented as a calculator 10 dedicated to calculation.

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

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

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

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

1つの税計算キー11b(税n計算キー11b0~11b4)は、税込み計算キー[GST+n]と税抜き計算キー[TAX-n]を兼ねている。税計算キー11b(税n計算キー11b0~11b4)は、税計算モード切替キー([GST+/TAX-])11dの操作に応じて切り替えられる税計算モードに応じて、税込み計算キー[GST+n]あるいは税抜き計算キー[TAX-n]として使用される。1つの税計算キー11bを税込み計算キー[GST+n]と税抜き計算キー[TAX-n]として共用することで、限られた筐体正面の面積を有効に利用して、複数(5種類)の税率のそれぞれに対応する税込み計算処理および税抜き計算処理を実行可能なキーを設けている。 One tax calculation key 11b (tax n calculation keys 11b0 to 11b4) serves both as a tax-included calculation key [GST+n] and a tax-excluded calculation key [TAX-n]. The tax calculation key 11b (tax n calculation keys 11b0 to 11b4) is used to select the tax calculation key [GST+n] or the tax calculation key [GST+n] or Used as tax-excluded calculation key [TAX-n]. By sharing one tax calculation key 11b as a tax-inclusive calculation key [GST+n] and a tax-excluded calculation key [TAX-n], it is possible to effectively utilize the limited front area of the housing, and use multiple (5 types) A key is provided for executing tax-inclusive calculation processing and tax-excluded 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)は、ユーザ操作によって任意に設定することができる。 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 set in advance when the calculator 10 is shipped from the factory. For example, five types of tax rates (0%, 5%, 12%, 18%, 28%) are set for the tax n calculation keys 11b0 to 11b4, respectively, according to use in India. Also, 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に表示される。これらの処理については、図4を用いて後ほど詳しく説明する。 The tax calculation total key ([GST GT (GT)]) 11c is a grand total key ([GT] key) for displaying the grand total of normal calculations (basic calculations) such as four arithmetic calculations and constant calculations, and a tax calculation key ([GT] key). Also serves as a GST grand total key ([GST GT] key) for displaying the total sum of the calculation results of . When the tax calculation total key 11c functions as the GST grand total key, tax calculation is executed and the processing mode of the calculator 10 transitions to the tax total recall mode (GST GT recall mode). On the other hand, when the tax calculation total key 11c functions as the grand total key, the processing mode of the calculator 10 does not change in particular, but simply the numerical value stored in the total memory area 22h is called and displayed on the display unit 12. be done. These processes will be described later in detail with reference to FIG.

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

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

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

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

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

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

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

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

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

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

ソーラーパネル13は、電卓10を使用する際の周辺環境光の照度がある程度明るいとき、発電する。ソーラーパネル13は、発電中、電卓10の電源部26(図2に示す)として機能し、電卓10の各部へ給電する。また、ソーラーパネル13が発電していないときは、電卓10が別途備える電源部26としての一次電池より電卓10の各部へ給電される。 The solar panel 13 generates power when the illuminance of the surrounding environment light when using the calculator 10 is bright to some extent. The solar panel 13 functions as a power supply section 26 (shown in FIG. 2) of the calculator 10 during power generation, and supplies power to each section of the calculator 10 . Further, 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 part 26 separately provided in the calculator 10 .

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

CPU21は、メモリ22に記憶された計算処理プログラム22aを実行することにより、回路各部の動作を制御する。キー入力部11への入力操作が行われると、CPU21は、キー入力部11からのキー入力信号により入力操作がされたキーを検出し、検出された各キーに応じた各種の計算処理を実行する。電卓10は、CPU21が計算処理プログラム22aに記述された命令に従い回路各部の動作を制御し、ソフトウェアとハードウェアとが協働して動作することにより、以下の動作説明で述べる計算機能による処理を含む計算処理を実現する。 The CPU 21 executes a calculation processing program 22a stored in the memory 22 to control the operation of each section of the circuit. When an input operation to the key input unit 11 is performed, the CPU 21 detects the key for which the input operation was performed 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 in accordance with the instructions written in the calculation processing program 22a, and the software and hardware cooperate to operate, thereby performing processing by the calculation function described in the following explanation of the operation. Realize calculation processing including.

計算処理プログラム22aは、予めメモリ22に記憶されていても良いし、記録媒体読取部24を介してメモリカード等の外部記録媒体23から読み込まれても良いし、あるいは通信部25を介して通信ネットワークN(インターネット等を含む)上のサーバ30からダウンロードされても良い。 The calculation processing program 22a may be stored in advance in the memory 22, read from an external recording medium 23 such as a memory card via the recording medium reading section 24, or communicated via the communication section 25. It may be downloaded from a server 30 on 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 (tax memory) for storing calculation results of tax calculation, a total memory area 22h, a total tax recall mode area 22k, a tax calculation mode area 22m, and a buffer memory. Areas for storing various data such as an area 22n, a display memory area 22p, and a tax rate storage area 22r are provided. The tax memory (first memory) includes a tax rate 0 total memory area 22b, a tax rate 1 total memory area 22c, a tax rate 2 total memory area 22d, a tax rate 3 total memory area 22e, a tax rate 4 total memory area 22f, and a tax total memory area 22g. is included. In the following description, the tax rate 0 total memory area 22b, the tax rate 1 total memory area 22c, the tax rate 2 total memory area 22d, the tax rate 3 total memory area 22e, and the tax rate 4 total memory area 22f are collectively referred to as the tax total 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 the zero tax rate. The zero tax rate total memory area 22b stores a numerical value based on the result of the zero tax rate tax calculation. Specifically, the tax-inclusive amount (0th tax-inclusive amount), the tax amount (0th tax-inclusive amount), and the Each total amount of tax-excluded amount (0th tax-excluded amount) is stored as the 0th tax-excluded total amount, the 0th tax-excluded total amount, and the 0th tax-exclusive amount, respectively.

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

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

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

税合計リコールモードエリア22kは、税計算合計キー11cに対する入力操作に応じて、リコールモードの状態にあるか否かを示す税合計リコールモードフラグが、オン状態またはオフ状態に設定される。税合計リコールモードは、税計算キー11bの操作による税計算の直後に税計算合計キー11cが押下された場合、あるいは通常計算の直後に税計算合計キー11cが長押しされた場合にオンされる(税合計リコールモードへの遷移)。また、税合計リコールモードは、税合計リコールモードをオフするための予め定められた指示として、例えば[AC]キー11aが操作された場合にオフされる。なお、税合計リコールモードのオン/オフの切り替えは、税計算合計キー11cと[AC]キー11aの操作に限られるものではない。例えば、別のキー操作に応じて、あるいは電卓10の処理結果に応じて、税合計リコールモードのオン/オフを切り替えるようにしても良い。 In the total tax recall mode area 22k, a total tax recall mode flag indicating whether the recall mode is set 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 long-pressed immediately after normal calculation. (transition to tax total recall mode). The total tax recall mode is turned off when, for example, the [AC] key 11a is operated as a predetermined instruction for turning off the total tax recall mode. The on/off switching 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, on/off of the total tax recall mode may be switched according to another key operation or according to the 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 (depressed), the total tax-included total, total tax-excluded total, and total tax total stored in the tax total memory area 22g are displayed. The amount can be switched and displayed. When the tax total recall mode is on, each time the tax calculation key 11b (tax n calculation keys 11b0 to 11b4) is operated (depressed), the tax total by tax rate memory areas 22b to 22f are stored. , the total amount including tax, the total amount excluding tax, and the total amount including tax can be switched and displayed.

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

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

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

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

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

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

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

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

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

次に、計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップ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 (numerical code) corresponding to the numerical key operated for input. Then, the input numerical value is stored in the display memory area 22p and displayed on the display unit 12 (step A15).

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

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

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

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

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

ここで、現在の税計算モードが税込み計算モードである場合(ステップA113、税込み)、CPU21は、税計算モードエリア22mに税抜き計算モードを示す税計算モードデータを記憶させる(ステップA114)。また、CPU21は、税抜き計算モードを示す税計算モードシンボル12b([TAX-])を、表示部12の状態表示エリアに表示させる(ステップA116)。 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-excluded 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 exclusion calculation mode in the state display area of the display section 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-excluded 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 calculation mode in the state display area of the display section 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 changes the calculation results (total amount excluding tax, total amount including tax, total amount ) remains unchanged. Therefore, when the tax-inclusive calculation and the tax-excluded calculation are executed together, even if the tax calculation mode is switched, the calculation result in the middle of the calculation is held.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

このようにして、電卓10は、税1計算キー11b1の操作に応じて税抜き額を算出した後、税1計算キー11b1に対する操作毎に、税抜き額、税額の各表示を交互に切り替えて表示させることができる。よって、税抜き額と税額とを容易に確認することができる。 In this way, the calculator 10 calculates the tax-excluded amount according to the operation of the tax 1 calculation key 11b1, and then alternately switches between the display of the tax-excluded amount and the tax amount each time the tax 1 calculation key 11b1 is operated. can be displayed. Therefore, it is possible to easily confirm the tax-excluded amount and the tax amount.

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

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

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

本実施形態における電卓10では、複数の数値に対して税込み計算(税抜合計額、税込合計額、税合計額)を実行している途中で、前述したように税抜き計算が必要な場合に、税計算モードを税込み計算モードから税抜き計算モードに切り替えたとしても、各税率0~4に対応する税率別税合計メモリエリア22b~22fのデータ(計算途中までの計算結果)が破棄(クリア)されない。従って、電卓10は、税込み計算と税抜き計算を混在して実行する場合であっても、必要に応じて税計算モードを切り替えて実行できるので、効率的に税計算をすることができる。 In the calculator 10 according to the present embodiment, when a tax-excluded calculation is required as described above while performing tax-inclusive calculations (total amount without tax, total amount including tax, total amount with tax) for a plurality of numerical values, , even if the tax calculation mode is switched from the tax-inclusive calculation mode to the tax-excluded calculation mode, the data in the tax rate total memory areas 22b to 22f corresponding to each tax rate 0 to 4 (calculation results up to the middle of the calculation) are discarded (cleared). ) is not done. Therefore, the calculator 10 can perform tax calculation by switching the tax calculation mode as necessary even when the tax-inclusive calculation and the tax-excluded calculation are executed together, so that the tax calculation can be performed efficiently.

次に、本実施形態における税計算合計キー([GST GT(GT)])11cに対する入力操作に応じた処理について、図4に示すフローチャートを参照しながら説明する。
税計算合計キー11cは、通常計算(基本計算)について総合計を表示させるためのグランドトータルキー([GT]キー)と、税計算の計算結果について総合計を表示させるためのGSTグランドトータルキー([GST GT]キー)を兼ねている。
Next, the processing according to the 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.
The tax calculation total key 11c includes a grand total key ([GT] key) for displaying the total sum of normal calculation (basic calculation) and a GST grand total key ([GT] key) for displaying the total sum of tax calculation results. [GST GT] key).

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

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

ここで、税計算直後に税計算合計キー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 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 sums the tax-inclusive amount, the tax-excluded total amount, and the tax total amount calculated based on the tax rates 0 to 4 stored in the tax rate-by-tax total memory areas 22b to 22f. The tax-included total amount, the tax-excluded total amount, and the total tax amount are calculated and stored in the tax total memory area 22g. Further, the CPU 21 stores the calculated total tax-inclusive amount in the display memory area 22p and displays it on the display unit 12 (step A29).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

図9(B1)~(B5)に示す複数の数値について税計算した後、税計算合計キー11cを通常の押下する操作が行われると、CPU21は、税計算の直後であるため、税合計リコールモードをオンにする。また、CPU21は、税率1合計メモリエリア22c、税率2合計メモリエリア22d~22fにそれぞれ記憶された税率1及び税率2の税込み額、税抜合計額、税合計額をもとに、税率1と税率2をそれぞれ適用した税込合計額の合計(525+3300)を示す税込総合計額「3825」を算出して税合計メモリエリア22gへ記憶させるとともに、表示部12に表示させる(図7(A)下から3行目、図9(C1))。さらに、CPU21は、税合計リコールモードシンボル12dとして「RCL」を、表示部12の状態表示エリアに表示させる(図9(C1))。ここで、税計算合計キー11cが操作されると、CPU21は、図9(C2)に示すように、税率1と税率2をそれぞれ適用した税抜合計額の合計を示す税抜総合計額「3500」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C3)に示すように、税率1と税率2をそれぞれ適用した税合計額の合計を示す税総合計額「325」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C1)に示す表示に戻り、税込総合計額「3825」を税合計メモリエリア22gから読み出して、表示部12に表示させる。 When the tax calculation total key 11c is pressed normally after tax calculation is performed for a plurality of numerical values shown in FIGS. turn on the mode. In addition, the CPU 21 calculates tax rate 1 and A tax-included total amount "3825" indicating the total tax-included total amount (525+3300) to which tax rate 2 is applied is calculated, stored in the tax total memory area 22g, and displayed on the display unit 12 (Fig. 7(A) bottom). 3rd line from FIG. 9 (C1)). Furthermore, the CPU 21 displays "RCL" as the total tax recall mode symbol 12d in the state display area of the display section 12 (Fig. 9 (C1)). Here, when the tax calculation total key 11c is operated, the CPU 21 displays the total tax-excluded total amount " 3500” is displayed. Further, when the tax calculation total key 11c is operated, the CPU 21 displays the total tax amount "325" indicating the total tax amount to which tax rate 1 and tax rate 2 are applied, as shown in FIG. 9 (C3). display. Further, when the tax calculation total key 11c is operated, the CPU 21 returns to the display shown in FIG. .

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

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

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

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

こうして、通常計算した直後に税計算合計キー11cを操作(短押し)するか、又は税計算の直後に税計算合計キー11cを長押しすることで、通常計算による総合計を表示させることができる。また、前述したように税計算の直後に税計算合計キー11cを操作(短押し)するか、又は通常計算した直後に税計算合計キー11cを長押しすることで、税計算による総合計を表示させることができるので、1つの税計算合計キー11cを直前の動作状態に応じて使い分けることができる。 Thus, by operating (short press) the tax calculation total key 11c immediately after the normal calculation or by long-pressing the tax calculation total key 11c immediately after the tax calculation, the total by normal calculation can be displayed. . Further, as described above, by operating (short pressing) the tax calculation total key 11c immediately after tax calculation, or by long-pressing the tax calculation total key 11c immediately after normal calculation, the total total by tax calculation is displayed. Therefore, one tax calculation total key 11c can be selectively used according to the immediately preceding operation state.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

このように、税率2による税込み額を示す数値「660」について、税率1による税込み計算をする場合に、税込み計算の途中で税抜き計算モードに切り替えて、数値「660」の税抜き額を算出するための税抜き計算を実行することができる。税抜き計算の計算結果として表示部12に表示された数値(置数)は、そのまま税計算の対象とすることができる。また、税抜き計算では、税率1合計メモリエリア22c及び税率2合計メモリエリア22dに記憶された数値に影響しない。従って、再度、税計算モードを税込み計算モードに切り替えて、表示中の数値に対して別の税率1を選択して税込み計算を実行することで、税率1による税込み計算の結果を税率1合計メモリエリア22cに反映させることができる。 In this way, when performing tax-inclusive calculations with tax rate 1 for the number "660" that indicates the tax-inclusive amount of tax rate 2, the tax-excluded amount of "660" is calculated by switching to the tax-excluded calculation mode in the middle of the tax-inclusive calculation. A tax-excluded calculation can be performed to The numerical value (number) displayed on the display unit 12 as the calculation result of tax-excluded calculation can be used as it is for the tax calculation. Also, the tax-excluded calculation does not affect the numerical values stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d. Therefore, by switching the tax calculation mode to the tax-inclusive calculation mode again, selecting a different tax rate 1 for the numerical value being displayed, and executing the tax-inclusive calculation, the result of the tax-inclusive calculation using the tax rate 1 is stored in the tax rate 1 total memory. It can be reflected in the area 22c.

従って、インドの様な複数の消費税率を使用する市場において、税込み額で表記されている商品の価格をもとに、他の税率により税計算が必要な場合に、税抜き計算モードに切り替えて税抜き計算を実行して税抜き額の価格を求めて、改めて他の税率による税込み計算を実行することができる。 Therefore, in a market like India that uses multiple consumption tax rates, if you need to calculate the tax based on the tax-inclusive price of the product with another tax rate, you can switch to the tax-excluded calculation mode. It is possible to execute tax-excluded calculation to obtain the price without tax, and then execute tax-inclusive calculation again with another tax rate.

次に、税計算と通常計算を混在して実行する場合について説明する。図11は、以下の説明で使用する具体的なキー操作、表示部12に表示される数値、税率1合計メモリエリア22c及び税率2合計メモリエリア22dのそれぞれに記憶される税込合計額、税抜合計額、税合計額を示している。ここでは、税計算により求めた数値(置数)を利用して、四則計算を実行する例について説明する。なお、図10の第3列~第8列の下向きの矢印は、各列の第6行から最下行から2行目まで、各列の第5行目の数値と同じ数値である(数値が変化しない)ことを表わしている。 Next, a case where both tax calculation and normal calculation are executed will be described. FIG. 11 shows specific key operations used in the following description, numerical values displayed on the display unit 12, the total tax-included amount stored in the tax rate 1 total memory area 22c and the tax rate 2 total memory area 22d, and the tax-excluded amount. It shows the total amount and total tax amount. Here, an example of executing the four arithmetic operations using numerical values (numbers) obtained by tax calculation will be described. The downward arrows in the 3rd to 8th columns in FIG. does not change).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

税合計額「300」が表示された状態において、四則計算のために[÷][2][=]がキー入力されると、CPU21は、表示部12に表示された数値「300」に対して、「300÷2=150」の四則計算を実行して、計算結果とする数値「150」を表示部12に表示させる。数値「150」は、合計メモリエリア22hに記憶された数値に加算される。なお、税合計額を表示させて四則計算を実行するだけでなく、税込合計額あるいは税抜合計額を表示させて四則計算を実行することも可能である。 When [÷] [2] [=] is key-inputted for the four arithmetic operations while the total tax amount "300" is displayed, the CPU 21 calculates the number "300" displayed on the display unit 12 Then, the four arithmetic calculations of "300/2=150" are executed, and the numerical value "150" as the calculation result is displayed on the display unit 12. The number "150" is added to the number stored in the total memory area 22h. It should be noted that it is possible not only to display the total amount of tax and execute the arithmetic calculation, but also to display the total amount including tax or the total amount excluding tax and execute the arithmetic calculation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

本発明は、電子機器、計算支援方法及びプログラムに関する。 The present invention relates to an electronic device, a calculation support method , and a program.

また、引用文献2に記載された税計算機には、複数の税率にそれぞれ対応する複数の税計算キー(税込み計算キー、税抜き計算キー)と、税込総合計額を算出するための専用キー(税計算合計キー)とが設けられている。税計算機は、各税計算キーに対する操作に応じて個別に入力された数値をもとに、各税計算キーに対応する税率による税込み額を算出して表示する。さらに、税率毎に税込み額の合計を算出して表示する。 In addition, the tax calculator described in Cited Document 2 has multiple tax calculation keys (tax-inclusive calculation key, tax-excluded calculation key) corresponding to multiple tax rates, and a dedicated key for calculating the total amount including tax ( Tax calculation total key) and is provided. The tax calculator calculates and displays the tax-inclusive amount based on the tax rate corresponding to each tax calculation key based on the numerical values individually input according to the operation for each tax calculation key. Furthermore, the total amount including tax is calculated and displayed for each tax rate .

税率毎の税込み額の合計のもとになる各税込み額を算出している途中でそれとは独立させた四則演算が必要になる場合がある。In the process of calculating each tax-inclusive amount, which is the basis for the total tax-inclusive amount for each tax rate, there are cases where the four arithmetic operations that are independent from that are required.

本発明は、前記のような課題に考慮してなされたもので、税率毎の税込み額の合計のもとになる各税込み額を算出している途中でそれとは独立させた四則演算が実行された場合であっても前記四則演算が前記合計の導出の妨げになることを防止可能な電子機器、計算支援方法及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and the four arithmetic operations are executed independently from the calculation of each tax-inclusive amount, which is the basis of the total tax-inclusive amount for each tax rate. It is an object of the present invention to provide an electronic device, a calculation support method, and a program capable of preventing the four arithmetic operations from interfering with the derivation of the sum.

上記の課題を解決するために、本発明に係る電子機器は、計算結果として税込み額、税抜き額または税額を導出するための税計算を実行可能な電子機器であって、前記税計算の実行指示として第1税率が設定された第1操作キーを数値入力に続けて操作された場合と前記税計算の実行指示として第2税率が設定された第2操作キーを数値入力に続けて操作された場合との間で、前記税計算の実行指示が繰り返されたときの前記計算結果を、分離して合計することにより、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを所定のメモリに記憶させる記憶制御手段と、前記税計算の実行指示が繰り返されるごとに、当該税計算での計算結果を所定の表示部に表示させる表示制御手段と、を備え、前記記憶制御手段は、前記繰り返し途中で所定の四則演算が実行された場合には前記四則演算の後に実行された前記税計算での計算結果が前記四則演算の前に実行された前記税計算での計算結果と合計されるように、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを前記所定のメモリに記憶させる、ことを特徴とする。
また、本発明に係る計算支援方法は、計算結果として税込み額、税抜き額または税額を導出するための税計算を実行可能な電子機器が実行する計算支援方法であって、前記税計算の実行指示として第1税率が設定された第1操作キーを数値入力に続けて操作された場合と前記税計算の実行指示として第2税率が設定された第2操作キーを数値入力に続けて操作された場合との間で、前記税計算の実行指示が繰り返されたときの前記計算結果を、分離して合計することにより、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを所定のメモリに記憶させる記憶制御処理と、前記税計算の実行指示が繰り返されるごとに、当該税計算での計算結果を所定の表示部に表示させる表示制御処理と、を含み、前記記憶制御処理は、前記繰り返し途中で所定の四則演算が実行された場合には前記四則演算の後に実行された前記税計算での計算結果が前記四則演算の前に実行された前記税計算での計算結果と合計されるように、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを前記所定のメモリに記憶させる、ことを特徴とする。
また、本発明に係るプログラムは、計算結果として税込み額、税抜き額または税額を導出するための税計算を実行可能な電子機器のコンピュータを、前記税計算の実行指示として第1税率が設定された第1操作キーを数値入力に続けて操作された場合と前記税計算の実行指示として第2税率が設定された第2操作キーを数値入力に続けて操作された場合との間で、前記税計算の実行指示が繰り返されたときの前記計算結果を、分離して合計することにより、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを所定のメモリに記憶させる記憶制御手段、前記税計算の実行指示が繰り返されるごとに、当該税計算での計算結果を所定の表示部に表示させる表示制御手段、として機能させ、前記記憶制御手段は、前記繰り返し途中で所定の四則演算が実行された場合には前記四則演算の後に実行された前記税計算での計算結果が前記四則演算の前に実行された前記税計算での計算結果と合計されるように、前記第1税率に対応した第1合計値と前記第2税率に対応した第2合計値とを前記所定のメモリに記憶させる、ことを特徴とする。
In order to solve the above problems, an electronic device according to the present invention is an electronic device capable of executing tax calculation for deriving an amount including tax, an amount excluding tax, or an amount of tax as a calculation result, wherein: A first operation key set with a first tax rate as an instruction is operated following numeric input, and a second operation key with a second tax rate set as an instruction to execute tax calculation is operated following numeric input. and when the tax calculation execution instruction is repeated, the calculation results are separately summed to obtain the first total value corresponding to the first tax rate and the second tax rate corresponding to the second tax rate. storage control means for storing the calculated second total value in a predetermined memory; display control means for displaying the calculation result of the tax calculation on a predetermined display unit each time the instruction to execute the tax calculation is repeated; When a predetermined four arithmetic operation is executed during the repetition, the storage control means stores the calculation result of the tax calculation executed after the four arithmetic operation before the four arithmetic operation. A first total value corresponding to the first tax rate and a second total value corresponding to the second tax rate are stored in the predetermined memory so as to be summed with the calculation result in the tax calculation. do.
Further, a calculation support method according to the present invention is a calculation support method executed by an electronic device capable of executing tax calculation for deriving a tax-inclusive amount, a tax-excluded amount, or a tax amount as a calculation result, wherein the tax calculation is executed A first operation key set with a first tax rate as an instruction is operated following numeric input, and a second operation key with a second tax rate set as an instruction to execute tax calculation is operated following numeric input. and when the tax calculation execution instruction is repeated, the calculation results are separately summed to obtain the first total value corresponding to the first tax rate and the second tax rate corresponding to the second tax rate. storage control processing for storing the calculated second total value in a predetermined memory; display control processing for displaying the calculation result of the tax calculation on a predetermined display unit each time the instruction to execute the tax calculation is repeated; and the memory control processing is such that, when a predetermined four arithmetic operation is executed during the repetition, the calculation result of the tax calculation executed after the four arithmetic operation is processed before the four arithmetic operation. A first total value corresponding to the first tax rate and a second total value corresponding to the second tax rate are stored in the predetermined memory so as to be summed with the calculation result in the tax calculation. do.
Further, the program according to the present invention provides a computer of an electronic device capable of executing tax calculation for deriving an amount including tax, an amount excluding tax, or an amount of tax as a calculation result. between the case where the first operation key is operated after entering a numerical value and the case where the second operation key for which the second tax rate is set as the instruction to execute the tax calculation is operated after entering a numerical value, A first total value corresponding to the first tax rate and a second total value corresponding to the second tax rate are predetermined by separately summing the calculation results when the tax calculation execution instruction is repeated. and display control means for displaying the calculation result of the tax calculation on a predetermined display unit each time the tax calculation execution instruction is repeated, and the storage control means When a predetermined four arithmetic operation is executed during the repetition, the calculation result of the tax calculation executed after the four arithmetic operation is summed with the calculation result of the tax calculation executed before the four arithmetic operation. , a first total value corresponding to the first tax rate and a second total value corresponding to the second tax rate are stored in the predetermined memory.

本発明によれば、税率毎の税込み額の合計のもとになる各税込み額を算出している途中でそれとは独立させた四則演算が実行された場合であっても前記四則演算が前記合計の導出の妨げになることを防止可能な電子機器、計算支援方法及びプログラムを提供することができる。 According to the present invention, even if the four arithmetic operations are executed independently from the calculation of each tax-inclusive amount, which is the basis of the total tax-inclusive amount for each tax rate, the four arithmetic operations can can be provided.

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

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

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

図9(B1)~(B5)に示す複数の数値について税計算した後、税計算合計キー11cを通常の押下する操作が行われると、CPU21は、税計算の直後であるため、税合計リコールモードをオンにする。また、CPU21は、税率1合計メモリエリア22c、税率2合計メモリエリア22d~22fにそれぞれ記憶された税率1及び税率2の税込み額、税抜合計額、税合計額をもとに、税率1と税率2をそれぞれ適用した税込合計額の合計(525+3300)を示す税込総合計額「3825」を算出して税合計メモリエリア22gへ記憶させるとともに、表示部12に表示させる(図8(A)下から3行目、図9(C1))。さらに、CPU21は、税合計リコールモードシンボル12dとして「RCL」を、表示部12の状態表示エリアに表示させる(図9(C1))。ここで、税計算合計キー11cが操作されると、CPU21は、図9(C2)に示すように、税率1と税率2をそれぞれ適用した税抜合計額の合計を示す税抜総合計額「3500」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C3)に示すように、税率1と税率2をそれぞれ適用した税合計額の合計を示す税総合計額「325」を表示させる。さらに、税計算合計キー11cが操作されると、CPU21は、図9(C1)に示す表示に戻り、税込総合計額「3825」を税合計メモリエリア22gから読み出して、表示部12に表示させる。 When the tax calculation total key 11c is pressed normally after tax calculation is performed for a plurality of numerical values shown in FIGS. turn on the mode. In addition, the CPU 21 calculates tax rate 1 and Calculate the total tax-included total amount "3825" indicating the total tax-included total amount (525 + 3300) to which the tax rate 2 is applied respectively, store it in the tax total memory area 22g, and display it on the display unit 12 ( Fig. 8 (A) bottom 3rd line from FIG. 9 (C1)). Furthermore, the CPU 21 displays "RCL" as the total tax recall mode symbol 12d in the state display area of the display section 12 (Fig. 9 (C1)). Here, when the tax calculation total key 11c is operated, the CPU 21 displays the total tax-excluded total amount " 3500” is displayed. Further, when the tax calculation total key 11c is operated, the CPU 21 displays the total tax amount "325" indicating the total tax amount to which tax rate 1 and tax rate 2 are applied, as shown in FIG. 9 (C3). display. Further, when the tax calculation total key 11c is operated, the CPU 21 returns to the display shown in FIG. .

Claims (16)

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

Applications Claiming Priority (3)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2023121840A true JP2023121840A (en) 2023-08-31
JP7487828B2 JP7487828B2 (en) 2024-05-21

Family

ID=69745858

Family Applications (2)

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

Family Applications Before (1)

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

Country Status (2)

Country Link
JP (2) JP7487829B2 (en)
CN (2) CN110888830B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3050260B2 (en) 1993-04-02 2000-06-12 矢崎総業株式会社 Temperature switch and temperature detector
CN2217236Y (en) * 1994-07-22 1996-01-10 信利电子有限公司 Calculator for calculating tax rate
JP2001273266A (en) 2000-03-24 2001-10-05 Sharp Corp Information processor, method and device for display therefor
US7313538B2 (en) * 2001-02-15 2007-12-25 American Express Travel Related Services Company, Inc. Transaction tax settlement in personal communication devices
JP2006293498A (en) 2005-04-06 2006-10-26 Sharp Corp Electronic computer
JP2011186567A (en) * 2010-03-05 2011-09-22 Casio Computer Co Ltd Electronic calculator and program
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program
JP6759766B2 (en) * 2016-06-30 2020-09-23 カシオ計算機株式会社 Tax calculators, tax calculators, and programs
JP6816392B2 (en) * 2016-06-30 2021-01-20 カシオ計算機株式会社 Computational equipment, computational methods, and programs
JP6428734B2 (en) * 2016-09-21 2018-11-28 カシオ計算機株式会社 Tax calculation device, tax calculation method, program
JP6825285B2 (en) * 2016-09-23 2021-02-03 カシオ計算機株式会社 Computer, calculation printing method, program
CN107870886B (en) * 2016-09-23 2021-05-18 卡西欧计算机株式会社 Computing device, computing method, and computer-readable storage medium
JP6635132B2 (en) 2018-02-06 2020-01-22 カシオ計算機株式会社 Tax calculator, tax calculation method and tax calculation program

Also Published As

Publication number Publication date
CN118051466A (en) 2024-05-17
JP7487829B2 (en) 2024-05-21
CN110888830A (en) 2020-03-17
JP2023121841A (en) 2023-08-31
CN110888830B (en) 2024-03-22
JP7487828B2 (en) 2024-05-21

Similar Documents

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

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230711

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240313

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240422

R150 Certificate of patent or registration of utility model

Ref document number: 7487828

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150