JP7500934B2 - Computer, calculation method, and program - Google Patents

Computer, calculation method, and program Download PDF

Info

Publication number
JP7500934B2
JP7500934B2 JP2019160307A JP2019160307A JP7500934B2 JP 7500934 B2 JP7500934 B2 JP 7500934B2 JP 2019160307 A JP2019160307 A JP 2019160307A JP 2019160307 A JP2019160307 A JP 2019160307A JP 7500934 B2 JP7500934 B2 JP 7500934B2
Authority
JP
Japan
Prior art keywords
tax
calculation
inclusive
amount
excluded
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
JP2019160307A
Other languages
Japanese (ja)
Other versions
JP2020057374A (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
Publication of JP2020057374A publication Critical patent/JP2020057374A/en
Application granted granted Critical
Publication of JP7500934B2 publication Critical patent/JP7500934B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

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

近年の計算装置(電卓)には、設定した税率を用いて税込計算及び税抜計算をする機能を設けたものがある。例えば、特許文献1に記載された電卓は、数値入力後、特定のキー操作に応じて、前記数値を用いた税込計算を実行し、当該税込計算に係る税込額、税抜額及び税額の何れか2つを、画面上に同時に表示する。 Some recent calculation devices (calculators) are equipped with a function to perform tax-inclusive and tax-exclusive calculations using a set tax rate. For example, the calculator described in Patent Document 1 executes tax-inclusive calculations using the input values in response to specific key operations after the input values have been entered, and simultaneously displays two of the tax-inclusive amount, tax-exclusive amount, and tax amount related to the tax-inclusive calculation on the screen.

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

このように従来技術による電卓では、設定した税率を用いて税込計算及び税抜計算をすることができるが、税込計算により取得された数値(税込額、税抜額及び税額)と、当該税込計算とは別に行われた税抜計算により取得された数値(税込額、税抜額及び税額)との合計値を簡単な操作で取得することができない。 As described above, conventional calculators can perform tax-inclusive and tax-exclusive calculations using a set tax rate, but they cannot easily obtain the sum of the values obtained from the tax-inclusive calculation (tax-inclusive amount, tax-exclusive amount, and tax amount) and the values obtained from the tax-exclusive calculation performed separately from the tax-inclusive calculation (tax-inclusive amount, tax-exclusive amount, and tax amount).

本発明は、前記のような課題に考慮してなされたもので、税込計算と税抜計算が混在しても、それらの税計算に係る計算結果の合計値を簡単な操作で取得することが可能な計算機、計算方法、及びプログラムを提供することを目的とする。 The present invention was made in consideration of the above-mentioned problems, and aims to provide a calculator, a calculation method, and a program that can easily obtain the total value of the calculation results related to tax calculations, even when tax-inclusive and tax-exclusive calculations are mixed.

上記課題を解決するために、本発明の計算機は、税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果の税抜額と税込額とを、税込計算結果として取得して、税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果の税込額と税抜額とを、税抜計算結果として取得して、税計算合計表示の実行指示の入力に応じて、前記税込計算結果における税込額と前記税抜計算結果における税込額の合計である税計算合計値の税込額、又は、前記税込計算結果における税抜額と前記税抜計算結果における税抜額の合計である税計算合計値の税抜額の少なくとも何れかを、表示部に表示させる、制御部を有する。 In order to solve the above problem, the computer of the present invention has a control unit which, in response to an input of an instruction to execute a tax-inclusive calculation, executes the tax-inclusive calculation using the numerical value as the tax-exclusive amount input immediately before the instruction to execute the tax-inclusive calculation, obtains the tax-exclusive amount and tax-inclusive amount of the result of the tax-inclusive calculation as the tax-exclusive calculation result, in response to an input of an instruction to execute the tax-exclusive calculation, executes the tax-exclusive calculation using the numerical value as the tax-inclusive amount input immediately before the instruction to execute the tax-exclusive calculation, obtains the tax-inclusive amount and tax-exclusive amount of the result of the tax- exclusive calculation as the tax-exclusive calculation result, and, in response to an input of an instruction to execute a tax calculation total display, displays at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount in the tax-inclusive calculation result and the tax-exclusive amount in the tax-exclusive calculation result, or the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount in the tax-inclusive calculation result and the tax-exclusive amount in the tax-exclusive calculation result .

また、本発明の別の計算機は、税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算における税額を取得して、税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算における税額を取得して、税計算合計表示の実行指示の入力に応じて、前記税込計算結果における税額と前記税抜計算結果における税額の合計である税合計値を、表示部に表示させる、制御部を有する。 Another calculator of the present invention has a control unit that, in response to an input of an instruction to execute a tax- inclusive calculation, executes the tax-inclusive calculation using the numerical value for the tax-exclusive amount input immediately before the instruction to execute the tax-inclusive calculation, obtains the tax amount in the tax-inclusive calculation, in response to an input of an instruction to execute the tax-exclusive calculation, executes the tax-exclusive calculation using the numerical value for the tax-inclusive amount input immediately before the instruction to execute the tax-exclusive calculation, obtains the tax amount in the tax-exclusive calculation, and, in response to an input of an instruction to execute a tax calculation total display, displays on a display unit a total tax value, which is the sum of the tax amount in the tax-inclusive calculation result and the tax amount in the tax-exclusive calculation result .

本発明によれば、税込計算と税抜計算が混在しても、それらの税計算に係る計算結果の合計値を簡単な操作で取得することが可能となる。 According to the present invention, even if tax-inclusive and tax-exclusive calculations are mixed, the total value of the calculation results related to those tax calculations can be obtained with a simple operation.

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

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

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

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

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

電卓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などが含まれる。 The front of the housing of the calculator 10 is provided with a key input section 11 including multiple keys and a display section 12. The key input section 11 is provided with numeric keys, arithmetic keys, tax calculation function keys, and function keys. The numeric keys include multiple keys corresponding to, for example, [00], [0] to [9]. The arithmetic keys include multiple keys corresponding to, for example, a [+] (addition) key, a [-] (subtraction) key, a [x] (multiplication) key, a [÷] (division) key 11h, and a [=] (execute calculation) key. The tax calculation function keys include tax calculation keys (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), multiple memory keys ([M+] key 11m1, [M-] key 11m2, [MR] key 11m3, [MC] key 11m4), a grand total key ([GT] key), a root key ([√] key), and a [%] key 11g.

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

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

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

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

複数のメモリキーは、通常メモリ機能と税計算メモリ機能の両方で兼用される。通常メモリ機能の実行時には、メモリキーの操作に応じて独立メモリ(後述するメモリ22の独立メモリエリア22h)を処理対象とし、税計算メモリ機能の実行時には、メモリキーの操作に応じて税計算独立メモリ(後述するメモリ22の独立税率1メモリエリア22f、独立税率2メモリエリア22g)を処理対象とする。 The multiple 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 memory 22 described below) is processed in response to the operation of the memory key, and when the tax calculation memory function is executed, the tax calculation independent memory (independent tax rate 1 memory area 22f and independent tax rate 2 memory area 22g of memory 22 described below) is processed in response to the operation of the memory key.

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

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

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

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

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

表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の計算モードや各種設定状態を示す文字や記号(シンボル)が表示される。状態表示エリアに表示されるシンボルには、例えば、税計算キーシンボル、総合計表示シンボル、メモリシンボルなどが表示される。 The display unit 12 is made up of a dot-matrix type liquid crystal display unit. Numerical values input by operating the keys of the key input unit 11 are displayed on the display unit 12. Numerical values are displayed on a limited number of lines (for example, one line) on the display unit 12. Furthermore, a status display area provided along the side of the display unit 12 displays letters and symbols (symbols) indicating the calculation mode being set and various setting states. Symbols displayed in the status display area include, for example, a tax calculation key symbol, a grand total display symbol, and a memory symbol.

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

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

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

メモリ22には、計算処理プログラム22aが記憶される他に、税率1合計メモリエリア22b、税率2合計メモリエリア22c、税合計メモリエリア22d、税合計後モードデータ22e、独立税率1メモリエリア22f、独立税率2メモリエリア22g、独立メモリエリア22h、税率記憶エリア22kなど各データを記憶するエリアが設けられる。税率1合計メモリエリア22b、税率2合計メモリエリア22c及び税合計メモリエリア22dは、税計算処理において使用される税計算用メモリとして使用されるエリアである。 In addition to storing the calculation processing program 22a, the memory 22 is provided with areas for storing various data, such as 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, an independent tax rate 2 memory area 22g, an independent memory area 22h, and a tax rate storage area 22k. The tax rate 1 total memory area 22b, the tax rate 2 total memory area 22c, and the tax total memory area 22d are areas used as tax calculation memory used in the tax calculation process.

