JP7163705B2 - Calculators, calculation methods, and programs - Google Patents

Calculators, calculation methods, and programs Download PDF

Info

Publication number
JP7163705B2
JP7163705B2 JP2018188328A JP2018188328A JP7163705B2 JP 7163705 B2 JP7163705 B2 JP 7163705B2 JP 2018188328 A JP2018188328 A JP 2018188328A JP 2018188328 A JP2018188328 A JP 2018188328A JP 7163705 B2 JP7163705 B2 JP 7163705B2
Authority
JP
Japan
Prior art keywords
tax
total
value
calculation
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018188328A
Other languages
Japanese (ja)
Other versions
JP2020057263A (en
Inventor
敏文 高島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2018188328A priority Critical patent/JP7163705B2/en
Publication of JP2020057263A publication Critical patent/JP2020057263A/en
Application granted granted Critical
Publication of JP7163705B2 publication Critical patent/JP7163705B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Description

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

近年の計算装置(電卓)には、複数の税率を用いて税計算をする機能を設けたものがある。例えば、特許文献1に記載された電卓は、税計算の実行を指示するための税込み計算キー及び税抜き計算キーが設けられている。電卓は、税計算の対象とする数値が表示された状態において、税込み計算キーあるいは税抜き計算キーが操作されることにより、操作されたキーに応じて、表示された数値に対して税込み計算あるいは税抜き計算を実行して、税計算結果とする数値を表示させる。また、特許文献1に記載された電卓では、税計算を実行することにより、税計算結果とする数値を表示させるだけでなく、ユーザによるキー操作に応じて、税込額、税抜額、税額を表示させることもできる。 Some recent computing devices (calculators) are provided with a function of tax calculation using a plurality of tax rates. For example, the calculator described in Patent Document 1 is provided with a tax-inclusive calculation key and a tax-excluded calculation key for instructing execution of tax calculation. By operating the tax-inclusive calculation key or tax-excluded calculation key while the numerical value to be used for tax calculation is displayed, the calculator calculates tax-inclusive or tax-inclusive calculation for the displayed value according to the operated key Execute the tax-excluded calculation and display the numerical value as the tax calculation result. Moreover, the calculator described in Patent Document 1 not only displays the numerical value as the tax calculation result by executing the tax calculation, but also displays the tax-inclusive amount, the tax-excluded amount, and the tax amount according to the key operation by the user. You can also let

ところで、多くの電卓には、表示された数値や計算結果を一時的に記憶させておくメモリ機能が設けられている。メモリ機能では、例えば四則計算により得られた数値、税計算により得られた数値を、加算あるいは減算して一時記憶させておくことができる。 By the way, many calculators are provided with a memory function for temporarily storing displayed numerical values and calculation results. In the memory function, for example, numerical values obtained by four arithmetic calculations and numerical values obtained by tax calculations can be added or subtracted and temporarily stored.

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

このように従来技術による電卓では、税計算によって得られた数値についても、四則計算する場合と同様にして、メモリ機能を利用することで、加算あるいは減算して一時記憶させておくことができる。 As described above, in the calculator according to the prior art, the numerical values obtained by the tax calculation can be added or subtracted and temporarily stored by using the memory function in the same manner as in the case of the four arithmetic calculations.

しかしながら、従来の電卓では、メモリ機能を利用することで、税計算結果として表示された数値を加算あるいは減算して一時記憶させておくだけで、税計算を実行することにより得られる他の数値、例えば税込額、税抜額、税額などを利用することができなかった。 However, with conventional calculators, by using the memory function, it is only necessary to temporarily store the values displayed as tax calculation results by adding or subtracting them, and other values obtained by executing tax calculations, For example, tax-included amount, tax-excluded amount, tax amount, etc. could not be used.

本発明は、前記のような課題に考慮してなされたもので、メモリ機能を利用して税計算結果をより有効に利用できる計算機、計算方法、及びプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a calculator, a calculation method, and a program that can more effectively use tax calculation results by using a memory function.

上記課題を解決するために、本発明の計算機は、税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、前記税計算手段により得られる税込額、税抜額、税額のそれぞれの合計値を第1合計値として第1メモリに記憶させる第1記憶手段と、前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される税込額、税抜額、税額のそれぞれを第2数値として第2メモリに記憶させる第2記憶手段と、前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる第1表示手段とを有する。 In order to solve the above problems, the computer of the present invention includes tax calculation means for executing tax calculation using a first numerical value in response to an input of a tax calculation execution instruction; , a tax-excluded amount, and a tax amount are stored in a first memory as a first total value; and updating with the first total value in response to an input instructing storage of the first total value a second storage means for storing each of the taxable amount, the taxable amount, and the taxable amount as a second numerical value in a second memory; and a first display means for displaying the second numerical value on a display section.

本発明によれば、メモリ機能を利用して税計算結果をより有効に利用できる。 According to the present invention, the tax calculation result can be used more effectively by using the memory function.

本実施形態における税計算機の外観構成を示す正面図。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 memory function processing 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. 4 is a diagram showing specific examples of numerical values stored in a tax calculation memory and an independent tax memory in the present embodiment; 本実施形態における電卓のメモリ機能の動作を説明するためのフローチャート。4 is a flowchart for explaining the operation of the memory function of the calculator according to the embodiment; 本実施形態における電卓のメモリ機能の動作を説明するためのフローチャート。4 is a flowchart for explaining the operation of the memory function of the calculator according to the embodiment;

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

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

図1に示す電卓10について説明する。本実施形態における電卓10は、複数の税率(以下では税率1(例えば「10%」)と税率2(例えば「8%」)の2つの税率)に基づいた税計算をする税計算機能が設けられている。 The calculator 10 shown in FIG. 1 will be described. The calculator 10 in this embodiment is provided with a tax calculation function that performs tax calculation based on a plurality of tax rates (hereafter, two tax rates, tax rate 1 (eg, "10%") and tax rate 2 (eg, "8%")). It is

電卓10の筐体正面には、複数のキーを含むキー入力部11および表示部12が設けられる。キー入力部11には、数値キー、演算キー、税計算機能キー、機能キー、が設けられる。数値キーには、例えば[00][0]~[9]のそれぞれに対応する複数のキーを含む。演算キーには、例えば[+](加算)キー、[-](減算)キー、[×](乗算)キー、[÷](除算)キー11h、[=](演算実行)キーのそれぞれに対応する複数のキーを含む。税計算機能キーには、税計算キー(税込1計算キー11b、税込2計算キー11c、税抜1計算キー11d、税抜2計算キー11e)、税計算合計キー11fが設けられる。機能キーには、例えばオールクリアキー([AC]キー11a)、クリアキー([C]キー)、複数のメモリキー([M+]キー11m1、[M-]キー11m2、[MR]キー11m3、[MC]キー11m4)、グランドトータルキー([GT]キー)、ルートキー([√]キー)、[%]キー11gなどが含まれる。 A key input unit 11 including a plurality of keys and a display unit 12 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, and function keys. Numerical keys include, for example, a plurality of keys corresponding respectively to [00][0]-[9]. The calculation keys include, for example, [+] (addition) key, [-] (subtraction) key, [x] (multiplication) key, [÷] (division) key 11h, and [=] (calculation execution) key. Contains corresponding keys. The tax calculation function keys include a tax calculation key (tax included 1 calculation key 11b, tax included 2 calculation key 11c, tax excluded 1 calculation key 11d, tax excluded 2 calculation key 11e) and a tax calculation total key 11f. The function keys include, for example, an all clear key ([AC] key 11a), a clear key ([C] key), a plurality of memory keys ([M+] key 11m1, [M-] key 11m2, [MR] key 11m3, [MC] key 11m4), grand total key ([GT] key), root key ([√] key), [%] key 11g, and the like are included.

税込1計算キー11bは、税率1を用いた税込み計算の実行指示を入力するために操作される。同様にして、税込2計算キー11cは、税率2を用いた税込み計算の実行指示を入力するために操作される。税抜1計算キー11dは、税率1を用いた税抜き計算の実行指示を入力するために操作される。同様にして、税抜2計算キー11eは、税率2を用いた税抜き計算の実行指示を入力するために操作される。 The tax-inclusive calculation key 11b is operated to input an execution instruction for tax-inclusive calculation using the tax rate of one. Similarly, the tax-inclusive 2 calculation key 11c is operated to input an execution instruction for the tax-inclusive calculation using the tax rate 2. FIG. The tax-excluded 1 calculation key 11d is operated to input an instruction to execute the tax-excluded calculation using the tax rate of 1. Similarly, the tax-excluded 2 calculation key 11e is operated to input an instruction to execute the tax-excluded calculation using the tax rate 2.

税計算合計キー11fは、税計算の計算結果について総合計を表示させる指示を入力するために操作される。税計算合計キー11fが操作された場合、税合計後モード(後述する)がオンに設定され、税計算の計算結果とする総合計について、税込額、税抜額、税額を切り替えて表示させることができる。 The tax calculation total key 11f is operated to input an instruction to display the total sum of the tax calculation results. When the tax calculation total key 11f is operated, a post-tax total mode (to be described later) is set to ON, and the total total used as the calculation result of the tax calculation can be displayed by switching between the tax-inclusive amount, the tax-excluded amount, and the tax amount. can.

メモリキーは、メモリ機能を利用するために操作されるキーである。メモリ機能では、表示された数値や計算結果のデータを不揮発性の独立メモリエリア(後述する独立メモリエリア22h、独立税率1メモリエリア22f、独立税率2メモリエリア22g)に一時的に記憶させておくことができ、[AC]キー11aあるいは[C]キーの操作、及び電源がオフされてもデータが保持される。本実施形態における電卓10は、通常計算(四則計算など)及び税計算における計算対象とする数値に対して処理を実行するメモリ機能(以下、通常メモリ機能と称する)と、税計算の結果とする数値を合計した合計値に対して処理を実行するメモリ機能(以下、税計算メモリ機能と称する)を実行可能である。税計算メモリ機能は、税合計後モードがオンに設定された場合に有効となる。 A memory key is a key operated to use the memory function. The memory function temporarily stores displayed numerical values and calculation result data in non-volatile independent memory areas (an independent memory area 22h, an independent tax rate 1 memory area 22f, and an independent tax rate 2 memory area 22g, which will be described later). Data is retained even when the [AC] key 11a or [C] key is operated and the power is turned off. The calculator 10 in this embodiment has a memory function (hereinafter referred to as a normal memory function) for executing processing on numerical values to be calculated in normal calculations (four arithmetic calculations, etc.) and tax calculations, and a function for processing the results of tax calculations. A memory function (hereinafter referred to as a tax calculation memory function) for executing processing on the total value obtained by totaling numerical values can be executed. The tax calculation memory function is enabled when the post-tax total mode is set to ON.

通常メモリ機能では、1回のメモリキーの操作に対して1つの数値を処理対象とし、税計算メモリ機能では、1回のメモリキーの操作に対して例えば税計算の計算結果として記憶される複数の数値を処理対象とする。税計算メモリ機能が処理対象とする複数の数値は、例えば、複数の税率(税率1(「10%」)、税率2(「8%」)のそれぞれに基づく税計算の結果とする税率別の合計値、及び複数の各税率で計算した合計値の総合計値を対象とする。さらに、税率別の合計値について、税込合計額、税抜合計額、税額合計額をそれぞれ示す数値を対象とする。さらに、総合計値について、各税率で計算した税込合計額、税抜合計額、税額合計額をそれぞれ総合計した、税込総合計額、税抜総合計額、税額総合計額をそれぞれ示す数値を対象とする。 With the normal memory function, one numerical value is processed for one memory key operation, and with the tax calculation memory function, multiple values are stored as, for example, tax calculation calculation results for one memory key operation. The numerical value of is to be processed. The multiple numerical values to be processed by the tax calculation memory function are, for example, tax rate-specific tax calculation results based on multiple tax rates (tax rate 1 (“10%”) and tax rate 2 (“8%”)). The target is the total value and the total value of the total value calculated by multiple tax rates.In addition, for the total value by tax rate, the target is the total amount including tax, total amount excluding tax, and total tax amount. In addition, for the total value, the total amount including tax, total amount excluding tax, and total tax amount calculated at each tax rate are shown, respectively. Targets numeric values.

複数のメモリキーは、通常メモリ機能と税計算メモリ機能の両方で兼用される。通常メモリ機能の実行時には、メモリキーの操作に応じて独立メモリ(後述するメモリ22の独立メモリエリア22h)を処理対象とし、税計算メモリ機能の実行時には、メモリキーの操作に応じて税計算独立メモリ(後述するメモリ22の独立税率1メモリエリア22f、独立税率2メモリエリア22g)を処理対象とする。 A plurality of memory keys are used for both the normal memory function and the tax calculation memory function. When the normal memory function is executed, the independent memory (independent memory area 22h of the memory 22 described later) is processed according to the operation of the memory key, and when the tax calculation memory function is executed, the tax calculation is independent according to the operation of the memory key. A memory (an independent tax rate 1 memory area 22f and an independent tax rate 2 memory area 22g of the memory 22 to be described later) is targeted for processing.

[M+]キー11m1と[M-]キー11m2は、独立メモリあるいは税計算独立メモリに記憶された数値を、処理対象とする数値によって更新する指示を入力するためのキーである。[M+]キー11m1は、処理対象とする数値を加算する指示を入力し、[M-]キー11m2は、処理対象とする数値を減算する指示を入力するために操作される。 The [M+] key 11m1 and [M-] key 11m2 are keys for inputting an instruction to update the numerical value stored in the independent memory or tax calculation independent memory with the numerical value to be processed. The [M+] key 11m1 is operated to input an instruction to add the numerical value to be processed, and the [M-] key 11m2 is operated to input an instruction to subtract the numerical value to be processed.

[MR]キー11m3は、独立メモリあるいは税計算独立メモリに記憶された数値を読み出して、表示させる指示を入力するためのキーである。 The [MR] key 11m3 is a key for inputting an instruction to read out and display numerical values stored in the independent memory or tax calculation independent memory.

[MC]キー11m4は、独立メモリあるいは税計算独立メモリに記憶された数値の消去を指示するためのキーである。 The [MC] key 11m4 is a key for instructing deletion of numerical values stored in the independent memory or tax calculation independent memory.

[%]キーは、パーセント計算のために使用される他、税計算キーの操作に応じて実行する税計算で用いられる税率をユーザ操作によって設定するための税率設定処理を起動するために使用される。税率設定処理では、例えば、税込1計算キー11bと税抜1計算キー11dのキー操作に応じて実行される税計算に用いられる税率1と、税込2計算キー11cと税抜2計算キー11eのキー操作に応じて実行される税計算に用いられる税率2を設定することができる。 The [%] key is used not only for calculating percentages, but also for activating the tax rate setting process for setting the tax rate used in the tax calculation executed according to the operation of the tax calculation key by user operation. be. In the tax rate setting process, for example, the tax rate 1 used for the tax calculation executed in response to key operation of the tax-included 1 calculation key 11b and the tax-excluded 1 calculation key 11d, and the tax rate 1, the tax-included 2 calculation key 11c and the tax-excluded 2 calculation key 11e are set. A tax rate 2 can be set to be used for tax calculation executed according to key operations.

ラウンドセレクタ11yは、端数処理の計算方法を設定する。例えば、「F」設定は、表示部12に小数点以下を含む表示可能な最大桁の表示を指定する。「CUT」設定は、小数点セレクタ11zで指定された桁の切り捨てを指定する。「5/4」設定は、小数点セレクタ11zで指定した桁の四捨五入を指定する。小数点セレクタ11zは、小数点以下を何桁まで表示部12に表示させるかを設定する。なお、「ADD」設定は、入力された数値に対して所定の桁数への小数点設定を指定する。 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 "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 "ADD" setting designates the decimal point setting to a predetermined number of digits for the input numerical value.

表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の計算モードや各種設定状態を示す文字や記号(シンボル)が表示される。状態表示エリアに表示されるシンボルには、例えば、税計算キーシンボル、総合計表示シンボル、メモリシンボルなどが表示される。 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 the state display areas provided along the sides of the display unit 12, characters and symbols indicating the calculation mode being set and various setting states are displayed. Symbols displayed in the status display area include, for example, a tax calculation key symbol, a total total display symbol, and a memory symbol.

図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を実行することにより、回路各部の動作を制御する。入力操作が行われると、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 is performed, the CPU 21 detects the key on which the input operation is performed based on the key input signal from the key input unit 11, and executes various kinds of arithmetic processing corresponding to each detected key. 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が記憶される他に、税率1合計メモリエリア22b、税率2合計メモリエリア22c、税合計メモリエリア22d、税合計後モードデータ22e、独立税率1メモリエリア22f、独立税率2メモリエリア22g、独立メモリエリア22h、税率記憶エリア22kなど各データを記憶するエリアが設けられる。税率1合計メモリエリア22b、税率2合計メモリエリア22c及び税合計メモリエリア22dは、税計算処理において使用される税計算用メモリとして使用されるエリアである。 In addition to storing a calculation processing program 22a, the memory 22 stores a tax rate 1 total memory area 22b, a tax rate 2 total memory area 22c, a tax total memory area 22d, post-tax total mode data 22e, an independent tax rate 1 memory area 22f, Areas for storing each data such as an independent tax rate 2 memory area 22g, an independent memory area 22h, and a tax rate storage area 22k are provided. The tax rate 1 total memory area 22b, tax rate 2 total memory area 22c, and tax total memory area 22d are areas used as memory for tax calculation used in tax calculation processing.

税率1合計メモリエリア22bは、税率1に基づいた税計算により算出されるデータを記憶するためのエリアである。税率1合計メモリエリア22bには、キー入力部11の入力操作により入力された税抜額(第1税抜額)を示す数値に対して、税率1を用いて計算された税込額(第1税込額)、税額(第1税額)、及び税抜額(第1税抜額)が、少なくとも1つの数値について記憶される。また、税率1合計メモリエリア22bは、少なくとも1つの数値に対応する第1税込額の合計を示す第1税込合計額、第1税込合計額に対応する第1税抜合計額、第1税込合計額に対応する第1税合計額が記憶される。 The tax rate 1 total memory area 22b is an area for storing data calculated by tax calculation based on tax rate 1. FIG. In the tax rate 1 total memory area 22b, the tax-included amount (first tax-included amount) calculated using tax rate 1 for the numerical value indicating the tax-excluded amount (first tax-excluded amount) input by the input operation of the key input unit 11 is stored. ), the tax amount (first tax amount), and the tax-excluded amount (first tax-excluded amount) are stored for at least one numerical value. In addition, the tax rate 1 total memory area 22b stores a first total tax-included amount indicating the total of the first tax-included amount corresponding to at least one numerical value, a first total tax-included amount corresponding to the first total tax-included amount, and a first total tax-included amount. A first tax total amount corresponding to the amount is stored.

税率2合計メモリエリア22cは、税率2に基づいた税計算により算出されるデータを記憶するためのエリアである。税率2合計メモリエリア22cには、キー入力部11の入力操作により入力された税抜額(第2税抜額)を示す数値に対して、税率2を用いて計算された税込額(第2税込額)及び税額(第2税額)と、税抜額(第2税抜額)が、少なくとも1つの数値について記憶される。また、税率2合計メモリエリア22cは、少なくとも1つの数値に対応する第2税込額の合計を示す第2税込合計額、第2税込合計額に対応する第2税抜合計額、第2税込合計額に対応する第2税合計額が記憶される。 The tax rate 2 total memory area 22c is an area for storing data calculated by tax calculation based on the tax rate 2. FIG. In the tax rate 2 total memory area 22c, the tax-included amount (second tax-included amount) calculated using the tax rate 2 for the numerical value indicating the tax-excluded amount (second tax-excluded amount) input by the input operation of the key input unit 11 is stored. ), the tax amount (second tax amount), and the tax-excluded amount (second tax-excluded amount) are stored for at least one numerical value. In addition, the tax rate 2 total memory area 22c stores a second tax-included total amount indicating the total of the second tax-included amount corresponding to at least one numerical value, a second tax-included total amount corresponding to the second tax-included total amount, and a second tax-included total amount. A second tax total amount corresponding to the amount is stored.

税合計メモリエリア22dは、税率1に基づいた税計算により算出される数値と、税率2に基づいた税計算により算出される数値の合計を示すデータを記憶するためのエリアである。税合計メモリエリア22dには、税計算合計キー11fの入力操作に応じて、第1税込合計額と第2税込合計額とを合計した税込総合計額、税込総合計額に対応する税抜総合計額、税込総合計額に対応する税総合計額が記憶される。 The tax total memory area 22d is an area for storing data indicating the sum of the numerical value calculated by the tax calculation based on the first tax rate and the numerical value calculated by the tax calculation based on the second tax rate. In the tax total memory area 22d, the total tax-included total amount obtained by summing the first total tax-included amount and the second total tax-included amount, and the tax-excluded total amount corresponding to the total tax-included total amount are stored in accordance with the input operation of the tax calculation total key 11f. A tax total amount corresponding to the total amount and tax-included total amount is stored.

税合計後モードデータ22eは、税計算合計キー11fの入力操作に応じて税込総合計額が算出された後の状態にあるか否か(税合計後モードオン/オフ)を示すデータである。税合計後モードは、税込総合計額が算出された時にオンされ、税込1計算キー11b及び税込2計算キー11c以外のキー、例えば[AC]キー11aが操作された場合や数値キーが操作されることにより新たな数値入力が行われた場合にオフされる。税合計後モードがオン状態(税込総合計額の算出後の状態)の場合には、税込1計算キー11bあるいは税込2計算キー11cに対する操作が行われると、(第1/第2)税込合計額が表示される。そして同じキー(税込1計算キー11bあるいは税込2計算キー11c)が操作される毎に、(第1/第2)税込合計額に対応する税抜合計額、(第1/第2)税込合計額に対応する税合計額を切替て順次表示させる。また、税合計後モードがオフ状態の場合(つまり税込総合計額の算出後でない状態)に、税込1計算キー11bあるいは税込2計算キー11cに対する操作が行われると、表示数値を税抜額とした場合の(第1/第2)税込額が表示される。そして同じキー(税込1計算キー11bあるいは税込2計算キー11c)が操作されると、(第1/第2)税額が表示される。 The post-tax total mode data 22e is data indicating whether or not the state is after the total tax-inclusive amount is calculated according to the input operation of the tax calculation total key 11f (post-tax total mode ON/OFF). The post-tax totalization mode is turned on when the total amount including tax is calculated, and when a key other than the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c, for example, the [AC] key 11a or a numeric key is operated. is turned off when a new numerical value is entered. When the post-tax total mode is on (the state after the total amount including tax is calculated), when the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated, the (first/second) tax-included total amount is calculated. amount is displayed. Each time the same key (1 calculation key 11b including tax or 2 calculation key 11c including tax) is operated, the total amount excluding tax corresponding to the (first/second) total amount including tax, the (first/second) total amount including tax The total tax amount corresponding to the amount is switched and displayed sequentially. When the after-tax total mode is off (i.e., the total amount including tax has not been calculated), if the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated, the displayed value is changed to the tax-excluded amount. The (first/second) tax-included amount for each case is displayed. When the same key (tax included 1 calculation key 11b or tax included 2 calculation key 11c) is operated, the (first/second) tax amounts are displayed.

独立税率1メモリエリア22fと独立税率2メモリエリア22gは、税計算メモリ機能により使用される独立税メモリとして使用されるエリアである。独立税率1メモリエリア22fは、税率1合計メモリエリア22bと対応するもので、税率1合計メモリエリア22bに記憶される税込合計額、税抜合計額、税合計額のそれぞれに対応する数値が記憶される。同様にして、独立税率2メモリエリア22gは、税率2合計メモリエリア22cと対応するもので、税率2合計メモリエリア22cに記憶される税込合計額、税抜合計額、税合計額のそれぞれに対応する数値が記憶される。 The independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g are areas used as independent tax memory used by the tax calculation memory function. The independent tax rate 1 memory area 22f corresponds to the tax rate 1 total memory area 22b, and stores numerical values corresponding to the tax total amount, tax total amount, and tax total amount stored in the tax rate 1 total memory area 22b. be done. Similarly, the independent tax rate 2 memory area 22g corresponds to the tax rate 2 total memory area 22c, and corresponds to the total amount including tax, the total amount excluding tax, and the total amount of tax stored in the tax rate 2 total memory area 22c. The value to be used is stored.

独立税率1メモリエリア22fは、[M+]キー11m1及び[M-]キー11m2に対する操作に応じて、税率1合計メモリエリア22bに記憶されたデータをもとに更新(加算、減算)される。独立税率2メモリエリア22gは、[M+]キー11m1及び[M-]キー11m2に対する操作に応じて、税率2合計メモリエリア22cに記憶されたデータをもとに更新(加算、減算)される。 The independent tax rate 1 memory area 22f is updated (added or subtracted) based on the data stored in the tax rate 1 total memory area 22b in accordance with the operation of the [M+] key 11m1 and the [M-] key 11m2. The independent tax rate 2 memory area 22g is updated (added or subtracted) based on the data stored in the tax rate 2 total memory area 22c according to the operation of the [M+] key 11m1 and the [M-] key 11m2.

独立メモリエリア22hは、通常メモリ機能により使用されるエリアである。独立メモリエリア22hは、[M+]キー11m1及び[M-]キー11m2に対する操作に応じて、四則計算により得られた数値あるいは税計算により得られた数値により更新(加算、減算)される。 The independent memory area 22h is an area used by normal memory functions. The independent memory area 22h is updated (added or subtracted) with the numerical value obtained by the four arithmetic calculations or the numerical value obtained by the tax calculation according to the operation of the [M+] key 11m1 and the [M-] key 11m2.

独立税率1メモリエリア22f、独立税率2メモリエリア22g、独立メモリエリア22hは、[AC]キー11aあるいは[C]キーの操作、及び電源がオフされてもデータが保持される、不揮発性の記憶エリアである。 The independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g, and independent tax rate 2 memory area 22h are non-volatile storage that retains data even when the [AC] key 11a or [C] key is operated and the power is turned off. area.

税率記憶エリア22kは、税計算キーに設定された税率1,2を示す数値が記憶される。 The tax rate storage area 22k stores numerical values indicating tax rates 1 and 2 set in the tax calculation key.

次に、本実施形態における電卓10の動作について説明する。図3及び図4は、本実施形態における電卓10の税計算機能の動作を説明するためのフローチャートである。図5は、本実施形態における電卓10のメモリ機能処理の動作を説明するためのフローチャートである。図6及び図7は、本実施形態における電卓10の税計算機能を説明するための入力操作と表示の具体例を示す図である。図8は、本実施形態における税計算用メモリと独立税メモリに記憶される数値の具体例を示す図である。 Next, the operation of the calculator 10 according to this embodiment will be described. 3 and 4 are flowcharts for explaining the operation of the tax calculation function of the calculator 10 according to this embodiment. FIG. 5 is a flow chart for explaining the memory function processing operation of the calculator 10 in this embodiment. 6 and 7 are diagrams showing specific examples of input operations and displays for explaining the tax calculation function of the calculator 10 in this embodiment. FIG. 8 is a diagram showing specific examples of numerical values stored in the tax calculation memory and the independent tax memory in this embodiment.

まず、ユーザは、計算を開始前に表示をクリアするため、[AC]キー11aを操作(押下)する。CPU21は、[AC]キー11aが操作されると(ステップA1、Yes)、税計算に使用するメモリ22の各エリア、すなわち税率1合計メモリエリア22b、税率2合計メモリエリア22c、及び税合計メモリエリア22dを全てクリアする(ステップA2)。また、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフする(ステップA3)。図6(A1)は、[AC]キー11aが操作された場合の表示例を示している。また、先の四則計算や税計算により算出された数値が表示された状態で[AC]キー11aが操作された場合には、CPU21は、先に表示された数値をクリアして「0」を表示する。 First, the user operates (presses) the [AC] key 11a in order to clear the display before starting the calculation. When the [AC] key 11a is operated (step A1, Yes), the CPU 21 clears the areas of the memory 22 used for tax calculation, that is, the tax rate 1 total memory area 22b, the tax rate 2 total memory area 22c, and the total tax memory. All areas 22d are cleared (step A2). Further, the CPU 21 turns off the post-tax mode stored in the post-tax total mode data 22e (step A3). FIG. 6A1 shows a display example when the [AC] key 11a is operated. Further, when the [AC] key 11a is operated while the numerical values calculated by the above four arithmetic calculations and tax calculations are displayed, the CPU 21 clears the previously displayed numerical values and resets them to "0". indicate.