税率1合計メモリエリア22bは、税率1に基づいた税計算により算出されるデータを記憶するためのエリアである。税率1合計メモリエリア22bには、税計算の対象とする数値に対して、税込1計算キー11bの操作に応じて実行される税込計算と、税抜1計算キー11dの操作に応じて実行される税抜計算により算出される税込額(第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. In the tax rate 1 total memory area 22b, the tax-inclusive amount (first tax-inclusive amount), the tax amount (first tax amount), and the tax-exclusive amount (first tax-exclusive amount) calculated by the tax-inclusive calculation executed in response to the operation of the tax-inclusive 1 calculation key 11b and the tax-exclusive calculation executed in response to the operation of the tax-exclusive 1 calculation key 11d are stored for at least one numerical value. In the tax-inclusive calculation, the numerical value to be calculated is the tax-exclusive amount (first tax-exclusive amount), and in the tax-exclusive calculation, the numerical value to be calculated is the tax-inclusive amount (first tax-inclusive amount). In addition, the tax rate 1 total memory area 22b stores the first tax-inclusive total indicating the sum of the first tax-inclusive amounts as the tax calculation result corresponding to at least one numerical value, the first tax-exclusive total corresponding to the first tax-inclusive total, and the first tax total corresponding to the first tax-inclusive total.

税率2合計メモリエリア22cは、税率2に基づいた税計算により算出されるデータを記憶するためのエリアである。税率2合計メモリエリア22cには、税計算の対象とする数値に対して、税込2計算キー11cの操作に応じて実行される税込計算と、税抜2計算キー11eの操作に応じて実行される税抜計算により算出される税込額(第2税込額)及び税額(第2税額)と、税抜額(第2税抜額)が、少なくとも1つの数値について記憶される。税込計算では、税計算の対象とする数値が税抜額(第1税抜額)となり、税抜計算では、税計算の対象とする数値が税込額(第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 tax rate 2. In the tax rate 2 total memory area 22c, the tax-inclusive amount (second tax-inclusive amount), tax amount (second tax amount), and tax-exclusive amount (second tax-exclusive amount) calculated by the tax-inclusive calculation executed in response to the operation of the tax-inclusive 2 calculation key 11c and the tax-exclusive calculation executed in response to the operation of the tax-exclusive 2 calculation key 11e are stored for at least one numerical value. In the tax-inclusive calculation, the numerical value to be calculated is the tax-exclusive amount (first tax-exclusive amount), and in the tax-exclusive calculation, the numerical value to be calculated is the tax-inclusive amount (first tax-inclusive amount). In addition, the tax rate 2 total memory area 22c stores the second tax-inclusive total indicating the sum of the second tax-inclusive amounts as the tax calculation result corresponding to at least one numerical value, the second tax-exclusive total corresponding to the second tax-inclusive total, and the second tax total corresponding to the second tax-inclusive total.

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

税合計後モードデータ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 tax-inclusive total amount has been calculated in response to the input operation of the tax calculation total key 11f (post-tax total mode on/off). The post-tax total mode is turned on when the tax-inclusive total amount has been calculated, and is turned off when a key other than the tax-inclusive 1 calculation key 11b and the tax-inclusive 2 calculation key 11c, such as the [AC] key 11a, is operated, or a new numerical value is input by operating a numeric key. When the post-tax total mode is on (a state after the tax-inclusive total amount has been calculated), when the tax-inclusive 1 calculation key 11b or the tax-inclusive 2 calculation key 11c is operated, the (1st/2nd) tax-inclusive total amount is displayed. Then, each time the same key (tax-inclusive 1 calculation key 11b or tax-inclusive 2 calculation key 11c) is operated, the tax-excluded total amount corresponding to the (1st/2nd) tax-inclusive total amount and the tax total amount corresponding to the (1st/2nd) tax-inclusive total amount are switched and displayed in sequence. Also, when the after-tax-total mode is off (i.e., the tax-inclusive total amount has not yet been calculated), if the tax-inclusive 1 calculation key 11b or tax-inclusive 2 calculation key 11c is operated, the (first/second) tax-inclusive amount when the displayed value is the tax-exclusive amount is displayed. And when the same key (tax-inclusive 1 calculation key 11b or tax-inclusive 2 calculation key 11c) is operated, the (first/second) tax amount is 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 memories 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 total amount including tax, the total amount excluding tax, and the total tax amount stored in the tax rate 1 total memory area 22b. Similarly, the independent tax rate 2 memory area 22g corresponds to the tax rate 2 total memory area 22c, and stores numerical values corresponding to the total amount including tax, the total amount excluding tax, and the total tax amount stored in the tax rate 2 total memory area 22c.

独立税率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, subtracted) based on the data stored in the tax rate 1 total memory area 22b in response to the operation of the [M+] key 11m1 and the [M-] key 11m2. The independent tax rate 2 memory area 22g is updated (added, subtracted) based on the data stored in the tax rate 2 total memory area 22c in response 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 the normal memory function. The independent memory area 22h is updated (added or subtracted) with a numerical value obtained by arithmetic calculation or a numerical value obtained by tax calculation in response 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, the independent tax rate 2 memory area 22g, and the independent memory area 22h are non-volatile storage areas in which data is retained even when the [AC] key 11a or the [C] key is operated or the power is turned off.

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

次に、本実施形態における電卓10の動作について説明する。図3、図4及び図5は、本実施形態における電卓10の税計算機能の動作を説明するためのフローチャートである。図6は、本実施形態における電卓10のメモリ機能処理の動作を説明するためのフローチャートである。図7は、本実施形態における電卓10の税計算機能を説明するための入力操作と表示の具体例を示す図である。図8及び図9は、本実施形態における税計算用メモリに記憶される数値の具体例を示す図である。 Next, the operation of the calculator 10 in this embodiment will be described. Figures 3, 4, and 5 are flowcharts for explaining the operation of the tax calculation function of the calculator 10 in this embodiment. Figure 6 is a flowchart for explaining the operation of the memory function processing of the calculator 10 in this embodiment. Figure 7 is a diagram showing specific examples of input operations and displays to explain the tax calculation function of the calculator 10 in this embodiment. Figures 8 and 9 are diagrams showing specific examples of numerical values stored in the tax calculation 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 to clear the display before starting calculation. When the [AC] key 11a is operated (step A1, Yes), the CPU 21 clears all areas of the memory 22 used for tax calculation, namely the tax rate 1 total memory area 22b, the tax rate 2 total memory area 22c, and the tax total memory area 22d (step A2). The CPU 21 also turns off the post-tax total mode stored in the post-tax total mode data 22e (step A3). Figure 6 (A1) shows an example of the display when the [AC] key 11a is operated. Also, when the [AC] key 11a is operated while a numerical value calculated by the previous four arithmetic operations or tax calculation is displayed, the CPU 21 clears the previously displayed numerical value and displays "0".

[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%」が設定されている。 If an input operation to the tax-inclusive 1 calculation key 11b is detected immediately after the input operation of the [AC] key 11a (steps A8, A9, Yes), the CPU 21 refers to the numerical value indicating the tax rate 1 stored in the tax rate storage area 22k and displays the tax rate 1 set to the tax-inclusive 1 calculation key 11b on the display unit 12 (step A10). In this embodiment, the tax rate 1 is initially set to "10%". Similarly, if an input operation to the tax-inclusive 2 calculation key 11c is detected immediately after the input operation of the [AC] key 11a (steps A26, A27, Yes), the CPU 21 refers to the numerical value indicating the tax rate 2 stored in the tax rate storage area 22k and displays the tax rate 2 set to the tax-inclusive 2 calculation key 11c on the display unit 12 (step A28). In this embodiment, the tax rate 2 is initially set to "8%".

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

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

また、CPU21は、入力された演算コードと入力済みの数値コードをもとに演算を実行し、演算途中の結果を表示部12に表示させる。以下、同様にして、数値コードと演算コードの入力が繰り返されることにより、CPU21は、入力された数値コードと演算コードとを順次記憶していく。そして、ユーザ操作により演算実行キー「=」(イコール)キーが操作されると、CPU21は、入力操作された演算実行キー(「=」キー)に応じた演算コードを入力し、それまでに入力された数値コードと演算コード(「=」コード)に応じた計算を実行し、計算結果を表示部12に表示させる(ステップA4~A7)。 The CPU 21 also executes a calculation based on the input operation code and the already input numeric code, and displays the intermediate results on the display unit 12. Similarly, the input of numeric codes and operation codes is repeated, and the CPU 21 sequentially stores the input numeric codes and operation codes. When the user operates the operation execution key "=" (equal) key, the CPU 21 inputs an operation code corresponding to the operation execution key ("=" key) that has been input, executes a calculation corresponding to the numeric code and operation code ("=" code) that have been input, and displays the calculation result on the display unit 12 (steps A4 to A7).

こうして、表示部12に数値が表示された状態において、税計算キー(税込1計算キー11b、税込2計算キー11c、税抜1計算キー11d、税抜2計算キー11e)の入力操作を検出した場合、CPU21は、表示部12に表示された数値に対して、入力操作がされた税計算キーに応じた税率(税率1、税率2)をもとに税計算(税込計算、税抜計算)を実行する。なお、前述した説明では、表示部12に表示された数値は、演算によって入力(表示)されているが、単に数値キーの入力操作により入力された数値を税計算の対象とすることができる。 In this way, when a value is displayed on the display unit 12 and an input operation of a tax calculation key (tax-inclusive 1 calculation key 11b, tax-inclusive 2 calculation key 11c, tax-exclusive 1 calculation key 11d, tax-exclusive 2 calculation key 11e) is detected, the CPU 21 performs a tax calculation (tax-inclusive calculation, tax-exclusive calculation) on the value displayed on the display unit 12 based on the tax rate (tax rate 1, tax rate 2) corresponding to the tax calculation key that was input. Note that in the above explanation, the value displayed on the display unit 12 is input (displayed) by calculation, but a value input by simply inputting the numeric keys can also be used as the subject 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 1 calculation key 11b (step A8, Yes), since the post-tax total mode is off (step A11, Yes), it calculates the tax-inclusive amount and tax amount for the displayed numerical value that is the subject of tax calculation based on tax rate 1 (e.g., "10%) and stores them in the tax rate 1 total memory area 22b together with the tax-exclusive amount indicated by the displayed numerical value (step A12). The CPU 21 also displays the tax-inclusive amount calculated based on tax rate 1 on the display unit 12 (step A13).

同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4~A7)、税込1計算キー11bの入力操作を検出した場合(ステップA8、Yes)、CPU21は、表示部12に表示中の数値について税率1をもとに税計算をして、計算結果(税抜額、税込額、税額)を税率1合計メモリエリア22bに記憶させると共に税込額を表示部12に表示させる(ステップA8~A13)。CPU21は、先の税計算によって税率1合計メモリエリア22bに記憶された税込額、税抜額、税額に対して、それぞれに対応する税込計算の計算結果を合計(加算)する。 Similarly, when a numeric value entered by operating the numeric keys (or a numeric value calculated by an operation) is displayed on the display unit 12 (steps A4 to A7), if an input operation of the tax-inclusive 1 calculation key 11b is detected (step A8, Yes), the CPU 21 performs tax calculation based on tax rate 1 for the numeric value displayed on the display unit 12, stores the calculation results (tax-excluded amount, tax-inclusive amount, tax amount) in the tax rate 1 total memory area 22b, and displays the tax-inclusive amount on the display unit 12 (steps A8 to A13). The CPU 21 totals (adds) the calculation results of the tax-inclusive calculation to the tax-inclusive amount, tax-excluded amount, and tax amount stored in the tax rate 1 total memory area 22b by the previous tax calculation.

一方、数値を表示部12に表示させた状態で(ステップA4~A7)、税抜1計算キー11dの入力操作を検出した場合(図4、ステップA110、Yes)、CPU21は、税合計後モードがオフ状態にあるため(ステップA111、Yes)、税計算の対象とする表示中の数値について、税率1をもとに税抜額及び税額を計算して、表示中の数値が示す税込額と共に税率1合計メモリエリア22bに記憶させる(ステップA112)。また、CPU21は、税率1をもとに計算した税抜額を表示部12に表示させる(ステップA113)。CPU21は、先の税計算によって税率1合計メモリエリア22bに記憶された税込額、税抜額、税額に対して、それぞれに対応する税抜計算の計算結果を合計(加算)する。 On the other hand, when the CPU 21 detects an input operation of the tax-excluded 1 calculation key 11d (FIG. 4, step A110, Yes) while the numerical values are displayed on the display unit 12 (steps A4 to A7), the CPU 21 calculates the tax-excluded amount and tax amount based on tax rate 1 for the displayed numerical values that are the subject of the tax calculation, because the post-tax total mode is off (step A111, Yes), and stores these in the tax rate 1 total memory area 22b together with the tax-inclusive amount indicated by the displayed numerical values (step A112). The CPU 21 also displays the tax-excluded amount calculated based on tax rate 1 on the display unit 12 (step A113). The CPU 21 totals (adds) the calculation results of the tax-excluded amount, tax-excluded amount, and tax amount that correspond to the tax-inclusive amount, tax-excluded amount, and tax amount stored in the tax rate 1 total memory area 22b by the previous tax calculation.

こうして、税込1計算キー11bと税抜1計算キー11dの操作に応じて実行される税計算は、同じ税率1を用いて実行されるので、何れの税計算(税込計算、税抜計算)の結果についても税率1に対応する税率1合計メモリエリア22bに記録される。従って、税込1計算キー11bの操作に応じた税込計算と、税抜1計算キー11dの操作に応じた税抜計算を、どのような順番で実行しても、税率1合計メモリエリア22bには同じ税計算結果が記憶される。すなわち、税率1合計メモリエリア22bには、税込計算と税抜計算を混在して実行しても、税込計算により記憶される税込額、税抜額、税額と、税抜計算により記憶される税込額、税抜額、税額のそれぞれの合計値を含む第1合計値が記憶される。 In this way, the tax calculations performed in response to the operation of the tax-inclusive 1 calculation key 11b and the tax-exclusive 1 calculation key 11d are performed using the same tax rate 1, so the results of either tax calculation (tax-inclusive calculation, tax-exclusive calculation) are recorded in the tax rate 1 total memory area 22b corresponding to tax rate 1. Therefore, regardless of the order in which the tax-inclusive calculation in response to the operation of the tax-inclusive 1 calculation key 11b and the tax-exclusive calculation in response to the operation of the tax-exclusive 1 calculation key 11d are performed, the same tax calculation result is stored in the tax rate 1 total memory area 22b. In other words, even if a mixture of tax-inclusive and tax-exclusive calculations is performed, the tax rate 1 total memory area 22b stores a first total value including the tax-inclusive amount, tax-exclusive amount, and tax amount stored in the tax-inclusive calculation and the total of the tax-inclusive amount, tax-exclusive amount, and tax amount stored in the tax-exclusive calculation.

また、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-inclusive 2 calculation key 11c (step A26, Yes), since the post-tax total mode is off (step A29, Yes), it calculates the tax-inclusive amount and tax amount for the displayed numerical value that is the subject of tax calculation based on tax rate 2 (e.g., "8%) and stores them in the tax rate 2 total memory area 22c together with the tax-exclusive amount indicated by the displayed numerical value (step A30). The CPU 21 also displays the tax-inclusive amount calculated based on tax rate 2 on the display unit 12 (step A31).

同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4~A7)、税込2計算キー11cの入力操作を検出した場合(ステップA26、Yes)、CPU21は、表示部12に表示中の数値について税率2をもとに税計算をして、計算結果(税抜額、税込額、税額)を税率2合計メモリエリア22cに記憶させると共に税込額を表示部12に表示させる(ステップA26~A30)。CPU21は、先の税計算によって税率2合計メモリエリア22cに記憶された税込額、税抜額、税額に対して、それぞれに対応する税込計算の計算結果を合計(加算)する。 Similarly, when a numeric value entered by operating the numeric keys (or a numeric value calculated by an operation) is displayed on the display unit 12 (steps A4 to A7), if an input operation of the tax-inclusive 2 calculation key 11c is detected (step A26, Yes), the CPU 21 performs tax calculation based on the tax rate 2 for the numeric value displayed on the display unit 12, stores the calculation results (tax-excluded amount, tax-inclusive amount, tax amount) in the tax rate 2 total memory area 22c, and displays the tax-inclusive amount on the display unit 12 (steps A26 to A30). The CPU 21 totals (adds) the calculation results of the tax-inclusive calculation to the tax-inclusive amount, tax-excluded amount, and tax amount stored in the tax rate 2 total memory area 22c by the previous tax calculation.

一方、数値を表示部12に表示させた状態で(ステップA4~A7)、税抜2計算キー11eの入力操作を検出した場合(図5、ステップA126、Yes)、CPU21は、税合計後モードがオフ状態にあるため(ステップA129、Yes)、税計算の対象とする表示中の数値について、税率2をもとに税抜額及び税額を計算して、表示中の数値が示す税込額と共に税率2合計メモリエリア22cに記憶させる(ステップA130)。また、CPU21は、税率2をもとに計算した税抜額を表示部12に表示させる(ステップA131)。CPU21は、先の税計算によって税率2合計メモリエリア22cに記憶された税込額、税抜額、税額に対して、それぞれに対応する税抜計算の計算結果を合計(加算)する。 On the other hand, when a numerical value is displayed on the display unit 12 (steps A4 to A7) and an input operation of the tax-excluded 2 calculation key 11e is detected (FIG. 5, step A126, Yes), the CPU 21 calculates the tax-excluded amount and tax amount based on tax rate 2 for the displayed numerical value that is the subject of the tax calculation, because the post-tax total mode is off (step A129, Yes), and stores these in the tax rate 2 total memory area 22c together with the tax-inclusive amount indicated by the displayed numerical value (step A130). The CPU 21 also displays the tax-excluded amount calculated based on tax rate 2 on the display unit 12 (step A131). The CPU 21 totals (adds) the calculation results of the tax-excluded calculation to the tax-inclusive amount, tax-excluded amount, and tax amount that correspond to the amount stored in the tax rate 2 total memory area 22c by the previous tax calculation.

こうして、税込2計算キー11cと税抜2計算キー11eの操作に応じて実行される税計算は、同じ税率2を用いて実行されるので、何れの税計算(税込計算、税抜計算)の結果についても税率2に対応する税率2合計メモリエリア22cに記録される。従って、税込2計算キー11cの操作に応じた税込計算と、税抜2計算キー11eの操作に応じた税抜計算を、どのような順番で実行しても、税率2合計メモリエリア22cには同じ税計算結果が記憶される。すなわち、税込2計算キー11cには、税込計算と税抜計算を混在して実行しても、税込計算により記憶される税込額、税抜額、税額と、税抜計算により記憶される税込額、税抜額、税額のそれぞれの合計値を含む第2合計値が記憶される。 In this way, the tax calculations performed in response to the operation of the tax-inclusive 2 calculation key 11c and the tax-exclusive 2 calculation key 11e are performed using the same tax rate 2, so the results of either tax calculation (tax-inclusive calculation, tax-exclusive calculation) are recorded in the tax rate 2 total memory area 22c corresponding to the tax rate 2. Therefore, regardless of the order in which the tax-inclusive calculation in response to the operation of the tax-inclusive 2 calculation key 11c and the tax-exclusive calculation in response to the operation of the tax-exclusive 2 calculation key 11e are performed, the same tax calculation result is stored in the tax rate 2 total memory area 22c. In other words, even if a mixture of tax-inclusive calculations and tax-exclusive calculations are performed, the tax-inclusive 2 calculation key 11c stores a second total value including the totals of the tax-inclusive amount, tax-exclusive amount, and tax amount stored by the tax-inclusive calculation and the tax-exclusive amount, tax-exclusive amount, and tax amount stored by the tax-exclusive calculation.

また、前述したように、税率1を用いた税計算と税率2を用いた税計算の税計算結果が、それぞれ税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶される。従って、税込1計算キー11bあるいは税抜1計算キー11d操作による税計算と、税込2計算キー11cあるいは税抜2計算キー11eの操作により税計算を、それぞれ個別に実行することなく、複数の税率1,2に基づいた税計算結果を記憶して、後述するように税計算結果を確認することができる。このため、本実施形態における電卓10では、複数の税率に基づいた税計算を混在させて容易に実行することが可能となる。 As described above, the tax calculation results using tax rate 1 and tax rate 2 are stored in tax rate 1 total memory area 22b and tax rate 2 total memory area 22c, respectively. Therefore, it is possible to store tax calculation results based on multiple tax rates 1 and 2 and check the tax calculation results as described below, without having to individually perform tax calculation by operating tax-inclusive 1 calculation key 11b or tax-exclusive 1 calculation key 11d, and tax calculation by operating tax-inclusive 2 calculation key 11c or tax-exclusive 2 calculation key 11e. Therefore, with calculator 10 in this embodiment, it is possible to easily perform a mixture of tax calculations based on multiple tax rates.

以下、複数の税率1,2に基づく税込計算と税抜計算を混在して実行する、具体的な数値の入力と税計算の例について説明する。図7(B1)~(B7)には、複数の数値(税抜額あるいは税込額を示す)が入力され、それぞれに対する税計算の実行が、税込1計算キー11b、税込2計算キー11c、税抜1計算キー11dあるいは税抜2計算キー11eにより指定されたことを示している。図8は、図7(B1)~(B7)に示す税計算によって税計算用メモリ(税率1合計メモリエリア22b、税率2合計メモリエリア22c、税合計メモリエリア22d)に記憶される数値の具体例を示す図である。税計算用メモリの初期状態では、図8(A)に示すように全て数値「0」が記憶される。 Below, we will explain an example of inputting specific values and calculating taxes by mixing tax-inclusive and tax-exclusive calculations based on multiple tax rates 1 and 2. Figures 7 (B1) to (B7) show that multiple values (indicating tax-exclusive or tax-inclusive amounts) are input, and the execution of tax calculation for each is specified by the tax-inclusive 1 calculation key 11b, tax-inclusive 2 calculation key 11c, tax-exclusive 1 calculation key 11d, or tax-exclusive 2 calculation key 11e. Figure 8 shows a specific example of values stored in the tax calculation memory (tax rate 1 total memory area 22b, tax rate 2 total memory area 22c, tax total memory area 22d) by the tax calculations shown in Figures 7 (B1) to (B7). In the initial state of the tax calculation memory, all values "0" are stored as shown in Figure 8 (A).

例えば図7(B1)に示すように、数値「1000」が入力された後、税込1計算キー11bの操作により税率1による税込計算の実行指示が入力作されると、CPU21は、数値「1000」に対する税率1をもとに税込計算により算出した税込額「1100」を表示させる。また、CPU21は、税込1計算キー11bの操作に応じて税率1をもとに算出した税込額を表示していることを表す税計算キーシンボル「税込 税1」を表示させる。CPU21は、図8(B)に示すように、税率1合計メモリエリア22bに税込計算の計算結果として、税込額「1100」、税抜額「1000」、税額「100」を記憶させる。 For example, as shown in FIG. 7 (B1), when a numeric value "1000" is input and then an instruction to execute tax-inclusive calculation at tax rate 1 is input by operating tax-inclusive 1 calculation key 11b, CPU 21 displays tax-inclusive amount "1100" calculated by tax-inclusive calculation based on tax rate 1 for numeric value "1000". CPU 21 also displays tax calculation key symbol "tax inclusive tax 1" indicating that tax-inclusive amount calculated based on tax rate 1 is displayed in response to operation of tax-inclusive 1 calculation key 11b. CPU 21 stores tax-inclusive amount "1100", tax-excluded amount "1000", and tax amount "100" in tax rate 1 total memory area 22b as the calculation results of tax-inclusive calculation, as shown in FIG. 8 (B).

なお、図8(B)において、税合計メモリエリア22dに数値が記憶されていることを示しているが、税合計メモリエリア22dには、後述する税計算合計キー11fの操作により税計算後モードがオン状態となった場合に、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された数値の合計値が記憶される。図7(B)~(H)に示す税合計メモリエリア22dに記憶される数値は、それぞれの状態において税計算合計キー11fが操作された場合に記憶される数値を示している。 In addition, FIG. 8(B) shows that a numerical value is stored in the tax total memory area 22d, but when the post-tax calculation mode is turned on by operating the tax calculation total key 11f described below, the tax total memory area 22d stores the sum of the numerical values stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. The numerical values stored in the tax total memory area 22d shown in FIG. 7(B) to (H) indicate the numerical values stored when the tax calculation total key 11f is operated in each state.

同様にして、図7(B2)示すように、数値「3240」が入力された後、税抜2計算キー11eの操作により税率2による税込計算の実行指示が入力されると、CPU21は、数値「3240」に対する税率2をもとに税抜計算により算出した税抜額「3000」を表示させる。また、CPU21は、税抜2計算キー11eの操作に応じて税率2をもとに算出した税抜額を表示していることを表す税計算キーシンボル「税抜 税2」を表示させる。CPU21は、図8(C)に示すように、税率2合計メモリエリア22cに税抜計算の計算結果として、税込額「3240」、税抜額「3000」、税額「240」を記憶させる。 Similarly, as shown in FIG. 7 (B2), when a numeric value "3240" is input and then an instruction to execute tax-inclusive calculation using tax rate 2 is input by operating tax-excluded 2 calculation key 11e, CPU 21 displays the tax-excluded amount "3000" calculated by tax-excluded calculation based on tax rate 2 for numeric value "3240". CPU 21 also displays the tax calculation key symbol "tax-excluded tax 2", indicating that the tax-excluded amount calculated based on tax rate 2 is displayed in response to operation of tax-excluded 2 calculation key 11e. CPU 21 stores the tax-included amount "3240", the tax-excluded amount "3000", and the tax amount "240" as the calculation results of tax-excluded calculation in tax rate 2 total memory area 22c, as shown in FIG. 8 (C).

同様にして、図7(B3)示すように、数値「220」が入力された後、税抜1計算キー11dの操作により税率1による税抜計算の実行指示が入力されると、CPU21は、数値「220」に対する税率1をもとに税抜計算により算出した税抜額「200」を表示させる。また、CPU21は、税抜1計算キー11dの操作に応じて税率1をもとに算出した税抜額を表示していることを表す税計算キーシンボル「税抜 税1」を表示させる。CPU21は、図8(D)に示すように、税率1合計メモリエリア22bに税抜計算の計算結果として、税込額「240」、税抜額「200」、税額「40」を、先の税計算により記憶された税込額「3240」、税抜額「3000」、税額「240」にそれぞれ加算する。すなわち、CPU21は、税率1合計メモリエリア22bに税率1による税計算の税込合計額、税抜合計額、税額合計額を記憶させる。 Similarly, as shown in FIG. 7 (B3), when a numeric value "220" is input and then an instruction to execute a tax-excluded calculation using tax rate 1 is input by operating the tax-excluded 1 calculation key 11d, the CPU 21 displays the tax-excluded amount "200" calculated by the tax-excluded calculation based on tax rate 1 for the numeric value "220". The CPU 21 also displays the tax calculation key symbol "tax-excluded tax 1", which indicates that the tax-excluded amount calculated based on tax rate 1 is displayed in response to the operation of the tax-excluded 1 calculation key 11d. As shown in FIG. 8 (D), the CPU 21 adds the tax-inclusive amount "240", the tax-excluded amount "200", and the tax amount "40" to the tax-inclusive amount "3240", the tax-excluded amount "3000", and the tax amount "240" stored by the previous tax calculation, respectively, as the calculation results of the tax-excluded calculation in the tax rate 1 total memory area 22b. That is, the CPU 21 stores the total amount including tax, the total amount excluding tax, and the total tax amount calculated using tax rate 1 in the tax rate 1 total memory area 22b.

同様にして、図7(B4)示すように、数値「2000」が入力された後、税込2計算キー11cの操作により税率2による税込計算の実行指示が入力されると、CPU21は、数値「2000」に対する税率2をもとに税込計算により算出した税込額「2160」を表示させる。また、CPU21は、税込2計算キー11cの操作に応じて税率2をもとに算出した税込額を表示していることを表す税計算キーシンボル「税込 税2」を表示させる。CPU21は、図8(E)に示すように、税率2合計メモリエリア22cに税込計算の計算結果として、税込額「2160」、税抜額「2000」、税額「160」を、先の税計算により記憶された税込額「3240」、税抜額「3000」、税額「240」にそれぞれ加算する。すなわち、CPU21は、税率2合計メモリエリア22cに税率2による税計算の税込合計額、税抜合計額、税額合計額を記憶させる。 Similarly, as shown in FIG. 7 (B4), when a numeric value "2000" is input and then an instruction to execute tax-inclusive calculation at tax rate 2 is input by operating tax-inclusive 2 calculation key 11c, CPU 21 displays tax-inclusive amount "2160" calculated by tax-inclusive calculation based on tax rate 2 for numeric value "2000". CPU 21 also displays tax calculation key symbol "tax inclusive tax 2" indicating that tax-inclusive amount calculated based on tax rate 2 is displayed in response to operation of tax-inclusive 2 calculation key 11c. CPU 21 adds tax-inclusive amount "2160", tax-exclusive amount "2000", and tax amount "160" to tax-inclusive amount "3240", tax-exclusive amount "3000", and tax amount "240" stored by the previous tax calculation, respectively, as the calculation results of tax-inclusive calculation in tax rate 2 total memory area 22c, as shown in FIG. 8 (E). That is, the CPU 21 stores the total amount including tax, the total amount excluding tax, and the total tax amount calculated based on tax rate 2 in the tax rate 2 total memory area 22c.

以下、同様にして、図7(B5)~(B7)に示すように、数値「5000」に対して税込1計算キー11bの操作による税率1による税込計算、数値「1650」に対して税抜1計算キー11dの操作による税率1による税抜計算、数値「400」に対して税込2計算キー11cの操作による税率2による税込計算の実行指示が、順次、入力されたものとする。 Similarly, as shown in Figures 7 (B5) to (B7), instructions are sequentially input to perform a tax-inclusive calculation at tax rate 1 for the number "5000" by operating the tax-inclusive 1 calculation key 11b, a tax-exclusive calculation at tax rate 1 for the number "1650" by operating the tax-exclusive 1 calculation key 11d, and a tax-inclusive calculation at tax rate 2 for the number "400" by operating the tax-inclusive 2 calculation key 11c.

CPU21は、前述したように、各税計算キーに応じた税率に基づく、税込計算あるいは税抜計算を実行する。この結果、CPU21は、図7(B5)~(B7)に示すように、税計算結果とする数値(「5000」「1500」「432」)を表示させるとともに、税計算の内容を示す税計算キーシンボル(「税込 税1」「税抜 税1」「税込 税2」)を表示させる。 As described above, the CPU 21 executes a tax-inclusive calculation or tax-exclusive calculation based on the tax rate corresponding to each tax calculation key. As a result, the CPU 21 displays the numerical values ("5000", "1500", "432") that are the tax calculation results, as well as the tax calculation key symbols ("Tax 1 including tax", "Tax 1 excluding tax", "Tax 2 including tax") that indicate the content of the tax calculation, as shown in Figures 7 (B5) to (B7).

また、CPU21は、税計算に用いた税率(税率1あるいは税率2)に応じて、それぞれの税計算結果を税率1合計メモリエリア22bあるいは税率2合計メモリエリア22cに記憶(加算)する。 The CPU 21 also stores (adds) the respective tax calculation results in the tax rate 1 total memory area 22b or the tax rate 2 total memory area 22c depending on the tax rate (tax rate 1 or tax rate 2) used in the tax calculation.

図8(F)~(H)には、図7(B5)~(B7)に示す税計算により、税率1合計メモリエリア22b及び税率2合計メモリエリア22cに記憶される数値(税込合計額、税抜合計額、税合計額)を示している。図8(F)では、数値「5000」に対する税率1に基づく税込計算の結果として税込額「5500」、税抜額「5000」、税額「620」が税率1合計メモリエリア22bに加算されている。図8(G)では、数値「1650」に対する税率1に基づく税抜計算の結果として税込額「1650」、税抜額「1500」、税額「150」が税率1合計メモリエリア22bに加算されている。図8(H)では、数値「400」に対する税率2に基づく税込計算の結果として税込額「432」、税抜額「400」、税額「32」が税率2合計メモリエリア22cに加算されている。 Figures 8 (F) to (H) show the numerical values (tax-inclusive total amount, tax-exclusive total amount, tax total amount) stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c by the tax calculations shown in Figures 7 (B5) to (B7). In Figure 8 (F), the tax-inclusive amount of "5500", the tax-exclusive amount of "5000", and the tax amount of "620" are added to the tax rate 1 total memory area 22b as a result of the tax-inclusive calculation based on tax rate 1 for the numerical value "5000". In Figure 8 (G), the tax-inclusive amount of "1650", the tax-exclusive amount of "1500", and the tax amount of "150" are added to the tax rate 1 total memory area 22b as a result of the tax-exclusive calculation based on tax rate 1 for the numerical value "1650". In FIG. 8 (H), as a result of the tax-inclusive calculation based on tax rate 2 for the number "400", the tax-inclusive amount "432", the tax-exclusive amount "400", and the tax amount "32" are added to the tax rate 2 total memory area 22c.

こうして、本実施形態における電卓10は、入力された数値に対する税計算に用いる税率と、税計算として税込計算と税抜計算の何れを実行するかを、税込1計算キー11b、税込2計算キー11c、税抜1計算キー11d、あるいは税抜2計算キー11eの操作によって任意に指定することができる。従って、例えば適用税率が異なる複数の商品の総合計額を算出する場合に、適用税率が異なる複数の商品について、個々に税率に対応する税計算キーを選択して操作することにより、適用税率に応じた税計算を実行させることができるので税計算のための作業を容易にすることができる。また、税込額あるいは税抜額により価格が設定された複数の商品が混在している場合であっても、税込計算用あるいは税抜計算用の税計算キーを選択して操作するだけで良い。従って、複数の商品について個々に税込計算と税抜計算の何れかを指定して税計算を実行させることができるため、税計算のための作業を容易にすることができる。 In this way, the calculator 10 in this embodiment can arbitrarily specify the tax rate to be used for the tax calculation on the inputted value and whether to perform the tax calculation, tax-inclusive calculation or tax-exclusive calculation, by operating the tax-inclusive calculation 1 key 11b, tax-inclusive calculation 2 key 11c, tax-exclusive calculation 1 key 11d, or tax-exclusive calculation 2 key 11e. Therefore, for example, when calculating the total amount of multiple products with different applicable tax rates, the tax calculation according to the applicable tax rate can be executed by selecting and operating the tax calculation key corresponding to each of the multiple products with different applicable tax rates, so that the work for calculating the tax can be made easier. Even if there are multiple products with prices set according to the amount including or excluding tax, it is only necessary to select and operate the tax calculation key for the tax-inclusive calculation or tax-exclusive calculation. Therefore, the tax calculation can be executed by specifying either the tax-inclusive calculation or the tax-exclusive calculation for each of the multiple products, so that the work for calculating the tax can be made easier.

なお、税計算の結果とする税込額あるいは税抜額が表示されている状態において、税計算の実行を指示するために操作したキーが続けて操作されると、CPU21は、税計算により算出した数値(税込額あるいは税抜額)の表示を税額表示に切り替えて表示させる。 When the tax-inclusive or tax-exclusive amount resulting from the tax calculation is displayed, if the key operated to instruct execution of the tax calculation is subsequently operated, the CPU 21 switches the display of the numerical value calculated by the tax calculation (tax-inclusive or tax-exclusive amount) to the tax amount display.

例えば、税込1計算キー11bの操作に応じて、税率1による税込計算により算出された税込額が表示されている時(ステップA13)、続けて税込1計算キー11bが操作された場合(ステップA14、Yes)、CPU21は、税率1をもとに算出した税額を税率1合計メモリエリア22bから読み出して表示させる(ステップA15)。さらに、続けて税込1計算キー11bが操作された場合(ステップA16,Yes)、CPU21は、税率1をもとに算出された税込額を表示させる(ステップA13)。 For example, when the tax-inclusive amount calculated using tax rate 1 is displayed in response to the operation of tax-inclusive 1 calculation key 11b (step A13), if the tax-inclusive 1 calculation key 11b is subsequently operated (step A14, Yes), the CPU 21 reads out the tax amount calculated based on tax rate 1 from the tax rate 1 total memory area 22b and displays it (step A15). If the tax-inclusive 1 calculation key 11b is subsequently operated (step A16, Yes), the CPU 21 displays the tax-inclusive amount calculated based on tax rate 1 (step A13).

また、税抜1計算キー11dの操作に応じて、税率1による税抜計算により算出された税抜額が表示されている時(ステップA113)、続けて税抜1計算キー11dが操作された場合(ステップA114、Yes)、CPU21は、税率1をもとに算出した税額を税率1合計メモリエリア22bから読み出して表示させる(ステップA115)。さらに、税抜1計算キー11dが操作された場合(ステップA116,Yes)、CPU21は、税率1をもとに算出された税抜額を表示させる(ステップA113)。 When the tax-excluded amount calculated by tax rate 1 calculation is displayed in response to the operation of the tax-excluded 1 calculation key 11d (step A113), if the tax-excluded 1 calculation key 11d is subsequently operated (step A114, Yes), the CPU 21 reads out the tax amount calculated based on tax rate 1 from the tax rate 1 total memory area 22b and displays it (step A115). Furthermore, if the tax-excluded 1 calculation key 11d is operated (step A116, Yes), the CPU 21 displays the tax-excluded amount calculated based on tax rate 1 (step A113).

また、税込2計算キー11cの操作に応じて、税率2による税込計算により算出された税込額が表示されている時(ステップA31)、続けて税込2計算キー11cが操作された場合(ステップA32、Yes)、CPU21は、税率2をもとに算出した税額を税率2合計メモリエリア22cから読み出して表示させる(ステップA33)。さらに、続けて税込2計算キー11cが操作された場合(ステップA34,Yes)、CPU21は、税率2をもとに算出された税込額を表示させる(ステップA31)。 In addition, when the tax-inclusive amount calculated by tax rate 2 calculation is displayed in response to the operation of tax-inclusive 2 calculation key 11c (step A31), if the tax-inclusive 2 calculation key 11c is subsequently operated (step A32, Yes), the CPU 21 reads out the tax amount calculated based on tax rate 2 from the tax rate 2 total memory area 22c and displays it (step A33). Furthermore, if the tax-inclusive 2 calculation key 11c is subsequently operated (step A34, Yes), the CPU 21 displays the tax-inclusive amount calculated based on tax rate 2 (step A31).

同様にして、税抜2計算キー11eの操作に応じて、税率2による税抜計算により算出された税抜額が表示されている時(ステップA131)、続けて税抜2計算キー11eが操作された場合(ステップA132、Yes)、CPU21は、税率2をもとに算出した税額を税率2合計メモリエリア22cから読み出して表示させる(ステップA133)。さらに、税抜2計算キー11eが操作された場合(ステップA134,Yes)、CPU21は、税率2をもとに算出された税抜額を表示させる(ステップA132)。 Similarly, when the tax-excluded amount calculated by tax rate 2 calculation is displayed in response to the operation of the tax-excluded amount 2 key 11e (step A131), if the tax-excluded amount 2 key 11e is subsequently operated (step A132, Yes), the CPU 21 reads out the tax amount calculated based on tax rate 2 from the tax rate 2 total memory area 22c and displays it (step A133). If the tax-excluded amount 2 key 11e is further operated (step A134, Yes), the CPU 21 displays the tax-excluded amount calculated based on tax rate 2 (step A132).

すなわち、電卓10は、税計算キーの操作に応じた税計算により算出した税込額あるいは税抜額を表示した後、税計算の実行指示のために操作された税計算キーに対する操作毎に、税込額あるいは税抜額の表示と、税額の表示とを交互に切り替えて表示させることができる。よって、税込額あるいは税抜額と、税額とを容易に確認することができる。 In other words, the calculator 10 displays the tax-inclusive or tax-exclusive amount calculated by a tax calculation in response to the operation of the tax calculation key, and then can alternate between displaying the tax-inclusive or tax-exclusive amount and the tax amount each time the tax calculation key is operated to instruct the execution of a tax calculation. This makes it easy to check the tax-inclusive or tax-exclusive amount and the tax amount.

次に、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶された数値の総合計を表示させるための処理について説明する。 Next, we will explain the process for displaying the total sum of the numbers stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c.

税込額あるいは税抜額、または税額が表示された状態において、税計算合計キー11fが操作された場合(図5、ステップA44、Yes)、CPU21は、税合計後モードデータ22eが示す税合計後モードをオンする(ステップA55)。また、CPU21は、税率1合計メモリエリア22bに記憶された税率1をもとに算出された税込額の合計(第1税込合計額)と、税率2合計メモリエリア22cに記憶された税率2をもとに算出された税込額の合計(第2税込合計額)とを合計した税込総合計額を算出して、税合計メモリエリア22dに記憶させると共に表示部12に表示させる(ステップA45)。また、CPU21は、税合計後モードがオン状態にあることを示す総合計表示シンボル「合計」を、表示部12の状態表示エリアに表示させる。 When the tax calculation total key 11f is operated while the tax-inclusive amount, tax-exclusive amount, or tax amount is displayed (FIG. 5, step A44, Yes), the CPU 21 turns on the tax-total mode indicated by the tax-total mode data 22e (step A55). The CPU 21 also calculates the total tax-inclusive amount by adding up the total tax-inclusive amount calculated based on tax rate 1 stored in the tax rate 1 total memory area 22b (first tax-inclusive total amount) and the total tax-inclusive amount calculated based on tax rate 2 stored in the tax rate 2 total memory area 22c (second tax-inclusive total amount), stores this in the tax total memory area 22d, and displays it on the display unit 12 (step A45). The CPU 21 also displays the total display symbol "Total" in the status display area of the display unit 12, indicating that the tax-total mode is on.

電卓10は、税込総合計額が表示されている状態において、税計算合計キー11fを続けて操作することで、税込総合計額の表示を、税抜総合計額、税総合計額に順次切り替えて表示させることができる。 When the total amount including tax is displayed on the calculator 10, by successively operating the tax calculation total key 11f, the display of the total amount including tax can be switched in sequence to the total amount excluding tax and then to the total amount including tax.

すなわち、税込総合計額が表示されている時(ステップA45)、税計算合計キー11fが操作された場合(ステップA46、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、税込総合計額に対応する税抜総合計額を算出して税合計メモリエリア22dに記憶させる。また、CPU21は、税合計メモリエリア22dから税抜総合計額を読み出して表示させる(ステップA47)。 That is, when the tax-inclusive total amount is displayed (step A45), if the tax calculation total key 11f is operated (step A46, Yes), the CPU 21 calculates the tax-exclusive total amount corresponding to the tax-inclusive total amount based on the data stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c, and stores this in the tax total memory area 22d. The CPU 21 also reads out the tax-exclusive 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)。 Furthermore, when the tax-excluded total amount is displayed (step A47), if the tax calculation total key 11f is operated (step A48, Yes), the CPU 21 calculates the tax total amount corresponding to the tax-inclusive total amount based on the data stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c, and stores it in the tax total memory area 22d. The CPU 21 also reads out the tax total amount from the tax total memory area 22d and displays it (step A49). Furthermore, if the tax calculation total key 11f is operated (step A50, Yes), the CPU 21 displays the tax-inclusive total amount in the same manner as described above (step A45).

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

さらに、税計算合計キー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 amount including tax. That is, after the post-tax total mode is set to the on state in response to the operation of the tax calculation total key 11f, the calculator 10 can alternate between displaying the total amount including tax, the total amount excluding tax corresponding to the total amount including tax, and the total amount including tax corresponding to the total amount including tax, with each operation of the tax calculation total key 11f. Thus, the total amount including tax, the total amount excluding tax, and the total amount including tax can be easily checked.

図7(C)には、税計算合計キー11fが操作された場合の表示例(税計算総合計表示)を示している。図7(B1)~(B7)に示す複数の数値について税計算がされた後、税計算合計キー11fが操作されると、CPU21は、図7(C1)に示すように、税率1と税率2をそれぞれ適用した税込額の総合計額を示す税込総合計額「14302」を表示させる。なお、図7(C)(D)(E)に示す表示例において、表示部12の状態表示エリアに示すメモリシンボル「税M」は、後述する税計算メモリ機能処理により独立税メモリ(独立税率1メモリエリア22f、独立税率2メモリエリア22g)に数値が記憶(更新)されたことを示すもので、税計算合計キー11fの操作に応じた表示時には表示されない。 Figure 7 (C) shows a display example (tax calculation total display) when the tax calculation total key 11f is operated. After the tax calculation is performed for the multiple values shown in Figures 7 (B1) to (B7), when the tax calculation total key 11f is operated, the CPU 21 displays the tax-inclusive total amount "14302", which indicates the total amount of tax-inclusive amounts to which tax rates 1 and 2 have been applied, as shown in Figure 7 (C1). In addition, in the display examples shown in Figures 7 (C), (D), and (E), the memory symbol "Tax M" shown in the status display area of the display unit 12 indicates that values have been stored (updated) in the independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g) by the tax calculation memory function processing described later, and is not displayed when the display is based on the operation of the tax calculation total key 11f.

ここで、税計算合計キー11fが操作されると、CPU21は、図7(C2)に示すように、税抜総合計額「13100」を表示させる。さらに、税計算合計キー11fが操作されると、CPU21は、図7(C3)に示すように、税総合計額「1202」を表示させる。さらに、税計算合計キー11fが操作されると、CPU21は、図7(C1)に示す表示に戻り、税込総合計額「14302」を表示させる。 When the tax calculation total key 11f is operated, the CPU 21 displays the tax-excluded total amount "13,100" as shown in FIG. 7 (C2). When the tax calculation total key 11f is further operated, the CPU 21 displays the tax-excluded total amount "1202" as shown in FIG. 7 (C3). When the tax calculation total key 11f is further operated, the CPU 21 returns to the display shown in FIG. 7 (C1) and displays the tax-inclusive total amount "14,302".

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

図7(C1)~(C3)に示すように、税込総合計額、税抜総合計額、あるいは税総合計額が表示された状態において、税込1計算キー11bが操作された場合(図3、ステップ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)。 7 (C1) to (C3), when the tax-inclusive total amount, the tax-exclusive total amount, or the tax-exclusive total amount is displayed, if the tax-inclusive 1 calculation key 11b is operated (FIG. 3, step A8, Yes), the CPU 21 reads out the first tax-inclusive total amount, which indicates the sum of the first tax-inclusive amounts corresponding to at least one numerical value, from the tax rate 1 total memory area 22b and displays it on the display unit 12 (step A17) because the post-tax total mode is on (step A11, No). Furthermore, when the tax-inclusive 1 calculation key 11b is operated (step A18, Yes) while the first tax-inclusive total amount is displayed (step A17), the CPU 21 reads out the first tax-exclusive total amount corresponding to the first tax-inclusive total amount from the tax rate 1 total memory area 22b and displays it (step A19). Furthermore, when the tax-inclusive 1 calculation key 11b is operated while the first tax-excluded amount is displayed (step A20, Yes), the CPU 21 reads out the first tax total amount corresponding to the first tax-inclusive total amount from the tax rate 1 total memory area 22b and displays it (step A21). Furthermore, when the tax-inclusive 1 calculation key 11b is operated (step A22, Yes), the CPU 21 reads out the first tax-inclusive 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税合計額を容易に確認することができる。 In other words, after the tax-inclusive total amount has been calculated, the calculator 10 can switch the display between the first tax-inclusive total amount, the first tax-exclusive total amount, and the first tax total amount calculated based on tax rate 1, each time the tax-inclusive calculation key 11b is operated. This allows the first tax-inclusive total amount, the first tax-exclusive total amount, and the first tax total amount to be easily confirmed.

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

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

一方、図7(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)。 7 (C1) to (C3), when the tax-inclusive total amount, the tax-exclusive total amount, or the tax-exclusive total amount is displayed, if the tax-inclusive 2 calculation key 11c is operated (step A26, Yes), the CPU 21 reads out the second tax-inclusive total amount, which indicates the sum of the second tax-inclusive amounts corresponding to at least one numerical value, from the tax rate 2 total memory area 22c and displays it on the display unit 12 (step A35) because the post-tax total mode is on (step A29, No). Furthermore, when the tax-inclusive 2 calculation key 11c is operated (step A36, Yes) while the second tax-inclusive total amount is displayed (step A35), the CPU 21 reads out the second tax-exclusive total amount corresponding to the second tax-inclusive total amount from the tax rate 2 total memory area 22c and displays it (step A37). Furthermore, when the tax-inclusive 2 calculation key 11c is operated while the second tax-excluded amount is displayed (step A38, Yes), the CPU 21 reads out the second tax total amount corresponding to the second tax-inclusive total amount from the tax rate 2 total memory area 22c and displays it (step A39). Furthermore, when the tax-inclusive 2 calculation key 11c is operated (step A40, Yes), the CPU 21 reads out the second tax-inclusive 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税合計額を容易に確認することができる。 In other words, after the tax-inclusive total amount has been calculated, the calculator 10 can switch the display to one of the second tax-inclusive total amount, the second tax-exclusive total amount, or the second tax total amount calculated based on tax rate 2, each time the tax-inclusive calculation key 11c is operated. This allows the second tax-inclusive total amount, the second tax-exclusive total amount, or the second tax total amount to be easily confirmed.

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

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

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

こうして、本実施形態における電卓10では、複数の税率のそれぞれに対応する税込1計算キー11b、税込2計算キー11c、税抜1計算キー11d、及び税抜2計算キー11eを用いた簡単な操作で複数の税率に基づいた税計算をし、税計算の内容を容易に確認することができる。 In this way, the calculator 10 of this embodiment allows users to perform tax calculations based on multiple tax rates with simple operations using the tax-inclusive 1 calculation key 11b, tax-inclusive 2 calculation key 11c, tax-exclusive 1 calculation key 11d, and tax-exclusive 2 calculation key 11e, which correspond to multiple tax rates, and allows users to easily check the details of the tax calculation.

なお、前述した説明では、税込1計算キー11bの操作によって、税率1合計メモリエリア22bに記憶された第1税込合計額、第1税抜合計額、第1税合計額を表示させているが、税込1計算キー11bに代えて税抜1計算キー11dの操作によって表示させる、あるいは税込1計算キー11bと税抜1計算キー11dの何れが操作された場合も同様に表示させるようにしても良い。 In the above explanation, the first tax-inclusive total amount, the first tax-exclusive total amount, and the first tax total amount stored in the tax rate 1 total memory area 22b are displayed by operating the tax-inclusive 1 calculation key 11b. However, the tax-exclusive 1 calculation key 11d may be operated instead of the tax-inclusive 1 calculation key 11b, or the same display may be performed when either the tax-inclusive 1 calculation key 11b or the tax-exclusive 1 calculation key 11d is operated.

同様にして、税込2計算キー11cの操作によって、税率2合計メモリエリア22cに記憶された第2税込合計額、第2税抜合計額、第2税合計額を表示させているが、税込2計算キー11cに代えて税抜2計算キー11eの操作によって表示させる、あるいは税込2計算キー11cと税抜2計算キー11eの何れが操作された場合も同様に表示させるようにしても良い。 Similarly, the second tax-inclusive total amount, the second tax-exclusive total amount, and the second tax total amount stored in the tax rate 2 total memory area 22c are displayed by operating the tax-inclusive 2 calculation key 11c, but they may also be displayed by operating the tax-exclusive 2 calculation key 11e instead of the tax-inclusive 2 calculation key 11c, or they may be displayed when either the tax-inclusive 2 calculation key 11c or the tax-exclusive 2 calculation key 11e is operated.

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

例えば、[AC]キー11aの操作の後に(ステップA1)、例えば[%]キー11gを長押しする操作(例えば予め設定された時間以上、押し続ける操作)がされた場合(ステップA51、A52、Yes)、CPU21は、税率設定処理を起動する(ステップA53)。なお、[%]キー11gが通常操作(予め設定された時間よりも短い操作)である場合(ステップA52、No)、CPU21は、表示された数値に対する%計算を実行する(ステップA54)。 For example, if the [%] key 11g is pressed and held (e.g., pressed for a period of time or longer) (steps A51, A52, Yes) after the [AC] key 11a is operated (step A1), the CPU 21 starts the tax rate setting process (step A53). Note that if the [%] key 11g is pressed normally (shorter than the period of time set in advance) (step A52, No), the CPU 21 executes a percentage calculation for the displayed numeric 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 setting the tax rate. Here, when the tax-inclusive 1 calculation key 11b is operated, the CPU 21 displays the tax rate 1 ("10") set in the tax-inclusive 1 calculation key 11b and the symbol "tax 1" on the display unit 12. Next, when a numerical value (for example, "8") indicating the newly set tax rate 1 is input and the [%] key 11g is operated, the CPU 21 displays the input numerical value ("8") and stores it in the tax rate storage area 22k as the tax rate 1 to be applied to the tax-inclusive 1 calculation key 11b.

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

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

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

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 the post-tax calculation mode is on by referring to the post-tax total mode data 22e. When the post-tax calculation mode is not on (step B1, No), the CPU 21 executes processing according to the operated memory key using 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 as the processing target (step B10). The initial value of the numerical value stored in the independent memory area 22h is set to "0". The CPU 21 displays a memory symbol (e.g., "M") indicating that a numerical value has been stored in the independent memory area 22h in the status display area of the display unit 12 (not shown). Also, when the [M-] key 11m2 is operated (step B11, Yes), the CPU 21 subtracts the numerical value displayed on the display unit 12 from the numerical value to be processed as the processing target from the numerical value stored in the independent memory area 22h (step B12).

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

例えば、税計算後モードがオンされる前に、図7(B1)に示すように、税込計算の結果とする数値「1100」が表示されている時に[M+]キー11m1が操作された場合、CPU21は、数値「1100」を独立メモリエリア22hに記憶させる。同様にして、図7(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. 7 (B1), when the [M+] key 11m1 is operated while the number "1100" that is the result of the tax-inclusive calculation is displayed, the CPU 21 stores the number "1100" in the independent memory area 22h. Similarly, as shown in FIG. 7 (B7), when the [M-] key 11m2 is operated while the number "432" that is the result of the tax-inclusive calculation is displayed, the CPU 21 subtracts the number "432" from the number "1100" and stores the number "668" in the independent memory area 22h. Here, when the [MR] key 11m3 is operated, the CPU 21 displays the number "668" stored in the independent memory area 22h on the display unit 12.

また、CPU21は、[MC]キー11m4が操作された場合(ステップB13、MCキー)、独立メモリエリア22hに記憶された数値をクリア(初期化)する(ステップB15)。 In addition, 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, we will explain the tax calculation memory function.

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

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

すなわち、CPU21は、[M+]キー11m1が操作された場合(ステップB2、Yes)、現在の税率1合計メモリエリア22bに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率1メモリエリア22fに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する。また、CPU21は、税率2合計メモリエリア22cに記憶された数値(税込合計額、税抜合計額、税合計額)を、独立税率2メモリエリア22gに記憶された数値(税込合計額、税抜合計額、税合計額のそれぞれに対応する数値)に加算する(ステップB3)。なお、独立税率1メモリエリア22fと独立税率2メモリエリア22gには、それぞれ税込合計額、税抜合計額、税合計額に対応する数値が記憶され、各数値の初期値が「0」とする。また、CPU21は、表示部12の状態表示エリアに、独立税メモリに記憶された数値を更新したことを示すメモリシンボル「税M」を表示させる。図7(C)(D)(E)には、メモリシンボル「税M」の表示例を示している。 That is, when the [M+] key 11m1 is operated (step B2, Yes), the CPU 21 adds the numerical value (tax-inclusive total amount, tax-exclusive total amount, tax total amount) stored in the current tax rate 1 total memory area 22b to the numerical value (numeric value corresponding to tax-inclusive total amount, tax-exclusive total amount, tax total amount) stored in the independent tax rate 1 memory area 22f. The CPU 21 also adds the numerical value (tax-inclusive total amount, tax-exclusive total amount, tax total amount) stored in the tax rate 2 total memory area 22c to the numerical value (numeric value corresponding to tax-inclusive total amount, tax-exclusive total amount, tax total amount) stored in the independent tax rate 2 memory area 22g (step B3). The independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g store numerical values corresponding to tax-inclusive total amount, tax-exclusive total amount, tax total amount, and tax total amount, respectively, and the initial value of each numerical value is "0". In addition, the CPU 21 displays the memory symbol "Tax M" in the status display area of the display unit 12, indicating that the numerical value stored in the independent tax memory has been updated. Figures 7 (C), (D), and (E) show examples of the display of the memory symbol "Tax M."

また、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 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 tax amount, respectively) from the numerical values stored in the current tax rate 1 total memory area 22b (total amount including tax, total amount excluding tax, and the total tax amount, respectively). The CPU 21 also subtracts 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 tax amount, respectively) from the numerical values stored in the tax rate 2 total memory area 22c (total amount including tax, total amount excluding tax, and the total tax amount, respectively) (step B5).