[AC]キー11aの入力操作の直後に、税込1計算キー11bに対する入力操作を検出した場合(ステップA8、A9、Yes)、CPU21は、税率記憶エリア22kに記憶された税率1を示す数値を参照して、税込1計算キー11bに対して設定された税率1を表示部12において表示させる(ステップA10)。本実施形態では、初期設定において、税率1として「10%」が設定されている。同様にして、[AC]キー11aの入力操作の直後に、税込2計算キー11cに対する入力操作を検出した場合(ステップA26、A27、Yes)、CPU21は、税率記憶エリア22kに記憶された税率2を示す数値を参照して、税込2計算キー11cに対して設定された税率2を表示部12において表示させる(ステップA28)。本実施形態では、初期設定において、税率2として「8%」が設定されている。 Immediately after the input operation of the [AC] key 11a, when the input operation to the tax-included 1 calculation key 11b is detected (steps A8, A9, Yes), the CPU 21 stores the numerical value indicating the tax rate 1 stored in the tax rate storage area 22k. Referring to this, the tax rate 1 set for the tax-inclusive 1 calculation key 11b is displayed on the display unit 12 (step A10). In this embodiment, the tax rate 1 is set to "10%" in the initial setting. Similarly, when an input operation to the tax-included 2 calculation key 11c is detected immediately after the input operation of the [AC] key 11a (steps A26, A27, Yes), the CPU 21 calculates the tax rate 2 stored in the tax rate storage area 22k. is referred to, the display unit 12 displays the tax rate 2 set for the tax-included 2 calculation key 11c (step A28). In this embodiment, the tax rate 2 is set to "8%" in the initial setting.

次に、計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップA4、Yes)、CPU21は、入力操作された数値キーに応じた数値(数値コード)を入力し、入力された数値を表示部12において表示させる(ステップA5)。また、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフする(ステップA3)。 Next, when the user operates a numerical key to input a numerical value to be calculated (step A4, Yes), the CPU 21 inputs a numerical value (numerical code) corresponding to the numerical key operated for input. , the input numerical value is displayed on the display unit 12 (step A5). Further, the CPU 21 turns off the post-tax mode stored in the post-tax total mode data 22e (step A3).

続いて、演算キーが操作されると(ステップA6、Yes)、CPU21は、入力操作された演算キーに応じた演算(演算コード)を入力して、入力された演算の演算(記号)シンボルを表示部12の状態表示エリアにおいて表示させる(ステップA7)。また、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフする(ステップA3)。 Subsequently, when an operation key is operated (step A6, 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 status display area of the display unit 12 (step A7). Further, the CPU 21 turns off the post-tax mode stored in the post-tax total mode data 22e (step A3).

また、CPU21は、入力された演算コードと入力済みの数値コードをもとに演算を実行し、演算途中の結果を表示部12に表示させる。以下、同様にして、数値コードと演算コードの入力が繰り返されることにより、CPU21は、入力された数値コードと演算コードとを順次記憶していく。そして、ユーザ操作により演算実行キー「=」(イコール)キーが操作されると、CPU21は、入力操作された演算実行キー(「=」キー)に応じた演算コードを入力し、それまでに入力された数値コードと演算コード(「=」コード)に応じた計算を実行し、計算結果を表示部12に表示させる(ステップA4~A7)。 In addition, the CPU 21 executes calculation based on the input calculation code and the input numerical code, and causes the display unit 12 to display the results during the calculation. 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) key is operated by the user operation, the CPU 21 inputs the operation code corresponding to the operated operation execution key (“=” key). Calculation is executed according to the numerical code and operation code (“=” code) obtained, and the calculation result is displayed on the display unit 12 (steps A4 to A7).

こうして、表示部12に数値が表示された状態において、税込1計算キー11bあるいは税込2計算キー11cの入力操作を検出した場合、CPU21は、表示部12に表示された税抜額を示す数値に対して、入力操作がされた税計算キーに応じた税率をもとに税計算を実行する。なお、前述した説明では、表示部12に表示された数値は、演算によって入力(表示)されているが、単に数値キーの入力操作により入力された数値を税計算の対象とすることができる。 In this way, when the input operation of the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is detected in the state in which the numerical value is displayed on the display unit 12, the CPU 21 responds Then, tax calculation is executed based on the tax rate corresponding to the entered tax calculation key. In the above description, the numerical value displayed on the display unit 12 is input (displayed) by calculation, but the numerical value input simply by the input operation of the numerical key can be the object of the tax calculation.

例えば、CPU21は、税込1計算キー11bの入力操作を検出した場合(ステップA8、Yes)、税合計後モードがオフ状態にあるため(ステップA11、Yes)、税計算の対象とする表示中の数値について、税率1(例えば「10%」)をもとに税込額及び税額を計算して、表示中の数値が示す税抜額と共に税率1合計メモリエリア22bに記憶させる(ステップA12)。また、CPU21は、税率1をもとに計算した税込額を表示部12に表示させる(ステップA13)。 For example, when the CPU 21 detects an input operation of the tax-inclusive calculation key 11b (step A8, Yes), the post-tax total mode is off (step A11, Yes). For the numerical values, the tax-included amount and tax amount are calculated based on the tax rate 1 (for example, "10%"), and stored in the tax-rate 1 total memory area 22b together with the tax-excluded amount indicated by the displayed numerical value (step A12). Further, the CPU 21 causes the display unit 12 to display the tax-included amount calculated based on the tax rate 1 (step A13).

同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4~A7)、税込1計算キー11bの入力操作を検出した場合(ステップA8、Yes)、CPU21は、表示部12に表示中の数値について税率1をもとに税計算をして、計算結果を税率1合計メモリエリア22bに記憶させると共に税込額を表示部12に表示させる(ステップA8~A13)。すなわち、複数の数値に対する税計算を続けて指示することができる。 In the same way, while the numerical value input by operating the numerical keys (or the numerical value calculated by calculation) is displayed on the display unit 12 (steps A4 to A7), the input operation of the tax-included calculation key 11b is detected. If so (step A8, Yes), the CPU 21 calculates the tax based on the tax rate 1 for the numerical value being displayed on the display unit 12, stores the calculation result in the tax rate 1 total memory area 22b, and displays the tax-included amount on the display unit 12. 12 (steps A8 to A13). That is, it is possible to continuously instruct tax calculation for a plurality of numerical values.

また、CPU21は、税込2計算キー11cの入力操作を検出した場合(ステップA26、Yes)、税合計後モードがオフ状態にあるため(ステップA29、Yes)、税計算の対象とする表示中の数値について、税率2(例えば「8%」)をもとに税込額及び税額を計算して、表示中の数値が示す税抜額と共に税率2合計メモリエリア22cに記憶させる(ステップA30)。また、CPU21は、税率2をもとに計算した税込額を表示部12に表示させる(ステップA31)。 When the CPU 21 detects an input operation of the tax-included 2 calculation key 11c (step A26, Yes), the post-tax total mode is off (step A29, Yes). For the numerical values, the tax-included amount and tax amount are calculated based on the tax rate 2 (for example, "8%"), and stored in the tax-rate 2 total memory area 22c together with the tax-excluded amount indicated by the displayed numerical value (step A30). Further, the CPU 21 causes the display unit 12 to display the tax-included amount calculated based on the tax rate 2 (step A31).

同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4~A7)、税込2計算キー11cの入力操作を検出した場合(ステップA26、Yes)、CPU21は、表示部12に表示中の数値について税率2をもとに税計算をして、計算結果を税率2合計メモリエリア22cに記憶させると共に税込額を表示部12に表示させる(ステップA26~A30)。 In the same way, the input operation of the tax-included 2 calculation key 11c is detected while displaying the numerical value (or the numerical value calculated by the calculation) input by operating the numerical keys on the display unit 12 (steps A4 to A7). If so (step A26, Yes), the CPU 21 calculates the tax based on the tax rate 2 for the numerical value being displayed on the display section 12, stores the calculation result in the tax rate 2 total memory area 22c, and displays the tax-included amount on the display section. 12 (steps A26 to A30).

以下、具体的な数値の入力と税計算の例について説明する。図6(B1)~(B7)には、複数の数値(税抜額)が入力され、それぞれに対する税計算の実行が税込1計算キー11bまたは税込2計算キー11cにより指定されたことを示している。 An example of inputting specific numerical values and tax calculation will be described below. 6(B1) to (B7) show that a plurality of numerical values (tax-excluded amounts) are input, and execution of tax calculation for each is specified by the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c. .

例えば図6(B1)に示すように、数値「1000」が入力された後、税込1計算キー11bが操作されると、CPU21は、税率1をもとに算出した税込額「1100」を表示させる。また、CPU21は、税率1をもとに算出した税込額を表示していることを表すシンボル「税1」を表示させる。同様にして、数値「200」「5000」「1500」が入力され、それぞれに対して税込1計算キー11bが操作されると、CPU21は、図6(B2)~(B4)に示すように、各数値に対して税率1をもとに算出した税込額を表示させる。各数値に対する税計算の結果は、税率1合計メモリエリア22bに記憶される。 For example, as shown in FIG. 6B1, when the tax-inclusive calculation key 11b is operated after the numerical value "1000" is input, the CPU 21 displays the tax-inclusive amount "1100" calculated based on the tax rate 1. Let In addition, the CPU 21 displays the symbol "tax 1" indicating that the tax-included amount calculated based on the tax rate 1 is displayed. Similarly, when the numerical values "200", "5000", and "1500" are input and the tax-inclusive calculation key 11b is operated for each, the CPU 21 performs the following operations as shown in FIGS. The tax-included amount calculated based on tax rate 1 is displayed for each numerical value. The tax calculation result for each numerical value is stored in the tax rate 1 total memory area 22b.

図8(A)には、図6(B1)~(B4)に示す、税込1計算キー11bの操作に応じて実行された税計算により、税率1合計メモリエリア22bに記憶される数値(税込合計額、税抜合計額、税合計額)の一例を示している。図8(A)に示すように、税率1合計メモリエリア22bには、複数の数値に対する税率1を用いた税込計算による合計値が、税込額、税抜額、税額のそれぞれについて記憶される(税込合計額、税抜合計額、税合計額)。 FIG. 8A shows the numerical values (including tax) stored in the tax rate 1 total memory area 22b by the tax calculation executed in response to the operation of the tax-included 1 calculation key 11b shown in FIGS. 6B1 to 6B4. total amount, tax-excluded total amount, and tax total amount). As shown in FIG. 8A, in the tax rate 1 total memory area 22b, the total value calculated using tax rate 1 for a plurality of numerical values is stored for each of the tax included amount, the tax excluded amount, and the tax amount. total amount, total amount before tax, total tax amount).

また、例えば図6(B5)に示すように、数値「2000」が入力された後、税込2計算キー11cが操作されると、CPU21は、税率2をもとに算出した税込額「2160」を表示させる。また、CPU21は、税率2をもとに算出した税込額を表示していることを表すシンボル「税2」を表示させる。同様にして、数値「3000」「400」が入力され、それぞれに対して税込2計算キー11cが操作されると、CPU21は、図6(B6)(B7)に示すように、各数値に対して税率2をもとに算出した税込額を表示させる。各数値に対する税計算の結果は、税率2合計メモリエリア22cに記憶される。 For example, as shown in FIG. 6B5, when the tax-included 2 calculation key 11c is operated after the numerical value "2000" is input, the CPU 21 calculates the tax-included amount "2160" based on the tax rate 2. display. In addition, the CPU 21 displays the symbol "Tax 2" indicating that the tax-included amount calculated based on the tax rate 2 is displayed. Similarly, when the numerical values "3000" and "400" are input and the tax-included 2 calculation key 11c is operated for each, the CPU 21 performs the calculation for each numerical value as shown in FIGS. to display the amount including tax calculated based on tax rate 2. The tax calculation result for each numerical value is stored in the tax rate 2 total memory area 22c.

図8(A)には、図6(B5)~(B7)に示す、税込2計算キー11cの操作に応じて実行された税計算により、税率2合計メモリエリア22cに記憶される数値(税込合計額、税抜合計額、税合計額)の一例を示している。図8(A)に示すように、税率2合計メモリエリア22cには、複数の数値に対する税率2を用いた税込計算による合計値が、税込額、税抜額、税額のそれぞれについて記憶される。 FIG. 8A shows a numerical value (including tax) stored in the tax rate 2 total memory area 22c by the tax calculation executed in response to the operation of the tax included 2 calculation key 11c shown in FIGS. 6B5 to 6B7. total amount, tax-excluded total amount, and tax total amount). As shown in FIG. 8(A), the total tax rate 2 memory area 22c stores the total value calculated using tax rate 2 for a plurality of numerical values for each of the tax included amount, the tax excluded amount, and the tax amount.

こうして、本実施形態における電卓10は、入力された数値に対する税計算に用いる税率を、税込1計算キー11bあるいは税込2計算キー11cの操作によって任意に指定することができる。従って、例えば適用税率が異なる複数の商品の税込総合計額を算出する場合に、適用税率が異なる複数の商品について、個々に税率を指定して税込額を入力することができるため入力作業を容易にすることができる。図6(B1)~(B7)では、税率1を適用する数値と税率2を適用する数値について、それぞれ連続して税計算を実行しているが、税率1と税率2を混在して指定して税計算を実行することができる。 In this way, 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-included 1 calculation key 11b or the tax-included 2 calculation key 11c. Therefore, for example, when calculating the total tax-inclusive amount of multiple products with different applicable tax rates, you can specify the tax rate and enter the tax-inclusive amount for each of the multiple products with different applicable tax rates, making the input work easier. can be In Figure 6 (B1) to (B7), tax calculations are executed consecutively for the values to which tax rate 1 and tax rate 2 are applied. can perform tax calculations.

なお、税込額が表示されている状態において、税計算を指示するために操作したキー(税込1計算キー11bまたは税込2計算キー11c)が続けて操作されると、CPU21は、税込額表示を税額表示に切り替えて表示させる。例えば、税率1をもとに算出された税込額が表示されている時(ステップA13)、税込1計算キー11bが操作された場合(ステップA14、Yes)、CPU21は、税率1をもとに算出した税額を税率1合計メモリエリア22bから読み出して表示させる(ステップA15)。さらに、続けて税込1計算キー11bが操作された場合(ステップA16,Yes)、CPU21は、税率1をもとに算出された税込額を表示させる(ステップA13)。 When the tax calculation key (tax included 1 calculation key 11b or tax included 2 calculation key 11c) is continuously operated while the tax included amount is displayed, the CPU 21 displays the tax included amount. Switch to the tax amount display and display it. For example, when the tax-included amount calculated based on tax rate 1 is displayed (step A13), if the tax-included 1 calculation key 11b is operated (step A14, Yes), the CPU 21 calculates The calculated tax amount is read from the tax rate 1 total memory area 22b and displayed (step A15). Further, when the tax-included 1 calculation key 11b is subsequently operated (step A16, Yes), the CPU 21 displays the tax-included amount calculated based on the tax rate 1 (step A13).

また、税率2をもとに算出された税込額が表示されている時(ステップA31)、税込2計算キー11cが操作された場合(ステップA32、Yes)、CPU21は、税率2をもとに算出した税額を税率2合計メモリエリア22cから読み出して表示させる(ステップA33)。さらに、続けて税込2計算キー11cが操作された場合(ステップA34,Yes)、CPU21は、税率2をもとに算出された税込額を表示させる(ステップA31)。 When the tax-included amount calculated based on the tax rate 2 is displayed (step A31), if the tax-included 2 calculation key 11c is operated (step A32, Yes), the CPU 21 The calculated tax amount is read from the tax rate 2 total memory area 22c and displayed (step A33). Further, when the tax-included 2 calculation key 11c is subsequently operated (step A34, Yes), the CPU 21 displays the tax-included amount calculated based on the tax rate 2 (step A31).

すなわち、電卓10は、税込1計算キー11bあるいは税込2計算キー11cの操作に応じて税込額を算出した後、税込1計算キー11bあるいは税込2計算キー11cに対する操作毎に、税込額の表示と税額の表示を交互に切り替えて表示させることができる。よって、税込額と税額とを容易に確認することができる。 That is, the calculator 10 calculates the tax-inclusive amount according to the operation of the tax-inclusive 1 calculation key 11b or the tax-inclusive 2 calculation key 11c. The display of the tax amount can be alternately switched and displayed. Therefore, the tax-included amount and the tax amount can be easily confirmed.

次に、税込額あるいは税額が表示された状態において、税計算合計キー11fが操作された場合(ステップA44、Yes)、CPU21は、税合計後モードデータ22eが示す税合計後モードをオンする(ステップA55)。また、CPU21は、税率1合計メモリエリア22bに記憶された税率1をもとに算出された税込額の合計(第1税込合計額)と、税率2合計メモリエリア22cに記憶された税率2をもとに算出された税込額の合計(第2税込合計額)とを合計した税込総合計額を算出して、税合計メモリエリア22dに記憶させると共に表示部12に表示させる(ステップA45)。 Next, when the tax calculation total key 11f is operated while the tax-included amount or the tax amount is displayed (step A44, Yes), the CPU 21 turns on the post-tax mode indicated by the post-tax total mode data 22e ( Step A55). In addition, the CPU 21 stores the total tax amount (first total tax amount) calculated based on the tax rate 1 stored in the tax rate 1 total memory area 22b and the tax rate 2 stored in the tax rate 2 total memory area 22c. A total tax-included total amount is calculated by summing the originally calculated total tax-included amount (second total tax-included amount), stored in the tax total memory area 22d, and displayed on the display unit 12 (step A45).

また、電卓10は、税込総合計額が表示されている状態において、税計算合計キー11fを続けて操作することで、税込総合計額の表示を、税抜総合計額、税総合計額に順次切り替えて表示させることができる。 By continuously operating the tax calculation total key 11f while the total amount including tax is displayed, the calculator 10 changes the display of the total amount including tax to the total amount including tax or the total amount including tax. It can be displayed by switching sequentially.

すなわち、税込総合計額が表示されている時(ステップA45)、税計算合計キー11fが操作された場合(ステップA46、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、税込総合計額に対応する税抜総合計額を算出して税合計メモリエリア22dに記憶させる。また、CPU21は、税合計メモリエリア22dから税抜総合計額を読み出して表示させる(ステップA47)。 That is, when the tax total amount is displayed (step A45), if the tax calculation total key 11f is operated (step A46, Yes), the CPU 21 displays the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. Based on the data stored in , a tax-excluded total amount corresponding to the tax-included total amount is calculated and stored in the tax total memory area 22d. Further, the CPU 21 reads out the tax-excluded total amount from the tax total memory area 22d and displays it (step A47).

さらに、税抜総合計額が表示されている時(ステップA47)、税計算合計キー11fが操作された場合(ステップA48,Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、税込総合計額に対応する税総合計額を算出して税合計メモリエリア22dに記憶させる。また、CPU21は、税合計メモリエリア22dから税総合計額を読み出して表示させる(ステップA49)。さらに、税計算合計キー11fが操作された場合(ステップA50,Yes)、CPU21は、前述と同様にして、税込総合計額を表示させる(ステップA45)。 Further, when the total amount excluding tax is displayed (step A47), if the tax calculation total key 11f is operated (step A48, Yes), the CPU 21 displays the tax rate 1 total memory area 22b and the tax rate 2 total memory area. Based on the data stored in 22c, the total tax amount corresponding to the total tax included amount is calculated and stored in the total tax memory area 22d. The CPU 21 also reads out the total tax amount from the total tax memory area 22d and displays it (step A49). Further, when the tax calculation total key 11f is operated (step A50, Yes), the CPU 21 displays the tax-included total amount in the same manner as described above (step A45).

図8(A)には、税計算合計キー11fの操作に応じて税合計メモリエリア22dに記憶される数値(税込総合計額、税抜総合計額、税総合計額)の一例を示している。図8(A)に示すように、税合計メモリエリア22dには、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された数値の合計値が、税込額、税抜額、税額のそれぞれについて記憶される。 FIG. 8A shows an example of numerical values (total amount including tax, total amount excluding tax, and total tax amount) stored in the tax total memory area 22d in response to the operation of the tax calculation total key 11f. there is As shown in FIG. 8A, in the tax total memory area 22d, the total values of the numerical values stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c are respectively stored as the tax-inclusive amount, the tax-excluded amount, and the tax amount. is stored for

さらに、税計算合計キー11fが操作された場合、CPU21は、税込総合計額を表示部12において表示させる。すなわち、電卓10は、税計算合計キー11fの操作に応じて税合計後モードがオン状態に設定した後、税計算合計キー11fに対する操作毎に、税込総合計額、税込総合計額に対応する税抜総合計額、税込総合計額に対応する税総合計額の表示を交互に切り替えることができる。よって、税込総合計額、税抜総合計額、税総合計額を容易に確認することができる。 Furthermore, when the tax calculation total key 11f is operated, the CPU 21 causes the display unit 12 to display the total tax-included total amount. That is, the calculator 10 sets the post-tax total mode to the on state in response to the operation of the tax calculation total key 11f, and then responds to the tax-included total amount and the tax-included total amount each time the tax calculation total key 11f is operated. The display of the tax-excluded total amount and the tax-included total amount corresponding to the tax total amount can be switched alternately. Therefore, the total tax-inclusive amount, the tax-excluded total amount, and the tax total amount can be easily confirmed.

図6(C)には、税計算合計キー11fが操作された場合の表示例(税計算総合計表示)を示している。図6(B1)~(B7)に示す複数の数値について税計算がされた後、税計算合計キー11fが操作されると、CPU21は、図6(C1)に示すように、税率1と税率2をそれぞれ適用した税込額の総合計額を示す税込総合計額「14302」を表示させる。ここで、税計算合計キー11fが操作されると、CPU21は、図6(C2)に示すように、税抜総合計額「13100」を表示させる。さらに、税計算合計キー11fが操作されると、CPU21は、図6(C3)に示すように、税総合計額「1202」を表示させる。さらに、税計算合計キー11fが操作されると、CPU21は、図6(C1)に示す表示に戻り、税込総合計額「14302」を表示させる。 FIG. 6C shows a display example (tax calculation total display) when the tax calculation total key 11f is operated. When the tax calculation total key 11f is operated after tax calculation is performed for a plurality of numerical values shown in FIGS. 2 is applied, the total tax-included total amount "14302" is displayed. Here, when the tax calculation total key 11f is operated, the CPU 21 displays the total tax-excluded total amount "13100" as shown in FIG. 6(C2). Further, when the tax calculation total key 11f is operated, the CPU 21 displays the total tax total amount "1202" as shown in FIG. 6 (C3). Further, when the tax calculation total key 11f is operated, the CPU 21 returns to the display shown in FIG. 6(C1) and displays the total tax-included total amount "14302".

次に、税合計後モードがオン状態にされた後(税込総合計額が算出された後)、税込1計算キー11bまたは税込2計算キー11cが操作された場合について説明する。 Next, the case where the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated after the after-tax total mode is turned on (after the total tax-included total amount is calculated) will be described.

図6(C1)~(C3)に示すように、税込総合計額、税抜総合計額、あるいは税総合計額が表示された状態において、税込1計算キー11bが操作された場合(ステップA8、Yes)、CPU21は、税合計後モードがオン状態にあるため(ステップA11、No)、少なくとも1つの数値に対応する第1税込額の合計を示す第1税込合計額を税率1合計メモリエリア22bから読み出して表示部12に表示させる(ステップA17)。さらに、第1税込合計額が表示されている状態において(ステップA17)、税込1計算キー11bが操作された場合(ステップA18,Yes)、CPU21は、税率1合計メモリエリア22bから第1税込合計額に対応する第1税抜合計額を読み出して表示させる(ステップA19)。さらに、第1税抜額が表示された状態において、税込1計算キー11bが操作された場合(ステップA20、Yes)、CPU21は、税率1合計メモリエリア22bから第1税込合計額に対応する第1税合計額を読み出して表示させる(ステップA21)。さらに、税込1計算キー11bが操作された場合(ステップA22、Yes)、CPU21は、税率1合計メモリエリア22bから第1税込合計額を読み出して表示させる(ステップA17)。 As shown in FIGS. 6(C1) to (C3), when the tax-included total amount, the tax-excluded total amount, or the tax-included total amount is displayed, the tax-included 1 calculation key 11b is operated (step A8). , Yes), and since the post-tax total mode is on (step A11, No), the CPU 21 stores the first total tax-included amount indicating the total of the first tax-included amount corresponding to at least one numerical value in the tax rate 1 total memory area. 22b and displayed on the display unit 12 (step A17). Further, when the first tax-inclusive calculation key 11b is operated while the first tax-inclusive total is displayed (step A17) (step A18, Yes), the CPU 21 reads the first tax-inclusive total from the tax rate 1 total memory area 22b. The first tax-excluded total amount corresponding to the amount is read out and displayed (step A19). Further, when the tax-inclusive 1 calculation key 11b is operated while the first tax-exclusive amount is displayed (step A20, Yes), the CPU 21 retrieves the first tax-inclusive amount corresponding to the first tax-inclusive total amount from the tax rate 1 total amount memory area 22b. The total tax amount is read out and displayed (step A21). Further, when the tax-included 1 calculation key 11b is operated (step A22, Yes), the CPU 21 reads the first tax-included total amount from the tax rate 1 total memory area 22b and displays it (step A17).

すなわち、電卓10は、税込総合計額が算出された後では、税込1計算キー11bに対する操作毎に、税率1をもとに算出された第1税込合計額、第1税抜合計額、第1税合計額の何れかの表示に切り替えることができる。よって、第1税込合計額、第1税抜合計額、第1税合計額を容易に確認することができる。 That is, after the total amount including tax is calculated, the calculator 10 calculates the first total amount including tax, the first total amount excluding tax, the first total amount including tax, It is possible to switch to display either of the total amount of one tax. Therefore, the first total amount including tax, the first total amount excluding tax, and the first total tax amount can be easily confirmed.

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

なお、図6(D1)~(D3)に示す表示状態において税込2計算キー11cが操作された場合には(ステップA23、A24、A25、Yes)、CPU21は、以下に説明する図6(E1)~(E3)に示す第2税込合計額の表示に切り替える(ステップA35)。また、図6(D1)~(D3)に示す表示状態において税計算合計キー11fが操作された場合には(ステップA56、Yes)、CPU21は、前述した税込総合計額の表示状態に移行する(ステップA45)。 When the tax-inclusive calculation key 11c is operated in the display state shown in FIGS. 6(D1) to (D3) (steps A23, A24, A25, Yes), the CPU 21 outputs the ) to (E3) (step A35). When the tax calculation total key 11f is operated in the display state shown in FIGS. 6(D1) to (D3) (step A56, Yes), the CPU 21 shifts to the display state of the tax-included total amount. (Step A45).

一方、図6(C1)~(C3)に示すように、税込総合計額、税抜総合計額、あるいは税総合計額が表示された状態において、税込2計算キー11cが操作された場合(ステップA26、Yes)、CPU21は、税合計後モードがオン状態にあるため(ステップA29、No)、少なくとも1つの数値に対応する第2税込額の合計を示す第2税込合計額を税率2合計メモリエリア22cから読み出して表示部12に表示させる(ステップA35)。さらに、第2税込合計額が表示されている状態において(ステップA35)、税込2計算キー11cが操作された場合(ステップA36,Yes)、CPU21は、税率2合計メモリエリア22cから第2税込合計額に対応する第2税抜合計額を読み出して表示させる(ステップA37)。さらに、第2税抜額が表示された状態において、税込2計算キー11cが操作された場合(ステップA38、Yes)、CPU21は、税率2合計メモリエリア22cから第2税込合計額に対応する第2税合計額を読み出して表示させる(ステップA39)。さらに、税込2計算キー11cが操作された場合(ステップA40、Yes)、CPU21は、税率2合計メモリエリア22cから第2税込合計額を読み出して表示させる(ステップA35)。 On the other hand, as shown in FIGS. 6(C1) to (C3), when the tax-included total amount, tax-excluded total amount, or tax-included total amount is displayed, when the tax-included 2 calculation key 11c is operated ( Step A26, Yes), and since the post-tax total mode is on (Step A29, No), the CPU 21 converts the second tax-included amount indicating the total of the second tax-included amount corresponding to at least one numerical value to the tax rate 2 total. It is read out from the memory area 22c and displayed on the display unit 12 (step A35). Further, when the second tax-included total amount is displayed (step A35), if the tax-included 2 calculation key 11c is operated (step A36, Yes), the CPU 21 reads the second tax-included total amount from the tax rate 2 total memory area 22c. The second total amount excluding tax corresponding to the amount is read out and displayed (step A37). Further, when the second tax-included calculation key 11c is operated while the second tax-excluded amount is displayed (step A38, Yes), the CPU 21 retrieves the second tax-included total amount corresponding to the second tax-included total amount from the tax rate 2 total amount memory area 22c. The total tax amount is read out and displayed (step A39). Further, when the tax-included 2 calculation key 11c is operated (step A40, Yes), the CPU 21 reads out the second tax-included total amount from the tax rate 2 total memory area 22c and displays it (step A35).