次に、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 reads out the numerical values (numeric values corresponding to the total amount including tax, the total amount excluding tax, and the total tax amount) stored in the current independent tax rate 1 memory area 22f, and stores them 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 tax amount, respectively. The CPU 21 also reads out the numerical values (numeric values corresponding to the total amount including tax, the total amount excluding tax, and the total tax amount) stored in the current independent tax rate 2 memory area 22g, and stores them in the tax rate 2 total memory area 22c as numerical values indicating the total amount including tax, the total amount excluding tax, and the total tax amount, respectively (step B7).

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

税計算総合計表示の状態において税込1計算キー11bを操作することで、前述したように、税率1合計メモリエリア22bに記憶された数値をもとに、図7(D)と同様にして税率1の合計表示することができる。すなわち、独立税率1メモリエリア22fから読み出された数値を表示させることができる。同様にして、税計算総合計表示の状態において税込2計算キー11cを操作することで、前述したように、税率2合計メモリエリア22cに記憶された数値をもとに、図7(E)と同様にして税率2の合計表示することができる。すなわち、独立税率2メモリエリア22gから読み出された数値を表示させることができる。 By operating the tax-inclusive 1 calculation key 11b when the tax calculation total is displayed, the total for tax rate 1 can be displayed in the same manner as in FIG. 7(D) based on the numerical values stored in the tax rate 1 total memory area 22b, as described above. In other words, the numerical values read from the independent tax rate 1 memory area 22f can be displayed. Similarly, by operating the tax-inclusive 2 calculation key 11c when the tax calculation total is displayed, the total for tax rate 2 can be displayed in the same manner as in FIG. 7(E) based on the numerical values stored in the tax rate 2 total memory area 22c, as described above. In other words, the numerical values 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 values stored in the independent tax rate 1 memory area 22f and the independent tax rate 2 memory area 22g, and erases the memory symbol "Tax M" from the display unit 12 (step B16).

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