すなわち、電卓10は、税込総合計額が算出された後では、税込2計算キー11cに対する操作毎に、税率2をもとに算出された第2税込合計額、第2税抜合計額、第2税合計額の何れかの表示に切り替えることができる。よって、第2税込合計額、第2税抜合計額、第2税合計額を容易に確認することができる。 That is, after the total amount including tax is calculated, the calculator 10 calculates the second total amount including tax, the second total amount excluding tax, the second total amount including tax, and the The display can be switched to either of the two total tax amounts. Therefore, the second total amount including tax, the second total amount excluding tax, and the second total amount including tax can be easily confirmed.

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

なお、図6(E1)~(E3)に示す表示状態において税込1計算キー11bが操作された場合には(ステップA41、A42、A43、Yes)、CPU21は、図6(D1)~(D3)に示す第1税込合計額の表示に切り替える(ステップA17)。また、図6(E1)~(E3)に示す表示状態において税計算合計キー11fが操作された場合には(ステップA57、Yes)、CPU21は、前述した税込総合計額の表示状態に移行する(ステップA45)。 When the tax-inclusive calculation key 11b is operated in the display state shown in FIGS. 6(E1) to (E3) (steps A41, A42, A43, Yes), the CPU 21 ) (step A17). When the tax calculation total key 11f is operated in the display state shown in FIGS. 6(E1) to (E3) (step A57, Yes), the CPU 21 shifts to the display state of the tax-included total amount. (Step A45).

すなわち、電卓10は、税合計後モードがオン状態にある間、税込1計算キー11bと税込2計算キー11cの操作による簡単な操作により、税率1と税率2のそれぞれに対応する合計表示(図6(D1)~(D3)、図6(E1)~(E3))を、相互に切り替えて表示させることができる。また、電卓10は、税計算合計キー11fの操作により総合計表示(図6(C1)~(C3))に切り替えて表示させることができる。 That is, while the post-tax total mode is on, the calculator 10 can be operated simply by operating the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c to display the totals corresponding to the tax rates 1 and 2 respectively (Fig. 6 (D1) to (D3), and FIG. 6 (E1) to (E3)) can be switched and displayed. In addition, the calculator 10 can be switched to display the total total display ((C1) to (C3) in FIG. 6) by operating the tax calculation total key 11f.

こうして、本実施形態における電卓10では、複数の税率のそれぞれに対応する税込1計算キー11bと税込2計算キー11cを用いた簡単な操作で複数の税率に基づいた税計算をし、税計算の内容を容易に確認することができる。 In this way, the calculator 10 of the present embodiment performs tax calculation based on a plurality of tax rates by simple operation using the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c corresponding to each of the plurality of tax rates. You can easily check the contents.

次に、税込1計算キー11bと税込2計算キー11cに対して税率を設定する税率設定処理について説明する。 Next, a tax rate setting process for setting a tax rate for the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c will be described.

例えば、[AC]キー11aの操作の後に(ステップA1)、例えば[%]キー11gを長押しする操作(例えば予め設定された時間以上、押し続ける操作)がされた場合(ステップA51、A52、Yes)、CPU21は、税率設定処理を起動する(ステップA53)。なお、[%]キー11gが通常操作(予め設定された時間よりも短い操作)である場合(ステップA52、No)、CPU21は、表示された数値に対する%計算を実行する(ステップA54)。 For example, after operating the [AC] key 11a (step A1), for example, if the [%] key 11g is pressed for a long time (eg, pressed for a preset time or longer) (steps A51, A52, Yes), the CPU 21 starts tax rate setting processing (step A53). If the [%] key 11g is operated normally (operation shorter than the preset time) (step A52, No), the CPU 21 performs % calculation for the displayed numerical value (step A54).

税率設定処理を起動すると、CPU21は、税率設定用の画面を表示させる。ここで、税込1計算キー11bが操作されると、CPU21は、税込1計算キー11bに設定された税率1(「10」)と「税1」のシンボルを表示部12に表示させる。次に、新たに設定する税率1を示す数値(例えば「8」)が入力された後、[%]キー11gが操作されると、CPU21は、入力された数値(「8」)を表示させると共に、税込1計算キー11bに適用する税率1として税率記憶エリア22kへ記憶する。 When the tax rate setting process is started, the CPU 21 displays a screen for tax rate setting. Here, when the tax-included 1 calculation key 11b is operated, the CPU 21 causes the display section 12 to display the tax rate 1 ("10") and the symbol of "tax 1" set for the tax-included 1 calculation key 11b. Next, when the [%] key 11g is operated after a numerical value (e.g., "8") indicating the newly set tax rate 1 is entered, the CPU 21 displays the inputted numerical value ("8"). Together with this, it is stored in the tax rate storage area 22k as tax rate 1 applied to the tax included 1 calculation key 11b.

税込2計算キー11cに対応する税率2についても、前述と同様にして、ユーザ操作によって任意に設定することができる。 The tax rate 2 corresponding to the tax included 2 calculation key 11c can also be arbitrarily set by the user's operation in the same manner as described above.

このようにして、本実施形態における電卓10では、税込1計算キー11b及び税込2計算キー11cに対して任意の税率を設定することができる。CPU21は、前述した図3及び図4に示す処理において、税込1計算キー11bあるいは税込2計算キー11cが操作された場合、新たに設定(登録)された税率1,2を用いて税計算を実行する。 In this manner, in the calculator 10 of the present embodiment, any tax rate can be set for the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c. When the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated in the processing shown in FIG. 3 and FIG. Run.

次に、本実施形態における電卓10によるメモリ機能について説明する。図5は、本実施形態におけるメモリ機能処理の動作を説明するためのフローチャートである。まず、通常メモリ機能について説明する。 Next, the memory function of the calculator 10 according to this embodiment will be described. FIG. 5 is a flowchart for explaining the operation of memory function processing in this embodiment. First, the normal memory function will be explained.

CPU21は、メモリキーが操作された場合(ステップA55、Yes)、メモリ機能処理を実行する(ステップA56)。CPU21は、税計算後モードがオン状態にあるか税合計後モードデータ22eを参照して判別する。税計算後モードがオン状態にない場合(ステップB1、No)、CPU21は、通常メモリ機能による、操作されたメモリキーに応じた処理を実行する。 When the memory key is operated (step A55, Yes), the CPU 21 executes memory function processing (step A56). The CPU 21 determines whether or not the post-tax calculation mode is on by referring to the post-tax mode data 22e. If the post-tax calculation mode is not in the ON state (step B1, No), the CPU 21 executes processing according to the operated memory key by the normal memory function.

すなわち、CPU21は、[M+]キー11m1が操作された場合(ステップB9、Yes)、表示部12に表示された数値を処理対象として、独立メモリエリア22hに記憶された数値に加算する(ステップB10)。なお、独立メモリエリア22hに記憶された数値の初期値は「0」とする。CPU21は、独立メモリエリア22hに数値が記憶されたことを示すメモリシンボル(例えば「M」)を、表示部12の状態表示エリアに表示させる(図示せず)。また、CPU21は、[M-]キー11m2が操作された場合(ステップB11、Yes)、表示部12に表示された数値を処理対象として、この処理対象とする数値により独立メモリエリア22hに記憶された数値を減算する(ステップB12)。 That is, when the [M+] key 11m1 is operated (step B9, Yes), the CPU 21 adds the numerical value displayed on the display unit 12 to the numerical value stored in the independent memory area 22h (step B10). ). The initial value of the numerical value stored in the independent memory area 22h is assumed to be "0". The CPU 21 causes a memory symbol (for example, "M") indicating that the numerical value is stored in the independent memory area 22h to be displayed in the state display area of the display section 12 (not shown). Further, when the [M-] key 11m2 is operated (step B11, Yes), the CPU 21 treats the numerical value displayed on the display unit 12 as the processing target, and stores the processing target numerical value in the independent memory area 22h. The numerical value obtained is subtracted (step B12).

また、CPU21は、[MR]キー11m3が操作された場合(ステップB13、Yes)、独立メモリエリア22hに記憶された数値を読み出し、表示部12に表示される(ステップB14)。 Further, when the [MR] key 11m3 is operated (step B13, Yes), the CPU 21 reads the numerical value stored in the independent memory area 22h and displays it on the display section 12 (step B14).

例えば、税計算後モードがオンされる前に、図6(B1)に示すように、税込計算の結果とする数値「1100」が表示されている時に[M+]キー11m1が操作された場合、CPU21は、数値「1100」を独立メモリエリア22hに記憶させる。同様にして、図6(B7)に示すように、税込計算の結果とする数値「432」が表示されている時に[M-]キー11m2が操作された場合、CPU21は、数値「1100」から数値「432」を減算して、独立メモリエリア22hに数値「668」を記憶させる。ここで、[MR]キー11m3が操作された場合、CPU21は、独立メモリエリア22hに記憶された数値「668」を表示部12に表示させる。 For example, before the post-tax calculation mode is turned on, as shown in FIG. The CPU 21 stores the numerical value "1100" in the independent memory area 22h. Similarly, as shown in FIG. 6B7, when the [M-] key 11m2 is operated while the numerical value "432", which is the result of tax-included calculation, is displayed, the CPU 21 changes the numerical value from "1100" to "1100". The number "432" is subtracted and the number "668" is stored in the independent memory area 22h. Here, when the [MR] key 11m3 is operated, the CPU 21 causes the display section 12 to display the numerical value "668" stored in the independent memory area 22h.

また、CPU21は、[MC]キー11m4が操作された場合(ステップB13、MCキー)、独立メモリエリア22hに記憶された数値をクリア(初期化)する(ステップB15)。 When the [MC] key 11m4 is operated (step B13, MC key), the CPU 21 clears (initializes) the numerical value stored in the independent memory area 22h (step B15).

次に、税計算メモリ機能について説明する。 Next, the tax calculation memory function will be described.

前述したように、CPU21は、メモリキーが操作された場合(ステップA55、Yes)、メモリ機能処理を実行し(ステップA56)、税計算後モードがオン状態にあるか税合計後モードデータ22eを参照して判別する。例えば、図6(C)(D)(E)に示す表示状態では、税計算後モードがオン状態にある。従って、図6(C)(D)(E)に示す表示状態において、図6(F)に示すように、メモリキーが操作された場合には税計算メモリ機能が実行される。 As described above, when the memory key is operated (step A55, Yes), the CPU 21 executes memory function processing (step A56), and determines whether the post-tax calculation mode is on or the post-tax mode data 22e. Refer to and determine. For example, in the display states shown in FIGS. 6C, 6D, and 6E, the post-tax calculation mode is on. Therefore, in the display states shown in FIGS. 6(C), 6(D) and 6(E), when the memory key is operated as shown in FIG. 6(F), the tax calculation memory function is executed.

CPU21は、税合計後モードデータ22eを参照して、税計算後モードがオン状態にあると判別されると(ステップB1、Yes)、税計算メモリ機能による、操作されたメモリキーに応じた処理を実行する。 When the CPU 21 refers to the post-tax total mode data 22e and determines that the post-tax calculation mode is on (step B1, Yes), the CPU 21 performs processing according to the operated memory key by the tax calculation memory function. to run.

すなわち、CPU21は、[M+]キー11m1が操作された場合(ステップB2、Yes)、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する。また、CPU21は、税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する(ステップB3)。なお、独立税率1メモリエリア22fと独立税率2メモリエリア22gには、それぞれ税込合計額、税抜合計額、税合計額に対応する数値が記憶され、各数値の初期値が「0」とする。 That is, when the [M+] key 11m1 is operated (step B2, Yes), the CPU 21 stores the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 1 total memory area 22b. , to the numerical values stored in the independent tax rate 1 memory area 22f (the numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax). In addition, the CPU 21 converts the numerical values (total amount including tax, total amount excluding tax, total amount of tax) stored in the tax rate 2 total memory area 22c to the numerical values (total amount including tax, total amount excluding tax) stored in the independent tax rate 2 memory area 22g. (the numerical values corresponding to the total amount and the total tax amount) (step B3). In the independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g, numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax are stored, and the initial value of each numerical value is set to "0". .

また、CPU21は、[M-]キー11m2が操作された場合(ステップB4、Yes)、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する。また、CPU21は、税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する(ステップB5)。 When the [M-] key 11m2 is operated (step B4, Yes), the CPU 21 displays the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 1 total memory area 22b. subtracts the numerical values stored in the independent tax rate 1 memory area 22f (the numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax). In addition, the CPU 21 uses the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the tax rate 2 total memory area 22c to determine the numerical values (total amount including tax, total amount excluding tax) stored in the independent tax rate 2 memory area 22g. Numerical values corresponding to the total amount and the total tax amount) are subtracted (step B5).

図8(B)は、独立税メモリ(独立税率1メモリエリア22f、独立税率2メモリエリア22g)に記憶される初期状態の値を示している。例えば、図6(D)に示す表示状態では、税率1合計メモリエリア22b及び税率2合計メモリエリア22cには、図8(A)に示す数値が(税込合計額、税抜合計額、税合計額)が記憶されている。 FIG. 8B shows initial values stored in the independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g). For example, in the display state shown in FIG. 6D, the numerical values shown in FIG. amount) is stored.

ここで、[M+]キー11m1が操作された場合、CPU21は、図8(C)に示すように、税率1合計メモリエリア22bに記憶された数値を独立税率1メモリエリア22fに加算し、税率2合計メモリエリア22cに記憶された数値を独立税率2メモリエリア22gに加算する。 Here, when the [M+] key 11m1 is operated, the CPU 21 adds the numerical value stored in the tax rate 1 total memory area 22b to the independent tax rate 1 memory area 22f, as shown in FIG. 2 Add the numerical value stored in the total memory area 22c to the independent tax rate 2 memory area 22g.