なお、前述した税計算メモリ機能では、メモリキーに対する操作に応じて、税計算用メモリの全体(税率1合計メモリエリア22b、税率2合計メモリエリア22c)と、独立税メモリの全体(独立税率1メモリエリア22f、独立税率2メモリエリア22g)を処理対象としているが、メモリキーが操作された時の状況に応じて、税計算用メモリと独立税メモリの一部を処理対象にしても良い。 In addition, in the tax calculation memory function described above, the entire tax calculation memory (tax rate 1 total memory area 22b, tax rate 2 total memory area 22c) and the entire independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g) are processed depending on the operation of the memory key, but it is also possible to process only a part of the tax calculation memory and the independent tax memory depending on the situation when the memory key is operated.

例えば、メモリキーが操作された時、総合計表示中(図7(C))であるか、税率1合計メモリエリア22bに記憶された数値を表示する税率1の合計表示中(図7(D))であるか、税率2合計メモリエリア22cに記憶された数値を表示する税率2の合計表示中(図7(E))であるかに応じて処理対象を変更する。 For example, when the memory key is operated, the processing target is changed depending on whether the grand total is being displayed (Fig. 7(C)), the tax rate 1 total is being displayed, which displays the numerical values stored in the tax rate 1 total memory area 22b (Fig. 7(D)), or the tax rate 2 total is being displayed, which displays the numerical values stored in the tax rate 2 total memory area 22c (Fig. 7(E)).

例えば、総合計表示中(図7(C))である場合には、CPU21は、税計算用メモリの全体(税率1合計メモリエリア22b、税率2合計メモリエリア22c)と、独立税メモリの全体(独立税率1メモリエリア22f、独立税率2メモリエリア22g)を処理対象とする。税率1の合計表示中(図7(D))である場合には、CPU21は、税率1合計メモリエリア22bと、独立税率1メモリエリア22fを処理対象とする。税率2の合計表示中(図7(E))である場合には、CPU21は、税率2合計メモリエリア22cと、独立税率2メモリエリア22gを処理対象とする。 For example, when the grand total is being displayed (Fig. 7(C)), the CPU 21 processes the entire tax calculation memory (tax rate 1 total memory area 22b, tax rate 2 total memory area 22c) and the entire independent tax memory (independent tax rate 1 memory area 22f, independent tax rate 2 memory area 22g). When the tax rate 1 total is being displayed (Fig. 7(D)), the CPU 21 processes the tax rate 1 total memory area 22b and the independent tax rate 1 memory area 22f. When the tax rate 2 total is being displayed (Fig. 7(E)), the CPU 21 processes the tax rate 2 total memory area 22c and the independent tax rate 2 memory area 22g.

このようにして操作されたメモリキーと、メモリキーが操作された時に表示されていた税計算結果(総合計表示、税率1の合計表示、税率2の合計表示)応じて、税計算メモリ機能の処理対象とする税計算結果を変更することにより、税計算結果を使い分けてより有効に利用することができる。 In this way, by changing the tax calculation result to be processed by the tax calculation memory function depending on the memory key operated and the tax calculation result displayed when the memory key was operated (total display, total display of tax rate 1, total display of tax rate 2), the tax calculation results can be used more effectively by using them in different ways.

なお、前述した説明では、2つの税率(税率1、税率2)に基づく税計算を実行する例について説明しているが、3つ以上の税率に基づく税計算を実行する電卓10として実現することも可能である。 In the above explanation, an example of performing tax calculations based on two tax rates (tax rate 1, tax rate 2) is described, but it is also possible to realize a calculator 10 that performs tax calculations based on three or more tax rates.

なお、前述した説明では、税込1計算キー11bと税抜1計算キー11dの操作に応じた税率1に基づく税計算の結果を税率1合計メモリエリア22bに合計値として記憶し、税込2計算キー11cと税抜2計算キー11eの操作に応じた税率2に基づく税計算の結果を税率2合計メモリエリア22cに合計値として別個に記憶しているが、さらに税込計算の結果と税抜計算の結果のそれぞれの合計値を別個に記憶するようにしても良い。 In the above explanation, the result of the tax calculation based on tax rate 1 in response to the operation of tax-inclusive 1 calculation key 11b and tax-exclusive 1 calculation key 11d is stored as a total value in tax rate 1 total memory area 22b, and the result of the tax calculation based on tax rate 2 in response to the operation of tax-inclusive 2 calculation key 11c and tax-exclusive 2 calculation key 11e is stored separately as a total value in tax rate 2 total memory area 22c, but it is also possible to store the total values of the tax-inclusive calculation result and the tax-exclusive calculation result separately.

図9は、本実施形態における税計算用メモリに記憶される数値の具体例を示す図である。図9に示す税計算メモリは、税率1合計メモリエリア22bに税込計算用の税率1合計メモリエリア22b1と税抜計算用の税率1合計メモリエリア22b2を設け、税率2合計メモリエリア22cに税込計算用の税率2合計メモリエリア22c1と税抜計算用の税率2合計メモリエリア22c2を設けている。 Figure 9 is a diagram showing a specific example of numerical values stored in the tax calculation memory in this embodiment. The tax calculation memory shown in Figure 9 has a tax rate 1 total memory area 22b1 for tax-inclusive calculation and a tax rate 1 total memory area 22b2 for tax-exclusive calculation in the tax rate 1 total memory area 22b, and a tax rate 2 total memory area 22c1 for tax-inclusive calculation and a tax rate 2 total memory area 22c2 for tax-exclusive calculation in the tax rate 2 total memory area 22c.

この場合、CPU21は、税込1計算キー11bの操作に応じて税率1に基づく税込計算を実行した場合には、税計算結果を税込計算用の税率1合計メモリエリア22b1に記憶(加算)させる。すなわち、税率1合計メモリエリア22b1に税率1による税込計算結果の合計値を記憶させる。同様にして、CPU21は、税抜1計算キー11dの操作に応じて税率1に基づく税抜計算を実行した場合には、税計算結果を税抜計算用の税率2合計メモリエリア22c1に記憶(加算)させる。すなわち、税率2合計メモリエリア22c1に税率1による税抜計算結果の合計値を記憶させる。 In this case, when the CPU 21 executes tax-inclusive calculation based on tax rate 1 in response to the operation of the tax-inclusive 1 calculation key 11b, the CPU 21 stores (adds) the tax calculation result in the tax rate 1 total memory area 22b1 for tax-inclusive calculation. That is, the total value of the tax-inclusive calculation results based on tax rate 1 is stored in the tax rate 1 total memory area 22b1. Similarly, when the CPU 21 executes tax-exclusive calculation based on tax rate 1 in response to the operation of the tax-exclusive 1 calculation key 11d, the CPU 21 stores (adds) the tax calculation result in the tax rate 2 total memory area 22c1 for tax-exclusive calculation. That is, the total value of the tax-exclusive calculation results based on tax rate 1 is stored in the tax rate 2 total memory area 22c1.

同様にして、CPU21は、税込2計算キー11cの操作に応じた税込計算結果を税率2合計メモリエリア22c1に記憶させ、税抜2計算キー11eの操作に応じた税込計算結果を税率2合計メモリエリア22c2に記憶させる。 In the same manner, the CPU 21 stores the tax-inclusive calculation result in response to the operation of the tax-inclusive 2 calculation key 11c in the tax rate 2 total memory area 22c1, and stores the tax-inclusive calculation result in response to the operation of the tax-exclusive 2 calculation key 11e in the tax rate 2 total memory area 22c2.

こうして、税率別だけでなく、税込計算と税抜計算のそれぞれについても別個に税計算結果を記憶しておくことで、前述した図7(D)と同様にして、税率1による税込計算の計算結果(税込額、税抜額、税額)を、例えば税込1計算キー11bの操作によって表示させ、税率1による税抜計算の計算結果(税込額、税抜額、税額)を、例えば税抜1計算キー11dの操作によって表示させることができる。また、前述した図7(E)と同様にして、税率2による税込計算の計算結果(税込額、税抜額、税額)を、例えば税込2計算キー11cの操作によって表示させ、税率2による税抜計算の計算結果(税込額、税抜額、税額)を、例えば税抜2計算キー11eの操作によって表示させることができる。 In this way, by storing the tax calculation results not only by tax rate but also separately for tax-inclusive and tax-exclusive calculations, the calculation results of tax-inclusive calculations using tax rate 1 (tax inclusive amount, tax exclusive amount, tax amount) can be displayed, for example, by operating tax-inclusive 1 calculation key 11b, as in the case of FIG. 7(D) described above, and the calculation results of tax-exclusive calculations using tax rate 1 (tax inclusive amount, tax exclusive amount, tax amount) can be displayed, for example, by operating tax-exclusive 1 calculation key 11d. Also, as in the case of FIG. 7(E) described above, the calculation results of tax-inclusive calculations using tax rate 2 (tax inclusive amount, tax exclusive amount, tax amount) can be displayed, for example, by operating tax-inclusive 2 calculation key 11c, and the calculation results of tax-exclusive calculations using tax rate 2 (tax inclusive amount, tax exclusive amount, tax amount) can be displayed, for example, by operating tax-exclusive 2 calculation key 11e.

なお、税率1による税計算の合計値は、税率1合計メモリエリア22b1と税率1合計メモリエリア22b2に記憶された数値を、税込額、税抜額、税額のそれぞれについて合計することで求められる。同様にして、税率2による税計算の合計値は、税率2合計メモリエリア22c1と税率2合計メモリエリア22c2に記憶された数値を、税込額、税抜額、税額のそれぞれについて合計することで求められる。さらに、税合計メモリエリア22dに記憶される総合計値については、税込1計算キー11b1,11b2と税率2合計メモリエリア22c1,22c2の値を、税込額、税抜額、税額のそれぞれについて合計することで求められる。 The total value of the tax calculation using tax rate 1 is found by adding up the values stored in tax rate 1 total memory area 22b1 and tax rate 1 total memory area 22b2 for the tax-inclusive amount, tax-exclusive amount, and tax amount, respectively. Similarly, the total value of the tax calculation using tax rate 2 is found by adding up the values stored in tax rate 2 total memory area 22c1 and tax rate 2 total memory area 22c2 for the tax-inclusive amount, tax-exclusive amount, and tax amount, respectively. Furthermore, the grand total value stored in tax total memory area 22d is found by adding up the values of tax-inclusive 1 calculation keys 11b1, 11b2 and tax rate 2 total memory areas 22c1, 22c2 for the tax-inclusive amount, tax-exclusive amount, and tax amount, respectively.

このようにして、税込計算と税抜計算の計算結果を別個に記憶させることで、税計算で用いた税率別に、それぞれ税込計算の計算結果(合計値)と税抜計算の計算結果(合計値)を容易に確認することができる。 In this way, by storing the results of calculations including tax and calculations excluding tax separately, the calculation results (total value) including tax and calculation results (total value) excluding tax can be easily checked for each tax rate used in the tax calculation.

上記実施形態では、税合計後モードがオン状態のとき、税抜1計算キー11d及び税抜2計算キー11eを操作しても何も処理しない、即ち、NOPとしたが、何らかの処理を行ってよい。 In the above embodiment, when the post-tax total mode is on, operating the tax-excluded calculation 1 key 11d and tax-excluded calculation 2 key 11e does not process anything, i.e., it results in NOP, but any processing may be performed.