図7(F)は、図6(D)に示す表示状態において、[M+]キー11m1が操作された場合の表示例を示している。CPU21は、[M+]キー11m1の操作に応じて、表示部12の状態表示エリアに、独立税メモリに記憶された数値を更新したことを示すメモリシンボル「税M」を表示させる。図7(F)に示す税率1の合計表示の状態では、前述と同様にして、税込1計算キー11bに対する操作に応じて、図7(F2)、図7(F3)、図7(F1)に示すように、表示対象とする数値を、税抜合計額、税合計額、税込合計額に、順次切り替えることができる。 FIG. 7(F) shows a display example when the [M+] key 11m1 is operated in the display state shown in FIG. 6(D). The CPU 21 causes the state display area of the display unit 12 to display the memory symbol "tax M" indicating that the numerical value stored in the independent tax memory has been updated in response to the operation of the [M+] key 11m1. In the state of the total display of the tax rate 1 shown in FIG. 7(F), in the same manner as described above, according to the operation of the tax-inclusive 1 calculation key 11b, FIG. 7(F2), FIG. , the numerical value to be displayed can be sequentially switched to the total amount excluding tax, the total amount including tax, and the total amount including tax.

ここで、さらに[M+]キー11m1が操作された場合、CPU21は、図8(D)に示すように、税率1合計メモリエリア22bに記憶された数値を独立税率1メモリエリア22fに加算し、税率2合計メモリエリア22cに記憶された数値を独立税率2メモリエリア22gに加算する。この時、表示部12における表示は、図7(F)に示す状態のままである。 Here, when the [M+] key 11m1 is further operated, the CPU 21 adds the numerical value stored in the tax rate 1 total memory area 22b to the independent tax rate 1 memory area 22f, as shown in FIG. 8(D). The numerical value stored in the tax rate 2 total memory area 22c is added to the independent tax rate 2 memory area 22g. At this time, the display on the display unit 12 remains as shown in FIG. 7(F).

次に、CPU21は、[MR]キー11m3が操作された場合(ステップB6、Yes)、現在の独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率1合計メモリエリア22bに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる。また、CPU21は、現在の独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率2合計メモリエリア22cに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる(ステップB7)。 Next, when the [MR] key 11m3 is operated (step B6, Yes), the CPU 21 displays the numerical values stored in the current independent tax rate 1 memory area 22f (total tax included, total tax excluded, total tax corresponding numerical values) are read out and stored in the tax rate 1 total memory area 22b as numerical values indicating the total amount including tax, the total amount excluding tax, and the total amount including tax. In addition, the CPU 21 reads out the numerical values stored in the current independent tax rate 2 memory area 22g (numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax), and stores the total amount including tax in the tax rate 2 total memory area 22c. The amount, the total amount excluding tax, and the total amount of tax are stored as numerical values respectively (step B7).

また、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された値が変更されるのに伴い、税合計メモリエリア22dに記憶された数値(税込総合計額、税抜総合計額、税額総合計額)を変更する(ステップB8)。そして、CPU21は、税合計メモリエリア22dに記憶された値に基づいて、前述した図6(C)と同様にして、表示部12において税計算総合計表示する(ステップA45)。 In addition, the CPU 21 changes the values stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c, and changes the values stored in the tax total memory area 22d (total tax included, total tax excluded). total tax amount) is changed (step B8). Based on the value stored in the tax total memory area 22d, the CPU 21 displays the tax calculation total on the display unit 12 in the same manner as in FIG. 6C (step A45).

図8(E)は、図8(D)に示すように、独立税率1メモリエリア22fと独立税率2メモリエリア22gに値が記憶されている状態において、[MR]キー11m3が操作された場合の税計算用メモリに記憶される数値を示している。 FIG. 8(E) shows a case where the [MR] key 11m3 is operated in a state where values are stored in the independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g as shown in FIG. 8(D). 2 shows the numerical values stored in the memory for tax calculation of .

図8(E)に示すように、税率1合計メモリエリア22bには、独立税率1メモリエリア22fに記憶された数値が記憶され、税率2合計メモリエリア22cには、独立税率2メモリエリア22gに記憶された数値が記憶される。そして、税合計メモリエリア22dは、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税額合計額)の総合計値(税込総合計額、税抜総合計額、税額総合計額)に更新される。 As shown in FIG. 8(E), the tax rate 1 total memory area 22b stores the numerical value stored in the independent tax rate 1 memory area 22f, and the tax rate 2 total memory area 22c stores the value stored in the independent tax rate 2 memory area 22g. The stored numerical value is stored. The total tax memory area 22d stores the total value (total total amount including tax) of the numerical values (total amount including tax, total amount excluding tax, and total tax amount) stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. , total amount excluding tax, total tax amount).

図7(G)は、[MR]キー11m3の操作に応じて、独立税メモリ(独立税率1メモリエリア22f、独立税率2メモリエリア22g)に記憶された数値を読み出して表示される税計算総合計表示の一例を示す図である。CPU21は、[MR]キー11m3の操作に応じて、図7(G1)に示す税込額の総合計額を示す税込総合計額「28604」を表示させる。以下、前述と同様にして、税計算合計キー11fの操作に応じて、CPU21は、図7(G2)に示す税抜総合計額「26200」、図7(G3)に示す税総合計額「2404」を順次表示させる。 FIG. 7G shows the total tax calculation displayed by reading out the numerical values stored in the independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g) in response to the operation of the [MR] key 11m3. It is a figure which shows an example of a total display. In response to the operation of the [MR] key 11m3, the CPU 21 displays the total tax-included total amount "28604" indicating the total tax-included amount shown in FIG. 7 (G1). Thereafter, in the same manner as described above, in response to the operation of the tax calculation total key 11f, the CPU 21 calculates the total tax-excluded total amount "26200" shown in FIG. 7 (G2) and the total tax amount " 2404” are sequentially displayed.

税計算総合計表示の状態において税込1計算キー11bを操作することで、前述したように、税率1合計メモリエリア22bに記憶された数値をもとに、図6(D)と同様にして税率1の合計表示することができる。すなわち、独立税率1メモリエリア22fから読み出された数値を表示させることができる。同様にして、税計算総合計表示の状態において税込2計算キー11cを操作することで、前述したように、税率2合計メモリエリア22cに記憶された数値をもとに、図6(E)と同様にして税率2の合計表示することができる。すなわち、独立税率2メモリエリア22gから読み出された数値を表示させることができる。 By operating the tax calculation key 11b in the tax calculation total display state, the tax rate is calculated based on the numerical value stored in the tax rate 1 total memory area 22b in the same manner as in FIG. A total of 1 can be displayed. That is, the numerical value read from the independent tax rate 1 memory area 22f can be displayed. Similarly, by operating the tax-included 2 calculation key 11c in the tax calculation total display state, the values stored in the tax rate 2 total memory area 22c are calculated as shown in FIG. In the same way, the total of tax rate 2 can be displayed. That is, the numerical value read from the independent tax rate 2 memory area 22g can be displayed.

なお、CPU21は、[MC]キー11m4が操作された場合(ステップB2,B4,B6、No)、独立税率1メモリエリア22fと独立税率2メモリエリア22gに記憶された数値をクリア(初期化)すると共に、表示部12からメモリシンボル「税M」を消す(ステップB16)。 When the [MC] key 11m4 is operated (steps B2, B4, B6, No), the CPU 21 clears (initializes) the numerical values stored in the independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g. At the same time, the memory symbol "tax M" is erased from the display section 12 (step B16).

このようにして、本実施形態における電卓10では、独立メモリエリア22hとは別に、税率1合計メモリエリア22b及び税率2合計メモリエリア22cのそれぞれに対応する独立税率1メモリエリア22fと独立税率2メモリエリア22gとを設けて、税計算メモリ機能処理を実行することができる。税計算メモリ機能では、税率1合計メモリエリア22b及び税率2合計メモリエリア22cのそれぞれに記憶された複数の数値(税込合計額、税抜合計額、税額合計額)によって、独立税率1メモリエリア22fと独立税率2メモリエリア22gに記憶された数値を更新(加算あるいは減算)することができる。従って、税計算によって算出された税込額、税抜額、税額などの数値を、税計算メモリ機能によって、より有効に利用することが簡単できるようになる。 In this manner, in the calculator 10 of the present embodiment, independent tax rate 1 memory area 22f and independent tax rate 2 memory area 22f corresponding to tax rate 1 total memory area 22b and tax rate 2 total memory area 22c are stored separately from independent memory area 22h. An area 22g may be provided to perform tax calculation memory function processing. In the tax calculation memory function, the independent tax rate 1 memory area 22f is calculated by a plurality of numerical values (total amount including tax, total amount excluding tax, total tax amount) stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. and the numerical value stored in the independent tax rate 2 memory area 22g can be updated (added or subtracted). Therefore, the tax calculation memory function makes it possible to easily and effectively utilize numerical values such as the tax-included amount, the tax-excluded amount, and the tax amount calculated by the tax calculation.

次に、本実施形態における税計算メモリ機能の変形例について説明する。図5のフローチャートに示す税計算メモリ機能による処理(ステップB2~B8,B16)では、メモリキーに対する操作に応じて、税計算用メモリの全体(税率1合計メモリエリア22b、税率2合計メモリエリア22c)と、独立税メモリの全体(独立税率1メモリエリア22f、独立税率2メモリエリア22g)を処理対象としているが、メモリキーが操作された時の状況に応じて、税計算用メモリと独立税メモリの一部を処理対象にしても良い。 Next, a modification of the tax calculation memory function in this embodiment will be described. In the processing by the tax calculation memory function (steps B2 to B8, B16) shown in the flow chart of FIG. ) and the entire independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g). A part of the memory may be processed.

図9及び図10は、本実施形態における電卓10のメモリ機能処理の変形例の動作を説明するためのフローチャートである。 9 and 10 are flowcharts for explaining the operation of a modification of the memory function processing of the calculator 10 according to this embodiment.

メモリキーが操作された場合、CPU21は、税合計後モードデータ22eを参照して、税計算後モードがオン状態にないと判別されると(ステップC1、No)、通常メモリ機能による処理を実行する(ステップC2)。通常メモリ機能による処理は、前述した図5に示すステップB9~B15と同様に実行されるものとして詳細な説明を省略する。 When the memory key is operated, the CPU 21 refers to the post-tax total mode data 22e, and if it determines that the post-tax calculation mode is not on (step C1, No), it executes processing by the normal memory function. (step C2). The processing by the normal memory function is executed in the same manner as steps B9 to B15 shown in FIG. 5, and detailed description thereof will be omitted.

一方、CPU21は、税合計後モードデータ22eを参照して、税計算後モードがオン状態にあると判別されると(ステップC1、Yes)、操作されたメモリキーと、メモリキーが操作された時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)応じた処理を実行する。 On the other hand, when the CPU 21 refers to the post-tax total mode data 22e and determines that the post-tax calculation mode is in the on state (step C1, Yes), the operated memory key and the memory key are operated. Execute the processing according to the tax calculation results (total total display, total display of tax rate 1, total display of tax rate 2) displayed at the time.

CPU21は、[M+]キー11m1が操作された場合(ステップC3、Yes)、キー操作時に、税合計メモリエリア22dに記憶された数値を表示する総合計表示中(図6(C))であるか、税率1合計メモリエリア22bに記憶された数値を表示する税率1の合計表示中(図6(D))であるか、税率2合計メモリエリア22cに記憶された数値を表示する税率2の合計表示中(図6(E))であるかを判別する。 When the [M+] key 11m1 is operated (step C3, Yes), the CPU 21 is in the process of total total display (FIG. 6(C)) displaying the numerical value stored in the tax total memory area 22d at the time of key operation. or during the total display of tax rate 1 displaying the numerical value stored in the tax rate 1 total memory area 22b (FIG. 6(D)), or when the tax rate 2 displaying the numerical value stored in the tax rate 2 total memory area 22c It is determined whether the total display is in progress (FIG. 6(E)).

ここで、[M+]キー11m1の操作時に総合計表示中である場合(ステップC4、Yes)、CPU21は、税計算用メモリの全体(税率1合計メモリエリア22b、税率2合計メモリエリア22c)を処理対象としてメモリ機能処理を実行する。すなわち、CPU21は、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する。また、CPU21は、税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する(ステップC5)。 Here, if the total total is being displayed when the [M+] key 11m1 is operated (step C4, Yes), the CPU 21 clears the entire tax calculation memory (tax rate 1 total memory area 22b, tax rate 2 total memory area 22c). Execute memory function processing as a processing target. That is, the CPU 21 converts the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 1 total memory area 22b to the numerical values (total amount including tax, (Numbers corresponding to the total amount excluding tax and the total amount of tax)). In addition, the CPU 21 converts the numerical values (total amount including tax, total amount excluding tax, total amount of tax) stored in the tax rate 2 total memory area 22c to the numerical values (total amount including tax, total amount excluding tax) stored in the independent tax rate 2 memory area 22g. (the numerical values corresponding to the total amount and the total tax amount) (step C5).

また、[M+]キー11m1の操作時に税率1の合計表示中である場合(ステップC6、Yes)、CPU21は、税率1合計メモリエリア22bを処理対象としてメモリ機能処理を実行する。すなわち、CPU21は、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する(ステップC7)。 When the [M+] key 11m1 is operated and the total of tax rate 1 is being displayed (step C6, Yes), the CPU 21 executes the memory function processing on the tax rate 1 total memory area 22b. That is, the CPU 21 converts the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 1 total memory area 22b to the numerical values (total amount including tax, (Numerical values corresponding to the tax-excluded total amount and the tax total amount) (step C7).

また、[M+]キー11m1の操作時に税率2の合計表示中である場合(ステップC8、Yes)、CPU21は、税率2合計メモリエリア22cを処理対象としてメモリ機能処理を実行する。すなわち、CPU21は、現在の税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する(ステップC9)。 If the total of tax rate 2 is being displayed when the [M+] key 11m1 is operated (step C8, Yes), the CPU 21 executes memory function processing with the tax rate 2 total memory area 22c as the processing object. That is, the CPU 21 converts the numerical values (total amount including tax, total amount excluding tax, total amount of tax) stored in the current tax rate 2 total memory area 22c to the numerical values (total amount including tax, (Numerical values corresponding to the tax-excluded total amount and the tax total amount) (step C9).

同様にして、CPU21は、[M-]キー11m2が操作された場合(ステップC10、Yes)、キー操作時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)を判別し、それぞれに応じた処理対象とする税計算用メモリに記憶された数値により、独立税メモリに記憶された数値から減算する処理を実行する。 Similarly, when the [M-] key 11m2 is operated (step C10, Yes), the CPU 21 displays the tax calculation results (total total display, tax rate 1 total display, tax rate 2 total display display), and the numerical value stored in the tax calculation memory to be processed according to each is subtracted from the numerical value stored in the independent tax memory.

すなわち、CPU21は、総合計表示中である場合には(ステップC11、Yes)、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する。また、CPU21は、税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する(ステップC12)。 That is, when the total total is being displayed (step C11, Yes), the CPU 21, based on the numerical values (total amount including tax, total amount excluding tax, total amount tax) stored in the current tax rate 1 total memory area 22b, The numerical values stored in the independent tax rate 1 memory area 22f (the numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax) are subtracted. In addition, the CPU 21 uses the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the tax rate 2 total memory area 22c to determine the numerical values (total amount including tax, total amount excluding tax) stored in the independent tax rate 2 memory area 22g. Numerical values corresponding to the total amount and the total tax amount) are subtracted (step C12).

また、CPU21は、税率1の合計表示中である場合には(ステップC13、Yes)、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する(ステップC14)。 When the total of tax rate 1 is being displayed (step C13, Yes), the CPU 21 displays the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 1 total memory area 22b. , the numerical values stored in the independent tax rate 1 memory area 22f (the numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax) are subtracted (step C14).

また、CPU21は、税率2の合計表示中である場合には(ステップC15、Yes)、現在の税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)により、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を減算する(ステップC16)。 When the total of tax rate 2 is being displayed (step C15, Yes), the CPU 21 displays the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current tax rate 2 total memory area 22c. , the numerical values stored in the independent tax rate 2 memory area 22g (the numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax) are subtracted (step C16).

同様にして、CPU21は、[MR]キー11m3が操作された場合(ステップC20、Yes)、キー操作時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)を判別し、それぞれに応じた処理対象とする税計算用メモリに記憶された数値により、独立税メモリに記憶された数値から減算する処理を実行する。 Similarly, when the [MR] key 11m3 is operated (step C20, Yes), the CPU 21 displays the tax calculation results (total total display, tax rate 1 total display, tax rate 2 total display) displayed at the time of key operation. ) is determined, and the numerical value stored in the tax calculation memory to be processed according to each is subtracted from the numerical value stored in the independent tax memory.

すなわち、CPU21は、総合計表示中である場合には(ステップC21、Yes)、現在の独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率1合計メモリエリア22bに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる。また、CPU21は、現在の独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率2合計メモリエリア22cに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる(ステップC22)。 That is, when the total sum is being displayed (step C21, Yes), the CPU 21 displays the numerical values stored in the current independent tax rate 1 memory area 22f (total amount including tax, total amount excluding tax, and total tax amount). corresponding numerical values) are read out and stored in the tax rate 1 total memory area 22b as numerical values indicating the total amount including tax, the total amount excluding tax, and the total amount including tax. In addition, the CPU 21 reads out the numerical values stored in the current independent tax rate 2 memory area 22g (numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total amount including tax), and stores the total amount including tax in the tax rate 2 total memory area 22c. The amount, the total amount excluding tax, and the total amount of tax are stored as numerical values respectively (step C22).

また、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された値が変更されるのに伴い、税合計メモリエリア22dに記憶された数値(税込総合計額、税抜総合計額、税額総合計額)を変更する(ステップC27)。そして、CPU21は、税合計メモリエリア22dに記憶された値に基づいて、表示部12において税計算総合計表示する(ステップA45)。 In addition, the CPU 21 changes the values stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c, and changes the values stored in the tax total memory area 22d (total tax included, total tax excluded). total tax amount) is changed (step C27). Then, the CPU 21 displays the tax calculation total on the display unit 12 based on the value stored in the tax total memory area 22d (step A45).

また、CPU21は、税率1の合計表示中である場合には(ステップC23、Yes)、現在の独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率1合計メモリエリア22bに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる(ステップC24)。 When the total of tax rate 1 is being displayed (step C23, Yes), the CPU 21 displays the numerical values (total amount including tax, total amount excluding tax, total amount including tax) stored in the current independent tax rate 1 memory area 22f. corresponding numerical values) are read out and stored in the tax rate 1 total memory area 22b as numerical values indicating the total amount including tax, the total amount excluding tax, and the total amount including tax (step C24).

また、CPU21は、税率1合計メモリエリア22bに記憶された値が変更されるのに伴い、税合計メモリエリア22dに記憶された数値(税込総合計額、税抜総合計額、税額総合計額)を変更する(ステップC28)。そして、CPU21は、税率1合計メモリエリア22bに記憶された値に基づいて、表示部12において税率1の合計値表示する(ステップA17)。すなわち、CPU21は、税率1の税込額合計を表示部12に表示させる。 In addition, the CPU 21 changes the values stored in the tax rate 1 total memory area 22b (total amount including tax, total total amount excluding tax, total total tax amount) stored in the total tax memory area 22d. ) is changed (step C28). Then, the CPU 21 displays the total value of tax rate 1 on the display unit 12 based on the value stored in the tax rate 1 total memory area 22b (step A17). That is, the CPU 21 causes the display unit 12 to display the total amount including tax at tax rate 1 .

同様にして、CPU21は、税率2の合計表示中である場合には(ステップC25、Yes)、現在の独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)を読み出し、税率2合計メモリエリア22cに税込合計額、税抜合計額、税合計額のそれぞれを示す数値として記憶させる(ステップC26)。 Similarly, when the total of tax rate 2 is being displayed (step C25, Yes), the CPU 21 displays the numerical values stored in the current independent tax rate 2 memory area 22g (total amount including tax, total amount excluding tax, total tax ) are read out and stored in the tax rate 2 total memory area 22c as numerical values representing the total amount including tax, the total amount excluding tax, and the total amount including tax (step C26).

また、CPU21は、税率2合計メモリエリア22cに記憶された値が変更されるのに伴い、税合計メモリエリア22dに記憶された数値(税込総合計額、税抜総合計額、税額総合計額)を変更する(ステップC29)。そして、CPU21は、税率2合計メモリエリア22cに記憶された値に基づいて、表示部12において税率2の合計値表示する(ステップA35)。すなわち、CPU21は、税率2の税込額合計を表示部12に表示させる。 In addition, the CPU 21 changes the values stored in the tax rate 2 total memory area 22c (total amount including tax, total total amount excluding tax, total total tax amount) stored in the total tax memory area 22d. ) is changed (step C29). Then, the CPU 21 displays the total value of tax rate 2 on the display unit 12 based on the value stored in the tax rate 2 total memory area 22c (step A35). That is, the CPU 21 causes the display unit 12 to display the total tax-inclusive amount of tax rate 2 .

なお、税率1あるいは税率2の合計値表示中では、前述したように、税計算合計キー11fのキー操作に応じて税計算総合計表示に変更される。この時、税計算総合計表示における数値は、独立税率1メモリエリア22fあるいは独立税率2メモリエリア22gから読み出された数値により変更された総合計の数値となる。 As described above, while the total value of tax rate 1 or tax rate 2 is being displayed, the display is changed to the total tax calculation total display according to the key operation of the tax calculation total key 11f. At this time, the numerical value in the tax calculation total display is the total numerical value changed by the numerical value read from the independent tax rate 1 memory area 22f or the independent tax rate 2 memory area 22g.

なお、CPU21は、[MC]キー11m4が操作された場合(ステップC3,C10,C20、No)、独立税率1メモリエリア22fと独立税率2メモリエリア22gに記憶された数値をクリア(初期化)すると共に、表示部12からメモリシンボル「税M」を消す(ステップC30)。 When the [MC] key 11m4 is operated (steps C3, C10, C20, No), the CPU 21 clears (initializes) the numerical values stored in the independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g. At the same time, the memory symbol "tax M" is erased from the display section 12 (step C30).

なお、[MC]キー11m4が操作された場合についても、前述と同様にして、キー操作時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)応じて、数値をクリア(初期化)する対象を変更するようにしても良い(独立税メモリ全体、独立税率1メモリエリア22f、独立税率2メモリエリア22g)。 Also when the [MC] key 11m4 is operated, in the same manner as described above, according to the tax calculation results (total display, tax rate 1 total display, tax rate 2 total display) displayed at the time of key operation, , the targets for clearing (initializing) the numerical values may be changed (entire independent tax memory, independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g).

このようにして、本実施形態における税計算メモリ機能の変形例では、操作されたメモリキーと、メモリキーが操作された時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)応じて、税計算メモリ機能の処理対象とする税計算結果を変更できるので、税計算結果を使い分けてより有効に利用することができる。 Thus, in the modified example of the tax calculation memory function in this embodiment, the operated memory key and the tax calculation result displayed when the memory key was operated (total total display, total display of tax rate 1, Since the tax calculation results to be processed by the tax calculation memory function can be changed according to the total display of the tax rate 2), the tax calculation results can be selectively used and used more effectively.

なお、前述した説明では、税込1計算キー11bと税込2計算キー11cに対する入力操作がある場合を例にしているが、税抜1計算キー11dと税抜2計算キー11eに対する入力操作がある場合についても同様の処理を実行することも可能である。ただし、税抜1計算キー11dあるいは税抜2計算キー11eが操作された場合、CPU21は、税抜額を税込額よりも優先して表示させるものとする。その他は、税込1計算キー11bまたは税込2計算キー11cが操作された場合と同様に処理する。 In the above description, the input operation is performed on the tax-exclusive 1 calculation key 11b and the tax-exclusive 2 calculation key 11c. It is also possible to perform similar processing for . However, when the tax-excluded 1 calculation key 11d or the tax-excluded 2 calculation key 11e is operated, the CPU 21 displays the tax-excluded amount with priority over the tax-inclusive amount. Others are processed in the same manner as when the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated.

また、実施形態において記載した手法、すなわち図3~図5、図9、図10のフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリ等の記録媒体に格納して配布することができる。そして、コンピュータは、外部記録媒体に記録されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。 Further, the methods described in the embodiments, that is, each method such as the processing shown in the flowcharts of FIGS. etc.), magnetic disk (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 the operation is controlled by this program, thereby realizing processing similar to 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.

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶手段と、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第2記憶手段と、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる第1表示手段とを有する計算機。
The invention described in the original claims of the present application is appended below.
[1] tax calculation means for executing tax calculation using a first numerical value in response to an input of a tax calculation execution instruction;
a first storage means for storing, in a first memory, a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
a second storage means for storing, in a second memory, a second numerical value updated by the first total value in response to an input instructing storage of the first total value;
and a first display means for displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value.

[2]前記第1合計値の表示を指示する入力に応じて、前記第1合計値を表示部に表示させる第2表示手段をさらに有し、
前記第2記憶手段は、前記第1合計値が表示部に表示された後、前記第1合計値の記憶を指示する入力があった場合に、前記第1合計値により更新される第2数値を第2メモリに記憶させる[1]記載の計算機。
[2] further comprising second display means for displaying the first total value on a display unit in response to an input instructing display of the first total value;
The second storage means stores a second numerical value updated by the first total value when an instruction to store the first total value is received after the first total value is displayed on the display unit. is stored in the second memory.

[3]前記第1記憶手段は、前記第1数値を用いた税計算により得られる税込額、税抜額、税額のそれぞれの合計値を前記第1メモリに記憶させ、
前記第2記憶手段は、前記税込額、前記税抜額、前記税額のそれぞれの合計値により、前記第2数値に含まれる税込額、税抜額、税額のそれぞれを更新する、[1]または[2]記載の計算機。
[3] The first storage means causes the first memory to store the sum of the tax-inclusive amount, the tax-excluded amount, and the tax amount obtained by tax calculation using the first numerical value,
[1] or [2], wherein the second storage means updates each of the tax-included amount, the tax-excluded amount, and the tax amount included in the second numerical value by the total value of the tax-included amount, the tax-excluded amount, and the tax amount; ] calculator.

[4]前記第1表示手段は、前記第2数値の読み出しを指示する入力に応じて、前記第2数値に含まれる税込額、税抜額、税額の何れかを前記表示部に表示させ、表示切り替えの指示の入力に応じて、税込額、税抜額、税額の何れかに表示を切り替える、[3]記載の計算機。 [4] The first display means causes the display unit to display any one of the tax-included amount, the tax-excluded amount, and the tax amount included in the second numerical value in response to an input instructing reading of the second numerical value. The computer according to [3], wherein the display is switched to one of the tax-included amount, the tax-excluded amount, and the tax amount according to the input of the switching instruction.

[5]前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値を、前記第1メモリに記憶させ、
前記第2記憶手段は、前記第1税率合計値、前記第2税率合計値、前記税合計値のそれぞれにより更新される数値を前記第2メモリに記憶させる、[1]記載の計算機。
[5] The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. Storing in the first memory a second total tax rate value obtained by summing the resulting numerical values and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
The computer according to [1], wherein the second storage means causes the second memory to store numerical values updated by each of the first total tax rate, the second total tax rate, and the total tax.

[6]前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値を、前記第1メモリに記憶させ、
前記第2記憶手段は、前記第1税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第1税率合計値を前記第2メモリに記憶させ、前記第2税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第2税率合計値を前記第2メモリに記憶させ、前記税合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記税合計値を前記第2メモリに記憶させる、[2]記載の計算機。
[6] The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. Storing in the first memory a second total tax rate value obtained by summing the resulting numerical values and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
the second storage means stores the first total tax rate in the second memory when an input instructing storage of the first total is received while the first total tax rate is being displayed; When an input instructing storage of the first total value is received while the second total tax rate value is being displayed, the second total tax rate value is stored in the second memory, and the total tax value is displayed. The computer according to [2], which stores the total tax value in the second memory when there is an input instructing storage of the first total value when the computer is on.