具体的には、税抜1計算キー11dが操作された場合、CPU21は、税合計後モードがオン状態にあると判別したら、少なくとも1つの数値に対応する第1税込額の合計を示す第1税込合計額を税率1合計メモリエリア22bから読み出して表示部12に表示させてよい。さらに、第1税込合計額が表示されている状態において、税抜1計算キー11dが操作された場合、CPU21は、税率1合計メモリエリア22bから第1税込合計額に対応する第1税抜合計額を読み出して表示させてよい。さらに、第1税抜額が表示された状態において、税抜1計算キー11dが操作された場合、CPU21は、税率1合計メモリエリア22bから第1税込合計額に対応する第1税合計額を読み出して表示させてよい。さらに、税抜1計算キー11dが操作された場合、CPU21は、税率1合計メモリエリア22bから第1税込合計額を読み出して表示させてよい。 Specifically, when the tax-excluded 1 calculation key 11d is operated, the CPU 21, upon determining that the post-tax total mode is on, may read out the first tax-inclusive total amount indicating the sum of the first tax-inclusive amounts corresponding to at least one numerical value from the tax rate 1 total memory area 22b and display it on the display unit 12. Furthermore, when the tax-excluded 1 calculation key 11d is operated in a state in which the first tax-inclusive total amount is displayed, the CPU 21 may read out the first tax-excluded total amount corresponding to the first tax-inclusive total amount from the tax rate 1 total memory area 22b and display it. Furthermore, when the tax-excluded 1 calculation key 11d is operated in a state in which the first tax-excluded amount is displayed, the CPU 21 may read out the first tax-inclusive total amount corresponding to the first tax-inclusive total amount from the tax rate 1 total memory area 22b and display it. Furthermore, when the tax-excluded 1 calculation key 11d is operated, the CPU 21 may read out the first tax-inclusive total amount from the tax rate 1 total memory area 22b and display it.

すなわち、電卓10は、税込総合計額が算出された後では、税抜1計算キー11dに対する操作毎に、税率1をもとに算出された第1税込合計額、第1税抜合計額、第1税合計額の何れかの表示に切り替えてよい。これにより、第1税込合計額、第1税抜合計額、第1税合計額を容易に確認することができる。 In other words, after the tax-inclusive total amount has been calculated, the calculator 10 may switch the display to the first tax-inclusive total amount, the first tax-exclusive total amount, or the first tax total amount calculated based on tax rate 1, each time the tax-exclusive 1 calculation key 11d is operated. This allows the first tax-inclusive total amount, the first tax-exclusive total amount, or the first tax total amount to be easily confirmed.

一方、税抜2計算キー11eが操作された場合、CPU21は、税合計後モードがオン状態にあると判別したら、少なくとも1つの数値に対応する第2税込額の合計を示す第2税込合計額を税率2合計メモリエリア22cから読み出して表示部12に表示させてよい。さらに、第2税込合計額が表示されている状態において、税抜2計算キー11eが操作された場合、CPU21は、税率2合計メモリエリア22cから第2税込合計額に対応する第2税抜合計額を読み出して表示させてよい。さらに、第2税抜額が表示された状態において、税抜2計算キー11eが操作された場合、CPU21は、税率2合計メモリエリア22cから第2税込合計額に対応する第2税合計額を読み出して表示させてよい。さらに、税抜2計算キー11eが操作された場合、CPU21は、税率2合計メモリエリア22cから第2税込合計額を読み出して表示させてよい。 On the other hand, when the tax-excluded 2 calculation key 11e is operated, the CPU 21, upon determining that the post-tax total mode is on, may read out the second tax-inclusive total amount, which indicates the sum of the second tax-inclusive amounts corresponding to at least one numerical value, from the tax rate 2 total memory area 22c and display it on the display unit 12. Furthermore, when the tax-excluded 2 calculation key 11e is operated in a state in which the second tax-inclusive total amount is displayed, the CPU 21 may read out the second tax-excluded total amount corresponding to the second tax-inclusive total amount from the tax rate 2 total memory area 22c and display it. Furthermore, when the tax-excluded 2 calculation key 11e is operated in a state in which the second tax-excluded amount is displayed, the CPU 21 may read out the second tax-inclusive total amount corresponding to the second tax-inclusive total amount from the tax rate 2 total memory area 22c and display it. Furthermore, when the tax-excluded 2 calculation key 11e is operated, the CPU 21 may read out the second tax-inclusive total amount from the tax rate 2 total memory area 22c and display it.

すなわち、電卓10は、税込総合計額が算出された後では、税抜2計算キー11eに対する操作毎に、税率2をもとに算出された第2税込合計額、第2税抜合計額、第2税合計額の何れかの表示に切り替えてよい。これにより、第2税込合計額、第2税抜合計額、第2税合計額を容易に確認することができる。 In other words, after the tax-inclusive total amount has been calculated, the calculator 10 may switch the display to the second tax-inclusive total amount, the second tax-exclusive total amount, or the second tax total amount calculated based on tax rate 2, each time the tax-exclusive 2 calculation key 11e is operated. This allows the second tax-inclusive total amount, the second tax-exclusive total amount, or the second tax total amount to be easily confirmed.

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

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

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

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

[1]税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果に係わる数値を、税込計算結果として取得して、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果に係わる数値を、税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果及び前記税抜計算結果の合計である税計算合計値を、表示部に表示させる、制御部を有する計算機。
[1] In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a numerical value related to the result of the tax-inclusive calculation is acquired as a tax-inclusive calculation result,
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a numerical value related to the result of the tax-excluded calculation is acquired as a tax-excluded calculation result,
A calculator having a control unit that, in response to an input of an instruction to display a tax calculation total, causes a display unit to display a tax calculation total value, which is the sum of the tax-inclusive calculation result and the tax-exclusive calculation result.

[2]前記制御部は、
前記税込計算の処理において、税込額、税抜額及び税額を、前記税込計算結果として取得して、
前記税抜計算の処理において、税込額、税抜額及び税額を、前記税抜計算結果として取得して、
前記税計算合計値を前記表示部に表示中に、
前記税込計算及び前記税抜計算の何れかである税計算の結果に係わる数値表示の実行指示の入力に応じて、前記税計算の結果に係わる数値としての税込額、税抜額及び税額の何れかを、選択的に、前記表示部に表示させる、[1]記載の計算機。
[2] The control unit is
In the process of the tax-inclusive calculation, the tax-inclusive amount, the tax-exclusive amount, and the tax amount are obtained as the tax-inclusive calculation results,
In the processing of the tax-excluded calculation, the tax-excluded amount, the tax-excluded amount, and the tax amount are obtained as the tax-excluded calculation results,
While the tax calculation total value is being displayed on the display unit,
A calculator as described in [1], which selectively displays on the display unit either the amount including tax, the amount excluding tax, or the tax amount as a numerical value related to the result of the tax calculation, in response to an input of an instruction to execute a numerical display related to the result of the tax calculation, which is either the tax-inclusive calculation or the tax-exclusive calculation.

[3]前記制御部は、
前記税込計算の処理において、取得した前記税込計算結果を、税合計メモリに記憶されている数値に加算した結果の数値を、当該税合計メモリへ記憶させ、
前記税抜計算の処理において、取得した前記税抜計算結果を、前記税合計メモリに記憶されている数値に加算した結果の数値を、当該税合計メモリへ記憶させ、
前記税計算合計表示の処理において、前記税合計メモリに記憶されている数値を読み出して、前記税計算合計値として、前記表示部に表示させる、[1]又は[2]記載の計算機。
[3] The control unit is
In the process of the tax-inclusive calculation, the obtained tax-inclusive calculation result is added to a value stored in a tax total memory, and the resulting value is stored in the tax total memory;
In the processing of the tax-excluded calculation, the obtained tax-excluded calculation result is added to a numerical value stored in the tax total memory, and the resulting numerical value is stored in the tax total memory;
3. The computer according to claim 1, wherein in the process of displaying the tax calculation total, a numerical value stored in the tax total memory is read out and displayed on the display unit as the tax calculation total value.

[4]前記制御部は、
前記税計算合計値を前記表示部に表示中に、
第1独立メモリへの加算の実行指示の入力に応じて、前記税合計メモリに記憶されている数値を、前記第1独立メモリに記憶されている数値に加算した結果の数値を、当該第1独立メモリへ記憶させ、
前記第1独立メモリからの減算の実行指示の入力に応じて、前記税合計メモリに記憶されている数値を、前記第1独立メモリに記憶されている数値から減算した結果の数値を、当該第1独立メモリへ記憶させ、
前記第1独立メモリに記憶されている数値複製の実行指示の入力に応じて、当該第1独立メモリに記憶されている数値を複製して、前記税合計メモリに記憶させる、[3]記載の計算機。
[4] The control unit:
While the tax calculation total value is being displayed on the display unit,
In response to an instruction to execute addition in a first independent memory, adding the numerical value stored in the tax total memory to the numerical value stored in the first independent memory, and storing the resulting numerical value in the first independent memory;
In response to an input of an instruction to execute subtraction from the first independent memory, the numerical value stored in the tax total memory is subtracted from the numerical value stored in the first independent memory, and the resulting numerical value is stored in the first independent memory;
A calculator as described in [3], which, in response to an input of an instruction to execute a numerical value duplication stored in the first independent memory, duplicates the numerical value stored in the first independent memory and stores it in the tax total memory.

[5]第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税率による前記第1税込計算を実行し、前記第1税率による前記第1税込計算の結果に係わる数値を、第1税込計算結果として取得して、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税率による前記第1税抜計算を実行し、前記第1税率による前記第1税抜計算の結果に係わる数値を、第1税抜計算結果として取得して、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税率による前記第2税込計算を実行し、前記第2税率による前記第2税込計算の結果に係わる数値を、第2税込計算結果として取得して、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税率による前記第2税抜計算を実行し、前記第2税率による前記第2税抜計算の結果に係わる数値を、第2税抜計算結果として取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算結果、前記第1税抜計算結果、前記第2税込計算結果、及び、前記第2税抜計算結果の合計を、前記税計算合計値として、前記表示部に表示させる、[1]記載の計算機。
[5] In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, execute the first tax-inclusive calculation using the first tax rate using a numerical value as an amount excluding tax, and obtain a numerical value related to the result of the first tax-inclusive calculation using the first tax rate as a first tax-inclusive calculation result;
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using the first tax rate using a numerical value as an amount including tax, and a numerical value related to the result of the first tax-excluded calculation using the first tax rate is acquired as a first tax-excluded calculation result,
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using the second tax rate using a numerical value as an amount excluding tax, and a numerical value related to the result of the second tax-inclusive calculation using the second tax rate is acquired as a second tax-inclusive calculation result,
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using the second tax rate using a numerical value as an amount including tax, and a numerical value related to the result of the second tax-excluded calculation using the second tax rate is acquired as a second tax-excluded calculation result,
A calculator as described in [1], which displays on the display unit the sum of the first tax-inclusive calculation result, the first tax-exclusive calculation result, the second tax-inclusive calculation result, and the second tax-exclusive calculation result as the tax calculation total value in response to input of an instruction to execute the tax calculation total display.

[6]前記制御部は、
前記第1税込計算の処理において、税込額、税抜額及び税額を、前記第1税込計算結果として取得して、
前記第1税抜計算の処理において、税込額、税抜額及び税額を、前記第1税抜計算結果として取得して、
前記第2税込計算の処理において、税込額、税抜額及び税額を、前記第2税込計算結果として取得して、
前記第2税抜計算の処理において、税込額、税抜額及び税額を、前記第2税抜計算結果として取得して、
前記税計算合計値を前記表示部に表示中に、
前記第1税込計算及び前記第1税抜計算の何れかである第1税計算の結果に係わる数値表示の実行指示、及び、前記第2税込計算及び前記第2税抜計算の何れかである第2税計算の結果に係わる数値表示の実行指示の何れかの実行指示の入力に応じて、前記第1税計算及び前記第2税計算のうちの前記何れかの実行指示に応じた何れかの税計算の結果に係わる数値としての税込額、税抜額及び税額の何れかを、選択的に、前記表示部に表示させる、[5]記載の計算機。
[6] The control unit is
In the process of the first tax-inclusive calculation, a tax-inclusive amount, a tax-exclusive amount, and a tax amount are obtained as the first tax-inclusive calculation result,
In the processing of the first tax-excluded calculation, a tax-inclusive amount, a tax-excluded amount, and a tax amount are obtained as the first tax-excluded calculation result,
In the process of the second tax-inclusive calculation, a tax-inclusive amount, a tax-exclusive amount, and a tax amount are obtained as the second tax-inclusive calculation result,
In the process of the second tax-excluded calculation, the tax-inclusive amount, the tax-excluded amount, and the tax amount are obtained as the second tax-excluded calculation result,
While the tax calculation total value is being displayed on the display unit,
A calculator as described in [5], which selectively displays on the display unit, in response to input of an instruction to execute a numerical display relating to the result of a first tax calculation, which is either the first tax-inclusive calculation or the first tax-exclusive calculation, and an instruction to execute a numerical display relating to the result of a second tax calculation, which is either the second tax-inclusive calculation or the second tax-exclusive calculation, any of the amount including tax, the amount excluding tax, and the tax amount as a numerical value relating to the result of either the first tax calculation or the second tax calculation in response to the execution instruction of either of them.

[7]前記制御部は、
前記第1税込計算の処理において、取得した前記第1税込計算結果を、第1税合計メモリに記憶されている数値に加算した結果の数値を、当該第1税合計メモリへ記憶させ、
前記第1税抜計算の処理において、取得した前記第1税抜計算結果を、前記第1税合計メモリに記憶されている数値に加算した結果の数値を、当該第1税合計メモリへ記憶させ、
前記第2税込計算の処理において、取得した前記第2税込計算結果を、第2税合計メモリに記憶されている数値に加算した結果の数値を、当該第2税合計メモリへ記憶させ、
前記第2税抜計算の処理において、取得した前記第2税抜計算結果を、前記第2税合計メモリに記憶されている数値に加算した結果の数値を、当該第2税合計メモリへ記憶させ、
前記税計算合計値を前記表示部に表示中に、
前記何れかの実行指示の入力に応じて、前記何れかの税計算の結果に係わる数値としての税込額、税抜額及び税額の何れかを、前記第1税合計メモリ及び前記第2税合計メモリのうちの前記何れかの実行指示に応じた何れかの税合計メモリより読み出して、選択的に、前記表示部に表示させる、[6]記載の計算機。
[7] The control unit is
In the process of the first tax-inclusive calculation, the acquired first tax-inclusive calculation result is added to a numerical value stored in a first tax total memory, and the resulting numerical value is stored in the first tax total memory;
In the first tax-excluded calculation process, the first tax-excluded calculation result is added to the value stored in the first tax total memory, and the resulting value is stored in the first tax total memory;
In the process of the second tax-inclusive calculation, the second tax-inclusive calculation result is added to a value stored in a second tax total memory, and the resulting value is stored in the second tax total memory;
In the process of the second tax-excluded calculation, the second tax-excluded calculation result is added to the value stored in the second tax total memory, and the resulting value is stored in the second tax total memory;
While the tax calculation total value is being displayed on the display unit,
A calculator as described in [6], which, in response to input of any of the execution instructions, reads out from either the first tax total memory or the second tax total memory corresponding to the execution instruction, the amount including tax, the amount excluding tax, or the tax amount as a numerical value related to the result of any of the tax calculations, and selectively displays it on the display unit.

[8]前記制御部は、
前記第1税込計算の処理において、取得した前記第1税込計算結果を、第1税合計メモリに記憶されている数値に加算した結果の数値を、当該第1税合計メモリへ記憶させ、
前記第1税抜計算の処理において、取得した前記第1税抜計算結果を、前記第1税合計メモリに記憶されている数値に加算した結果の数値を、当該第1税合計メモリへ記憶させ、
前記第2税込計算の処理において、取得した前記第2税込計算結果を、第2税合計メモリに記憶されている数値に加算した結果の数値を、当該第2税合計メモリへ記憶させ、
前記第2税抜計算の処理において、取得した前記第2税抜計算結果を、前記第2税合計メモリに記憶されている数値に加算した結果の数値を、当該第2税合計メモリへ記憶させ、
前記税計算合計表示の処理において、前記第1税合計メモリに記憶されている数値と前記第2税合計メモリに記憶されている数値との合計値を、前記税計算合計値として、前記表示部に表示させる、[5]又は[6]記載の計算機。
[8] The control unit is
In the process of the first tax-inclusive calculation, the acquired first tax-inclusive calculation result is added to a numerical value stored in a first tax total memory, and the resulting numerical value is stored in the first tax total memory;
In the first tax-excluded calculation process, the first tax-excluded calculation result is added to the value stored in the first tax total memory, and the resulting value is stored in the first tax total memory;
In the process of the second tax-inclusive calculation, the second tax-inclusive calculation result is added to a value stored in a second tax total memory, and the resulting value is stored in the second tax total memory;
In the process of the second tax-excluded calculation, the second tax-excluded calculation result is added to the value stored in the second tax total memory, and the resulting value is stored in the second tax total memory;
A calculator as described in [5] or [6], in which, in the process of displaying the tax calculation total, the sum of the numerical value stored in the first tax total memory and the numerical value stored in the second tax total memory is displayed on the display unit as the tax calculation total value.

[9]前記制御部は、
前記税計算合計値を前記表示部に表示中に、
独立メモリへの加算の実行指示の入力に応じて、
前記第1税合計メモリに記憶されている数値を、第1独立メモリに記憶されている数値に加算した結果の数値を、当該第1独立メモリへ記憶させ、かつ、前記第2税合計メモリに記憶されている数値を、第2独立メモリに記憶されている数値に加算した結果の数値を、当該第2独立メモリへ記憶させ、
独立メモリからの減算の実行指示の入力に応じて、
前記第1税合計メモリに記憶されている数値を、第1独立メモリに記憶されている数値から減算した結果の数値を、当該第1独立メモリへ記憶させ、かつ、前記第2税合計メモリに記憶されている数値を、第2独立メモリに記憶されている数値から減算した結果の数値を、当該第2独立メモリへ記憶させ、
独立メモリに記憶されている数値複製の実行指示の入力に応じて、
前記第1独立メモリに記憶されている数値を複製して、前記第1税合計メモリに記憶させ、かつ、前記第2独立メモリに記憶されている数値を複製して、前記第2税合計メモリに記憶させる、[8]記載の計算機。
[9] The control unit is
While the tax calculation total value is being displayed on the display unit,
In response to input of an instruction to execute addition to the independent memory,
adding the numerical value stored in the first tax total memory to the numerical value stored in the first independent memory, storing the resulting numerical value in the first independent memory, and adding the numerical value stored in the second tax total memory to the numerical value stored in the second independent memory, storing the resulting numerical value in the second independent memory;
In response to input of an instruction to perform subtraction from the independent memory,
subtracting the numerical value stored in the first tax total memory from the numerical value stored in the first independent memory, and storing the resulting numerical value in the first independent memory; and subtracting the numerical value stored in the second tax total memory from the numerical value stored in the second independent memory, and storing the resulting numerical value in the second independent memory;
In response to input of execution instructions for numerical duplication stored in an independent memory,
A calculator as described in [8], which copies the numerical values stored in the first independent memory and stores them in the first tax total memory, and copies the numerical values stored in the second independent memory and stores them in the second tax total memory.

[10]税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、税込計算に係る税額を取得して、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、税抜計算に係る税額を取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算に係る税額及び前記税抜計算に係る税額の合計である税合計値を、表示部に表示させる、制御部を有する計算機。
[10] In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the amount excluding tax, and the tax amount related to the tax-inclusive calculation is obtained;
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a tax amount related to the tax-excluded calculation is obtained.
A computer having a control unit that, in response to an input of an instruction to display a tax calculation total, causes a display unit to display a total tax value, which is the sum of the tax amount related to the tax-inclusive calculation and the tax amount related to the tax-exclusive calculation.

[11]第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税込計算を実行し、前記第1税込計算に係る税額を取得して、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税抜計算を実行し、前記第1税抜計算に係る税額を取得して、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税込計算を実行し、前記第2税込計算に係る税額を取得して、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税抜計算を実行し、前記第2税抜計算に係る税額を取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算に係る税額、前記第1税抜計算に係る税額、前記第2税込計算に係る税額、及び、前記第2税抜計算に係る税額の合計を、前記税合計値として、前記表示部に表示させる、[10]記載の計算機。
[11] In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, execute the first tax-inclusive calculation using a numerical value as an amount excluding tax, and obtain a tax amount related to the first tax-inclusive calculation,
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the first tax-excluded calculation is obtained;
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a tax amount related to the second tax-inclusive calculation is obtained.
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the second tax-excluded calculation is obtained;
A calculator as described in [10], which, in response to input of an instruction to execute the tax calculation total display, displays on the display unit the sum of the tax amount relating to the first tax-inclusive calculation, the tax amount relating to the first tax-exclusive calculation, the tax amount relating to the second tax-inclusive calculation, and the tax amount relating to the second tax-exclusive calculation as the total tax value.

[12]計算機の制御部によって実行される計算方法であって、
税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果に係わる数値を、税込計算結果として取得して、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果に係わる数値を、税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果及び前記税抜計算結果の合計である税計算合計値を、表示部に表示させる、計算方法。
[12] A calculation method executed by a control unit of a computer, comprising:
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the amount excluding tax, and the numerical value related to the result of the tax-inclusive calculation is acquired as a tax-inclusive calculation result,
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a numerical value related to the result of the tax-excluded calculation is acquired as a tax-excluded calculation result,
A calculation method, comprising: displaying, on a display unit, a tax calculation total value, which is the sum of the tax-inclusive calculation result and the tax-exclusive calculation result, in response to an input of an instruction to display a tax calculation total.

[13]第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税率による前記第1税込計算を実行し、前記第1税率による前記第1税込計算の結果に係わる数値を、第1税込計算結果として取得して、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税率による前記第1税抜計算を実行し、前記第1税率による前記第1税抜計算の結果に係わる数値を、第1税抜計算結果として取得して、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税率による前記第2税込計算を実行し、前記第2税率による前記第2税込計算の結果に係わる数値を、第2税込計算結果として取得して、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税率による前記第2税抜計算を実行し、前記第2税率による前記第2税抜計算の結果に係わる数値を、第2税抜計算結果として取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算結果、前記第1税抜計算結果、前記第2税込計算結果、及び、前記第2税抜計算結果の合計を、前記税計算合計値として、前記表示部に表示させる、
ことをさらに含む、[12]記載の前記計算方法。
[13] In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, execute the first tax-inclusive calculation using the first tax rate using a numerical value as an amount excluding tax, and obtain a numerical value related to the result of the first tax-inclusive calculation using the first tax rate as a first tax-inclusive calculation result;
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using the first tax rate using a numerical value as an amount including tax, and a numerical value related to the result of the first tax-excluded calculation using the first tax rate is acquired as a first tax-excluded calculation result,
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using the second tax rate using a numerical value as an amount excluding tax, and a numerical value related to the result of the second tax-inclusive calculation using the second tax rate is acquired as a second tax-inclusive calculation result,
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using the second tax rate using a numerical value as an amount including tax, and a numerical value related to the result of the second tax-excluded calculation using the second tax rate is acquired as a second tax-excluded calculation result,
In response to an input of an instruction to display the tax calculation total, a sum of the first tax-inclusive calculation result, the first tax-exclusive calculation result, the second tax-inclusive calculation result, and the second tax-exclusive calculation result is displayed on the display unit as the tax calculation total value.
The calculation method according to [12], further comprising:

[14]計算機の制御部によって実行される計算方法であって、
税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、税込計算に係る税額を取得して、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、税抜計算に係る税額を取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算に係る税額及び前記税抜計算に係る税額の合計である税合計値を、表示部に表示させる、計算方法。
[14] A calculation method executed by a control unit of a computer, comprising:
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the amount excluding tax, and the tax amount related to the tax-inclusive calculation is obtained.
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a tax amount related to the tax-excluded calculation is obtained.
A calculation method, in response to an input of an instruction to display a tax calculation total, causing a display unit to display a total tax value, which is the sum of the tax amount related to the tax-inclusive calculation and the tax amount related to the tax-exclusive calculation.

[15]第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税込計算を実行し、前記第1税込計算に係る税額を取得して、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税抜計算を実行し、前記第1税抜計算に係る税額を取得して、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税込計算を実行し、前記第2税込計算に係る税額を取得して、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税抜計算を実行し、前記第2税抜計算に係る税額を取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算に係る税額、前記第1税抜計算に係る税額、前記第2税込計算に係る税額、及び、前記第2税抜計算に係る税額の合計を、前記税合計値として、前記表示部に表示させる、ことをさらに含む、[14]記載の前記計算方法。
[15] In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, execute the first tax-inclusive calculation using a numerical value as an amount excluding tax, and obtain a tax amount related to the first tax-inclusive calculation,
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the first tax-excluded calculation is obtained;
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a tax amount related to the second tax-inclusive calculation is obtained.
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the second tax-excluded calculation is obtained;
The calculation method described in [14] further includes, in response to input of an instruction to execute the tax calculation total display, displaying on the display unit the sum of the tax amount relating to the first tax-inclusive calculation, the tax amount relating to the first tax-exclusive calculation, the tax amount relating to the second tax-inclusive calculation, and the tax amount relating to the second tax-exclusive calculation as the total tax value.

[16]計算機の制御部によって、
税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果に係わる数値を、税込計算結果として取得させて、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果に係わる数値を、税抜計算結果として取得させて、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果及び前記税抜計算結果の合計である税計算合計値を、表示部に表示させる、プログラム。
[16] by the control unit of the computer,
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a numerical value related to the result of the tax-inclusive calculation is acquired as a tax-inclusive calculation result;
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a numerical value related to the result of the tax-excluded calculation is acquired as a tax-excluded calculation result;
A program that displays a tax calculation total value, which is the sum of the tax-inclusive calculation result and the tax-exclusive calculation result, on a display unit in response to an input of an instruction to display the tax calculation total.

[17]前記計算機の制御部によって、さらに、
第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税率による前記第1税込計算を実行し、前記第1税率による前記第1税込計算の結果に係わる数値を、第1税込計算結果として取得させて、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税率による前記第1税抜計算を実行し、前記第1税率による前記第1税抜計算の結果に係わる数値を、第1税抜計算結果として取得させて、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税率による前記第2税込計算を実行し、前記第2税率による前記第2税込計算の結果に係わる数値を、第2税込計算結果として取得させて、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税率による前記第2税抜計算を実行し、前記第2税率による前記第2税抜計算の結果に係わる数値を、第2税抜計算結果として取得させて、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算結果、前記第1税抜計算結果、前記第2税込計算結果、及び、前記第2税抜計算結果の合計を、前記税計算合計値として、前記表示部に表示させる、[16]記載のプログラム。
[17] The control unit of the computer further
In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, the first tax-inclusive calculation is executed using the first tax rate using a numerical value as an amount excluding tax, and a numerical value related to the result of the first tax-inclusive calculation using the first tax rate is acquired as a first tax-inclusive calculation result;
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a numerical value relating to the result of the first tax-excluded calculation using the first tax rate is acquired as a first tax-excluded calculation result;
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using the second tax rate using a numerical value as an amount excluding tax, and a numerical value related to the result of the second tax-inclusive calculation using the second tax rate is acquired as a second tax-inclusive calculation result;
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a numerical value relating to the result of the second tax-excluded calculation using the second tax rate is acquired as a second tax-excluded calculation result;
A program as described in [16], which displays on the display unit the sum of the first tax-inclusive calculation result, the first tax-exclusive calculation result, the second tax-inclusive calculation result, and the second tax-exclusive calculation result as the tax calculation total value in response to input of an instruction to execute the tax calculation total display.

[18]計算機の制御部によって、
税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記税込計算を実行し、税込計算に係る税額を取得して、
税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記税抜計算を実行し、税抜計算に係る税額を取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算に係る税額及び前記税抜計算に係る税額の合計である税合計値を、表示部に表示させる、プログラム。
[18] by the control unit of the computer,
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the amount excluding tax, and the tax amount related to the tax-inclusive calculation is obtained.
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax, and a tax amount related to the tax-excluded calculation is obtained.
A program that, in response to an input of an instruction to display a tax calculation total, displays a total tax value, which is the sum of the tax amount related to the tax-inclusive calculation and the tax amount related to the tax-exclusive calculation, on a display unit.

[19]前記計算機の制御部によって、さらに、
第1税率を用いた税込計算である第1税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第1税込計算を実行し、前記第1税込計算に係る税額を取得して、
前記第1税率を用いた税抜計算である第1税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第1税抜計算を実行し、前記第1税抜計算に係る税額を取得して、
第2税率を用いた税込計算である第2税込計算の実行指示の入力に応じて、税抜額としての数値を用いた前記第2税込計算を実行し、前記第2税込計算に係る税額を取得して、
前記第2税率を用いた税抜計算である第2税抜計算の実行指示の入力に応じて、税込額としての数値を用いた前記第2税抜計算を実行し、前記第2税抜計算に係る税額を取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算に係る税額、前記第1税抜計算に係る税額、前記第2税込計算に係る税額、及び、前記第2税抜計算に係る税額の合計を、前記税合計値として、前記表示部に表示させる、[18]記載のプログラム。
[19] The control unit of the computer further
In response to an input of an instruction to execute a first tax-inclusive calculation, which is a tax-inclusive calculation using a first tax rate, the first tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a tax amount related to the first tax-inclusive calculation is obtained;
In response to an input of an instruction to execute a first tax-excluded calculation, which is a tax-excluded calculation using the first tax rate, the first tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the first tax-excluded calculation is obtained;
In response to an input of an instruction to execute a second tax-inclusive calculation, which is a tax-inclusive calculation using a second tax rate, the second tax-inclusive calculation is executed using a numerical value as an amount excluding tax, and a tax amount related to the second tax-inclusive calculation is obtained.
In response to an input of an instruction to execute a second tax-excluded calculation, which is a tax-excluded calculation using the second tax rate, the second tax-excluded calculation is executed using a numerical value as a tax-inclusive amount, and a tax amount related to the second tax-excluded calculation is obtained;
A program as described in [18], which, in response to input of an instruction to execute the tax calculation total display, displays on the display unit the sum of the tax amount relating to the first tax-inclusive calculation, the tax amount relating to the first tax-exclusive calculation, the tax amount relating to the second tax-inclusive calculation, and the tax amount relating to the second tax-exclusive calculation as the total tax value.

Claims (14)