[7]税計算機を制御するための計算方法であって、
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶手段と、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第2記憶手段と、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる計算方法。
[7] A calculation method for controlling a tax calculator, comprising:
tax calculation means for executing tax calculation using the first numerical value in response to input of a tax calculation execution instruction;
a first storage means for storing, in a first memory, a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
a second storage means for storing, in a second memory, a second numerical value updated by the first total value in response to an input instructing storage of the first total value;
A calculation method for displaying the second numerical value stored in the second memory on a display in response to an input instructing reading of the second numerical value.

[8]コンピュータを、
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶手段と、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第2記憶手段と、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる表示手段として機能させるためのプログラム。
[8] the computer,
tax calculation means for executing tax calculation using the first numerical value in response to input of a tax calculation execution instruction;
a first storage means for storing, in a first memory, a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
a second storage means for storing, in a second memory, a second numerical value updated by the first total value in response to an input instructing storage of the first total value;
A program for functioning as display means for displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value.

10…電卓、11…キー入力部、11b…税込1計算キー、11c…税込2計算キー、11f…税計算合計キー、12…表示出力部、21…CPU、22…メモリ、22a…計算処理プログラム、22b…税率1合計メモリエリア、22c…税率2合計メモリエリア、22d…税合計メモリエリア、22e…税合計後モードデータ、22f…独立税率1合計メモリエリア、22g…独立税率2合計メモリエリア、22h…独立メモリエリア、22k…税率記憶エリア。 DESCRIPTION OF SYMBOLS 10... Calculator, 11... Key input part, 11b... Tax-included 1 calculation key, 11c... Tax-included 2 calculation key, 11f... Tax calculation total key, 12... Display output part, 21... CPU, 22... Memory, 22a... Calculation processing program 22b... Tax rate 1 total memory area 22c... Tax rate 2 total memory area 22d... Tax total memory area 22e... Post-tax total mode data 22f... Independent tax rate 1 total memory area 22g... Independent tax rate 2 total memory area 22h... independent memory area, 22k... tax rate storage area.

Claims (12)

税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、
前記税計算手段により得られる税込額、税抜額、税額のそれぞれの合計値を 第1合計値として第1メモリに記憶させる第1記憶手段と、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される税込額、税抜額、税額のそれぞれを第2数値として第2メモリに記憶させる第2記憶手段と、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる第1表示手段とを有する計算機。
tax calculation means for executing tax calculation using the first numerical value in response to input of a tax calculation execution instruction;
The total value of each of the tax-inclusive amount, the tax-excluded amount, and the tax amount obtained by the tax calculation means First total valueAsa first storage means for storing in a first memory;
updated with the first sum value in response to an input instructing storage of the first sum valueThe amount including tax, the amount excluding tax, and the amount of tax as the second numerical valuea second storage means for storing in a second memory;
and a first display means for displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value.
前記第1合計値の表示を指示する入力に応じて、前記第1合計値を表示部に表示させる第2表示手段をさらに有し、
前記第2記憶手段は、前記第1合計値が表示部に表示された後、前記第1合計値の記憶を指示する入力があった場合に、前記第1合計値により更新される第2数値を第2メモリに記憶させる請求項1記載の計算機。
further comprising second display means for displaying the first total value on a display unit in response to an input instructing display of the first total value;
The second storage means stores a second numerical value updated by the first total value when an instruction to store the first total value is received after the first total value is displayed on the display unit. 2. The computer according to claim 1, wherein the second memory stores .
前記第1表示手段は、前記第2数値の読み出しを指示する入力に応じて、前記第2数値に含まれる税込額、税抜額、税額の何れかを前記表示部に表示させ、表示切り替えの指示の入力に応じて、税込額、税抜額、税額の何れかに表示を切り替える、請求項記載の計算機。 The first display means causes the display unit to display one of the tax-included amount, the tax-excluded amount, and the tax amount included in the second numerical value in response to an input instructing reading of the second numerical value, and instructs display switching. 2. The computer according to claim 1 , wherein the display is switched to one of the tax-included amount, the tax-excluded amount, and the tax amount according to the input of . 前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値と、を、前記第1メモリに記憶させ、
前記第2記憶手段は、前記第1税率合計値、前記第2税率合計値、前記税合計値のそれぞれにより更新される数値を前記第2メモリに記憶させる、請求項1記載の計算機。
The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. storing in the first memory a second total tax rate value obtained by summing the resulting figures and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
2. The computer according to claim 1, wherein said second storage means causes said second memory to store numerical values updated by said first total tax rate value, said second total tax rate value, and said total tax value.
前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値を、前記第1メモリに記憶させ、
前記第2記憶手段は、前記第1税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第1税率合計値を前記第2メモリに記憶させ、前記第2税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第2税率合計値を前記第2メモリに記憶させ、前記税合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記税合計値を前記第2メモリに記憶させる、請求項2記載の計算機。
The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. Storing in the first memory a second total tax rate value obtained by summing the resulting numerical values and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
the second storage means stores the first total tax rate in the second memory when an input instructing storage of the first total is received while the first total tax rate is being displayed; When an input instructing storage of the first total value is received while the second total tax rate value is being displayed, the second total tax rate value is stored in the second memory, and the total tax value is displayed. 3. The calculator according to claim 2, wherein said total tax value is stored in said second memory when there is an input instructing storage of said first total value while the computer is running.
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段と、 tax calculation means for executing tax calculation using the first numerical value in response to input of a tax calculation execution instruction;
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶手段と、 a first storage means for storing, in a first memory, a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第2記憶手段と、 a second storage means for storing, in a second memory, a second numerical value updated by the first total value in response to an input instructing storage of the first total value;
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる第1表示手段とを有し、 a first display means for displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value;
前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、 The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値とを、前記第1メモリに記憶させ、 The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. Storing in the first memory a second total tax rate value obtained by summing the resultant figures and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
前記第2記憶手段は、前記第1税率合計値、前記第2税率合計値、前記税合計値のそれぞれにより更新される数値を前記第2メモリに記憶させる計算機。 The second storage means stores in the second memory numerical values updated by each of the first total tax rate, the second total tax rate, and the total tax.
前記第1合計値の表示を指示する入力に応じて、前記第1合計値を表示部に表示させる第2表示手段をさらに有し、 further comprising second display means for displaying the first total value on a display unit in response to an input instructing display of the first total value;
前記第2記憶手段は、前記第1合計値が表示部に表示された後、前記第1合計値の記憶を指示する入力があった場合に、前記第1合計値により更新される第2数値を第2メモリに記憶させる請求項6記載の計算機。 The second storage means stores a second numerical value updated by the first total value when an instruction to store the first total value is received after the first total value is displayed on the display unit. is stored in the second memory.
前記第2記憶手段は、前記第1税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第1税率合計値を前記第2メモリに記憶させ、前記第2税率合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記第2税率合計値を前記第2メモリに記憶させ、前記税合計値が表示されている時に前記第1合計値の記憶を指示する入力があった場合に前記税合計値を前記第2メモリに記憶させる、請求項7記載の計算機。 the second storage means stores the first total tax rate in the second memory when an input instructing storage of the first total is received while the first total tax rate is being displayed; When an input instructing storage of the first total value is received while the second total tax rate value is being displayed, the second total tax rate value is stored in the second memory, and the total tax value is displayed. 8. The calculator according to claim 7, wherein said total tax value is stored in said second memory when there is an input instructing storage of said first total value when the computer is running. 税計算機を制御するための計算方法であって、
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算ステップと、
前記税計算ステップにて得られる税込額、税抜額、税額のそれぞれの合計値 第1合計値として第1メモリに記憶させる第1記憶ステップと、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される税込額、税抜額、税額のそれぞれを第2数値として第2メモリに記憶させる第2記憶ステップと、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる表示ステップと、
含む計算方法。
A calculation method for controlling a tax calculator, comprising:
a tax calculation step for executing tax calculation using the first numerical value in response to an input of a tax calculation execution instruction;
a first storage step of storing the total value of each of the tax-included amount, the tax-excluded amount, and the tax amount obtained in the tax calculation step as a first total value in a first memory;
a second storage step of storing in a second memory each of the tax-included amount, the tax-excluded amount, and the tax amount updated by the first total value as a second numerical value in response to an input instructing storage of the first total value;
a display step of displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value;
calculation method, including
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算ステップと、 a tax calculation step for executing tax calculation using the first numerical value in response to an input of a tax calculation execution instruction;
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶ステップと、 a first storage step of storing in a first memory a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第2記憶ステップと、 a second storage step of storing in a second memory a second numerical value updated by the first total value in response to an input instructing storage of the first total value;
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる表示ステップと、を含み、 a display step of displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value;
前記税計算ステップは、第1税率と第2税率に基づく税計算を実行し、 the tax calculation step performs a tax calculation based on a first tax rate and a second tax rate;
前記第1記憶ステップは、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値と、を、前記第1メモリに記憶させ、 In the first storing step, a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which is included in the first total value, and the tax calculation based on the second tax rate. storing in the first memory a second total tax rate value obtained by summing the resulting figures and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
前記第2記憶ステップは、前記第1税率合計値、前記第2税率合計値、前記税合計値のそれぞれにより更新される数値を前記第2メモリに記憶させる計算方法。 The second storing step stores numerical values updated by each of the first total tax rate, the second total tax rate, and the total tax in the second memory.
コンピュータを、
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段、
前記税計算手段により得られる税込額、税抜額、税額のそれぞれの合計値を 第1合計値として第1メモリに記憶させる第1記憶手段、
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される税込額、税抜額、税額のそれぞれを第2数値として第2メモリに記憶させる第2記憶手段、
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる表示手段、
として機能させるためのプログラム。
the computer,
Execute tax calculation using the first numerical value according to the input of the tax calculation execution instructiontax calculator,
The total value of each of the tax-inclusive amount, the tax-excluded amount, and the tax amount obtained by the tax calculation means First total valueAsstore in the first memoryfirst storage means,
updated with the first sum value in response to an input instructing storage of the first sum valueThe amount including tax, the amount excluding tax, and the amount of tax as the second numerical valuestore in the second memorysecond storage means,
displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical valuedisplay means,
A program to function as
コンピュータを、 the computer,
税計算の実行指示の入力に応じて、第1数値を用いた税計算を実行する税計算手段、 tax calculation means for executing tax calculation using the first numerical value in response to input of a tax calculation execution instruction;
複数の前記税計算の結果とする数値を合計した第1合計値を第1メモリに記憶させる第1記憶手段、 a first storage means for storing in a first memory a first total value obtained by summing the numerical values resulting from the plurality of tax calculations;
前記第1合計値の記憶を指示する入力に応じて、前記第1合計値により更新される第2数値を第2メモリに記憶させる第 storing a second numerical value updated by the first total value in a second memory in response to an input instructing storage of the first total value; 2記憶手段、2 storage means;
前記第2数値の読み出しを指示する入力に応じて、前記第2メモリに記憶された前記第2数値を表示部に表示させる第1表示手段、として機能させ、 functioning as first display means for displaying the second numerical value stored in the second memory on a display unit in response to an input instructing reading of the second numerical value;
前記税計算手段は、第1税率と第2税率に基づく税計算を実行し、 The tax calculation means performs tax calculation based on a first tax rate and a second tax rate;
前記第1記憶手段は、前記第1合計値に含まれる、前記第1税率に基づく前記税計算の結果とする数値を合計した第1税率合計値と、前記第2税率に基づく前記税計算の結果とする数値を合計した第2税率合計値と、前記第1税率合計値と前記第2税率合計値とを合計した税合計値とを、前記第1メモリに記憶させ、 The first storage means stores a first tax rate total value obtained by summing the numerical values resulting from the tax calculation based on the first tax rate, which are included in the first total value, and the tax calculation based on the second tax rate. Storing in the first memory a second total tax rate value obtained by summing the resultant figures and a total tax value obtained by summing the first total tax rate value and the second total tax rate value;
前記第2記憶手段は、前記第1税率合計値、前記第2税率合計値、前記税合計値のそれぞれにより更新される数値を前記第2メモリに記憶させるプログラム。 The second storage means is a program for storing numerical values updated by each of the first total tax rate, the second total tax rate, and the total tax in the second memory.
JP2018188328A 2018-10-03 2018-10-03 Calculators, calculation methods, and programs Active JP7163705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018188328A JP7163705B2 (en) 2018-10-03 2018-10-03 Calculators, calculation methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018188328A JP7163705B2 (en) 2018-10-03 2018-10-03 Calculators, calculation methods, and programs

Publications (2)

Publication Number Publication Date
JP2020057263A JP2020057263A (en) 2020-04-09
JP7163705B2 true JP7163705B2 (en) 2022-11-01

Family

ID=70107346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018188328A Active JP7163705B2 (en) 2018-10-03 2018-10-03 Calculators, calculation methods, and programs

Country Status (1)

Country Link
JP (1) JP7163705B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7184068B2 (en) 2020-09-17 2022-12-06 カシオ計算機株式会社 Calculator, calculation method and calculation program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5667324B1 (en) 2014-10-17 2015-02-12 晃康 加藤 Electronic calculator with verification function
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5667324B1 (en) 2014-10-17 2015-02-12 晃康 加藤 Electronic calculator with verification function
JP2017174225A (en) 2016-03-24 2017-09-28 カシオ計算機株式会社 Tax calculator, tax calculation method and program

Also Published As

Publication number Publication date
JP2020057263A (en) 2020-04-09

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
JP6428734B2 (en) Tax calculation device, tax calculation method, program
JP7163705B2 (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
JP7487755B2 (en) calculator
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP7500934B2 (en) Computer, calculation method, and program
JP6214125B2 (en) Electronic calculator and program
JP7383902B2 (en) Calculators, calculation methods, and programs
JP6593505B1 (en) Computer, electronic device, setting method, and program
CN107562677B (en) Calculation device, calculation method, and recording medium having program recorded thereon
JP7279355B2 (en) Calculator, display method, and program
JP7416138B2 (en) Calculator, setting support method and program
JP6528483B2 (en) Computation processing device and program
JP2017016475A (en) Electronic equipment and calculation processing program
JP6620907B1 (en) Computer, setting method, and program
JP7487828B2 (en) Electronic device, calculation support method and program
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP2022115562A (en) Computing machine and calculation program
JP5381152B2 (en) Formula arithmetic device and program
JP2023045848A (en) Calculator and calculation program
JP2018156456A (en) Computing device, computing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221003

R150 Certificate of patent or registration of utility model

Ref document number: 7163705

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150