税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果の税抜額と税込額とを、税込計算結果として取得して、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果の税込額と税抜額とを、税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果における税込額と前記税抜計算結果における税込額の合計である税計算合計値の税込額、又は、前記税込計算結果における税抜額と前記税抜計算結果における税抜額の合計である税計算合計値の税抜額の少なくとも何れかを、表示部に表示させる、
制御部を有する計算機。
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-exclusive amount input immediately before the input of the instruction to execute the tax-inclusive calculation, and the tax-exclusive amount and the tax-inclusive amount of the result of the tax-inclusive calculation are acquired as a tax-inclusive calculation result.
In response to an input of an instruction to execute a tax-excluded calculation, the tax -excluded calculation is executed using the numerical value as the amount including tax that was input immediately before the instruction to execute the tax-excluded calculation, and the amount including tax and the amount excluding tax that are the result of the tax-excluded calculation are acquired as a result of the tax-excluded calculation.
In response to an input of an instruction to display a tax calculation total, at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-inclusive amount in the tax-inclusive calculation result and the tax-inclusive amount in the tax-exclusive calculation result, or the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount in the tax-inclusive calculation result and the tax-exclusive amount in the tax-exclusive calculation result, is displayed on a display unit .
A computer having a control unit.
前記制御部は、
前記税込計算の処理において、更に税額を前記税込計算結果として取得して、
前記税抜計算の処理において、更に税額を前記税抜計算結果として取得して、
前記税計算合計値の税込額又は前記税計算合計値の税抜額を前記表示部に表示中に、
税額表示の実行指示の入力に応じて、前記税込計算結果における税額、又は、前記税込計算結果における税額の何れかを、選択的に、前記表示部に表示させる、
請求項1記載の計算機。
The control unit is
In the process of the tax-inclusive calculation, a tax amount is further obtained as the tax-inclusive calculation result,
In the processing of the tax-excluded calculation, a tax amount is further obtained as the tax-excluded calculation result,
While the tax-included amount of the tax calculation total value or the tax-excluded amount of the tax calculation total value is being displayed on the display unit,
selectively displaying on the display unit either the tax amount in the tax-inclusive calculation result or the tax amount in the tax-inclusive calculation result in response to an input of an instruction to display the tax amount ;
2. The computer of claim 1.
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算及び前記第1税率による第1税抜計算を実行し、前記第1税率による前記第1税込計算の結果の税抜額と税込額とを、第1税込計算結果として取得して
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算及び前記第2税率による第2税込計算を実行し、前記第2税率による前記第2税抜計算の結果の税抜額と税込額とを、第2税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果の税込額と前記第2税抜計算結果の税込額の合計である税計算合計値の税込額、及び、前記第1税込計算の結果の税抜額と前記第2税抜計算結果の税込額の合計である税計算合計値の税抜額の少なくとも何れかを、前記表示部に表示させる、
請求項1記載の計算機。
In response to input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation using the first tax rate and a first tax-exclusive calculation using the first tax rate using the numerical value as the tax-exclusive amount input immediately before the instruction to execute the tax -inclusive calculation are acquired as a first tax-inclusive calculation result ,
In response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation using the second tax rate and a second tax-inclusive calculation using the second tax rate using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation are executed, and the tax-excluded amount and the tax-inclusive amount of the result of the second tax-excluded calculation using the second tax rate are obtained as a second tax-excluded calculation result,
In response to an input of an instruction to display a tax calculation total, at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-inclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, and the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, is displayed on the display unit.
2. The computer of claim 1.
前記制御部は、
前記第1税込計算の処理において、更に前記第1税率による税額を、前記第1税込計算結果として取得して、
前記第2税込計算の処理において、更に前記第2税率による税額を、前記第2税抜計算結果として取得して、
前記税計算合計値を前記表示部に表示中に、
前記第1税込計算の結果としての数値表示の実行指示の入力に応じて、前記第1税率による税額を、
前記第2税込計算の結果としての数値表示の実行指示の入力に応じて、前記第2税率による税額を、
前記表示部に表示させる、
請求項記載の計算機。
The control unit is
In the process of the first tax-inclusive calculation, a tax amount based on the first tax rate is further obtained as the first tax-inclusive calculation result ,
In the process of the second tax-inclusive calculation, a tax amount based on the second tax rate is further obtained as the second tax-exclusive calculation result ,
While the tax calculation total value is being displayed on the display unit,
In response to an input of an instruction to execute a numerical display as a result of the first tax-inclusive calculation , a tax amount based on the first tax rate is
In response to an input of an instruction to execute a numerical display as a result of the second tax-inclusive calculation , the tax amount based on the second tax rate is
Displaying on the display unit,
4. The computer of claim 3 .
税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算における税額を取得して、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算における税額を取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算の結果における税額と前記税抜計算の結果における税額の合計である税合計値を、表示部に表示させる、
制御部を有する計算機。
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-excluded amount input immediately before the input of the instruction to execute the tax-inclusive calculation, and a tax amount in the tax-inclusive calculation is obtained.
In response to an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using the numerical value as the amount including tax that was input immediately before the instruction to execute the tax-excluded calculation , and the tax amount in the tax-excluded calculation is obtained.
In response to an input of an instruction to display the total tax calculation amount, a total tax amount, which is the sum of the tax amount in the result of the tax-inclusive calculation and the tax amount in the result of the tax-exclusive calculation, is displayed on a display unit .
A computer having a control unit.
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算を実行し、前記第1税率による前記第1税込計算における税額を取得して
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算を実行し、前記第2税率による前記第2税抜計算における税額を取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果における税額と前記第2税抜計算の結果における税額の合計である税合計値を、前記表示部に表示させる、
請求項記載の計算機。
In response to input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation is executed using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-inclusive calculation, and a tax amount in the first tax-inclusive calculation using the first tax rate is obtained .
In response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation is executed using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation, and a tax amount in the second tax-excluded calculation using the second tax rate is obtained.
In response to an input of an instruction to display the tax calculation total, a total tax value that is the sum of the tax amount in the result of the first tax-inclusive calculation and the tax amount in the result of the second tax-exclusive calculation is displayed on the display unit.
6. The computer of claim 5 .
計算機の制御部によって実行される計算方法であって、
税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果の税抜額と税込額とを、税込計算結果として取得して、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果の税込額と税抜額とを、税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果における税込額と前記税抜計算結果における税込額の合計である税計算合計値の税込額、又は、前記税込計算結果における税抜額と前記税抜計算結果における税抜額の合計である税計算合計値の税抜額の少なくとも何れかを、表示部に表示させる、計算方法。
A calculation method executed by a control unit of a computer, comprising:
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-exclusive amount input immediately before the input of the instruction to execute the tax-inclusive calculation, and the tax-exclusive amount and the tax-inclusive amount of the result of the tax-inclusive calculation are acquired as a tax-inclusive calculation result.
In response to an input of an instruction to execute a tax-excluded calculation, the tax -excluded calculation is executed using the numerical value as the amount including tax that was input immediately before the instruction to execute the tax-excluded calculation, and the amount including tax and the amount excluding tax that are the result of the tax-excluded calculation are acquired as a result of the tax-excluded calculation.
A calculation method in which, in response to an input of an instruction to display a tax calculation total, a display unit displays at least either the tax-inclusive amount of a tax calculation total value, which is the sum of the tax-inclusive amount in the tax-inclusive calculation result and the tax-inclusive amount in the tax-exclusive calculation result, or the tax-exclusive amount of a tax calculation total value, which is the sum of the tax-exclusive amount in the tax-inclusive calculation result and the tax-exclusive amount in the tax-exclusive calculation result.
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算及び前記第1税率による第1税抜計算を実行し、前記第1税率による前記第1税込計算の結果の税抜額と税込額とを、第1税込計算結果として取得して
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算及び前記第2税率による第2税込計算を実行し、前記第2税率による前記第2税抜計算の結果の税抜額と税込額とを、第2税抜計算結果として取得して、
税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果の税込額と前記第2税抜計算結果の税込額の合計である税計算合計値の税込額、及び、前記第1税込計算の結果の税抜額と前記第2税抜計算結果の税込額の合計である税計算合計値の税抜額の少なくとも何れかを、前記表示部に表示させる、
ことをさらに含む、請求項記載の前記計算方法。
In response to input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation using the first tax rate and a first tax-exclusive calculation using the first tax rate using the numerical value as the tax-exclusive amount input immediately before the instruction to execute the tax -inclusive calculation are acquired as a first tax-inclusive calculation result ,
In response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation using the second tax rate and a second tax-inclusive calculation using the second tax rate using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation are executed, and the tax-excluded amount and the tax-inclusive amount of the result of the second tax-excluded calculation using the second tax rate are obtained as a second tax-excluded calculation result,
In response to an input of an instruction to display a tax calculation total, at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-inclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, and the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, is displayed on the display unit.
The method of claim 7 further comprising:
計算機の制御部によって実行される計算方法であって、
税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算における税額を取得して、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算における税額を取得して、
税計算合計表示の実行指示の入力に応じて、前記税込計算の結果における税額と前記税抜計算の結果における税額の合計である税合計値を、表示部に表示させる、計算方法。
A calculation method executed by a control unit of a computer, comprising:
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-excluded amount input immediately before the input of the instruction to execute the tax-inclusive calculation, and a tax amount in the tax-inclusive calculation is obtained.
In response to an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using the numerical value as the amount including tax that was input immediately before the instruction to execute the tax-excluded calculation , and the tax amount in the tax-excluded calculation is obtained.
A calculation method in which, in response to an input of an instruction to display a tax calculation total, a total tax value, which is the sum of the tax amount resulting from the tax-inclusive calculation and the tax amount resulting from the tax-exclusive calculation, is displayed on a display unit .
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算を実行し、前記第1税率による前記第1税込計算における税額を取得して
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算を実行し、前記第2税率による前記第2税抜計算における税額を取得して、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果における税額と前記第2税抜計算の結果における税額の合計である税合計値を、前記表示部に表示させる、
ことをさらに含む、請求項記載の計算方法。
In response to input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation is executed using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-inclusive calculation, and a tax amount in the first tax-inclusive calculation using the first tax rate is obtained .
In response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation is executed using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation, and a tax amount in the second tax-excluded calculation using the second tax rate is obtained.
In response to an input of an instruction to display the tax calculation total, a total tax value that is the sum of the tax amount in the result of the first tax-inclusive calculation and the tax amount in the result of the second tax-exclusive calculation is displayed on the display unit.
The method of claim 9 further comprising :
計算機の制御部によって、
税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算の結果の税抜額と税込額とを、税込計算結果として取得させて、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算の結果の税込額と税抜額とを、税抜計算結果として取得させて、
税計算合計表示の実行指示の入力に応じて、前記税込計算結果における税込額と前記税抜計算結果における税込額の合計である税計算合計値の税込額、又は、前記税込計算結果における税抜額と前記税抜計算結果における税抜額の合計である税計算合計値の税抜額の少なくとも何れかを、表示部に表示させる、
プログラム。
The control unit of the computer
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-exclusive amount input immediately before the instruction to execute the tax-inclusive calculation, and the tax-inclusive amount and the tax-inclusive amount of the result of the tax-inclusive calculation are acquired as a tax-inclusive calculation result,
In response to an input of an instruction to execute a tax-excluded calculation, the tax -excluded calculation is executed using a numerical value as an amount including tax that was input immediately before the instruction to execute the tax-excluded calculation, and the amount including tax and the amount excluding tax that are the result of the tax-excluded calculation are acquired as a result of the tax-excluded calculation;
In response to an input of an instruction to display a tax calculation total, at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-inclusive amount in the tax-inclusive calculation result and the tax-inclusive amount in the tax-exclusive calculation result, or the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount in the tax-inclusive calculation result and the tax-exclusive amount in the tax-exclusive calculation result, is displayed on a display unit .
program.
前記計算機の制御部によって、さらに、
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算及び前記第1税率による第1税抜計算を実行し、前記第1税率による前記第1税込計算の結果の税抜額と税込額とを、第1税込計算結果として取得させて
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算及び前記第2税率による第2税込計算を実行し、前記第2税率による前記第2税抜計算の結果の税抜額と税込額とを、第2税抜計算結果として取得させて、
税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果の税込額と前記第2税抜計算結果の税込額の合計である税計算合計値の税込額、及び、前記第1税込計算の結果の税抜額と前記第2税抜計算結果の税込額の合計である税計算合計値の税抜額の少なくとも何れかを、前記表示部に表示させる、
請求項11記載のプログラム。
The control unit of the computer further
in response to input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation using the first tax rate and a first tax-exclusive calculation using the first tax rate using a numerical value as an amount excluding tax input immediately before the instruction to execute the tax -inclusive calculation are acquired as a first tax-inclusive calculation result ,
in response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation using the second tax rate and a second tax-inclusive calculation using the second tax rate using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation are acquired as a second tax-excluded calculation result,
In response to an input of an instruction to display a tax calculation total, at least one of the tax-inclusive amount of the tax calculation total value, which is the sum of the tax-inclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, and the tax-exclusive amount of the tax calculation total value, which is the sum of the tax-exclusive amount of the result of the first tax-inclusive calculation and the tax-inclusive amount of the result of the second tax-exclusive calculation, is displayed on the display unit.
The program according to claim 11 .
計算機の制御部によって、
税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記税込計算を実行し、前記税込計算における税額を取得させて、
税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税込額としての数値を用いた前記税抜計算を実行し、前記税抜計算における税額を取得させて、
税計算合計表示の実行指示の入力に応じて、前記税込計算の結果における税額と前記税抜計算の結果における税額の合計である税合計値を、表示部に表示させる、
プログラム。
The control unit of the computer
In response to an input of an instruction to execute a tax-inclusive calculation, the tax-inclusive calculation is executed using the numerical value as the tax-excluded amount input immediately before the input of the instruction to execute the tax-inclusive calculation, and a tax amount in the tax-inclusive calculation is obtained;
In response to an input of an instruction to execute a tax-excluded calculation, the tax-excluded calculation is executed using a numerical value as an amount including tax that was input immediately before the input of the instruction to execute the tax-excluded calculation, and a tax amount in the tax-excluded calculation is obtained;
In response to an input of an instruction to display the total tax calculation amount, a total tax amount, which is the sum of the tax amount in the result of the tax-inclusive calculation and the tax amount in the result of the tax-exclusive calculation, is displayed on a display unit .
program.
前記計算機の制御部によって、さらに、
前記税込計算の実行指示の入力としての第1税率を用いた税込計算の実行指示の入力に応じて、前記税込計算の実行指示の直前に入力された税抜額としての数値を用いた前記第1税率による第1税込計算を実行し、前記第1税率による前記第1税込計算における税額を取得させて、
前記税抜計算の実行指示の入力としての第2税率を用いた税抜計算の実行指示の入力に応じて、前記税抜計算の実行指示の直前に入力された税抜額としての数値を用いた前記第2税率による第2税抜計算を実行し、前記第2税率による前記第2税抜計算における税額を取得させて、
前記税計算合計表示の実行指示の入力に応じて、前記第1税込計算の結果における税額と前記第2税抜計算の結果における税額の合計である税合計値を、前記表示部に表示させる、
請求項13記載のプログラム。
The control unit of the computer further
In response to an input of an instruction to execute a tax-inclusive calculation using a first tax rate as an input of an instruction to execute the tax-inclusive calculation, a first tax-inclusive calculation is executed at the first tax rate using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-inclusive calculation, and a tax amount in the first tax-inclusive calculation at the first tax rate is obtained;
In response to input of an instruction to execute a tax-excluded calculation using a second tax rate as an input of an instruction to execute the tax-excluded calculation, a second tax-excluded calculation is executed using the numerical value as the tax-excluded amount input immediately before the instruction to execute the tax-excluded calculation, and a tax amount in the second tax-excluded calculation using the second tax rate is obtained;
In response to an input of an instruction to display the tax calculation total, a total tax value that is the sum of the tax amount in the result of the first tax-inclusive calculation and the tax amount in the result of the second tax-exclusive calculation is displayed on the display unit.
The program according to claim 13.
JP2019160307A 2018-10-03 2019-09-03 Computer, calculation method, and program Active JP7500934B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018188332 2018-10-03
JP2018188332 2018-10-03

Publications (2)

Publication Number Publication Date
JP2020057374A JP2020057374A (en) 2020-04-09
JP7500934B2 true JP7500934B2 (en) 2024-06-18

Family

ID=70107436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019160307A Active JP7500934B2 (en) 2018-10-03 2019-09-03 Computer, calculation method, and program

Country Status (1)

Country Link
JP (1) JP7500934B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018049491A (en) 2016-09-23 2018-03-29 カシオ計算機株式会社 Calculation device, calculation print method, and program
JP2018049379A (en) 2016-09-20 2018-03-29 カシオ計算機株式会社 Calculation device, calculation printing method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018049379A (en) 2016-09-20 2018-03-29 カシオ計算機株式会社 Calculation device, calculation printing method and program
JP2018049491A (en) 2016-09-23 2018-03-29 カシオ計算機株式会社 Calculation device, calculation print method, and program

Also Published As

Publication number Publication date
JP2020057374A (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
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP7487755B2 (en) calculator
JP7500934B2 (en) Computer, calculation method, and program
JP7176603B2 (en) Computing device, computing method, and program
JP7163705B2 (en) Calculators, calculation methods, and programs
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP2018049491A (en) Calculation device, calculation print method, and program
CN107562677B (en) Calculation device, calculation method, and recording medium having program recorded thereon
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP6561626B2 (en) Electronic device, calculation processing method, and program
JP6528483B2 (en) Computation processing device and program
JP7487828B2 (en) Electronic device, calculation support method and program
JP7416138B2 (en) Calculator, setting support method and program
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP6620907B1 (en) Computer, setting method, and program
JP7279355B2 (en) Calculator, display method, and program
JP2014149642A (en) Mathematical expression display control device, mathematical expression display control method, and program
JP5381152B2 (en) Formula arithmetic device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220902

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240520

R150 Certificate of patent or registration of utility model

Ref document number: 7500934

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150