JP6950344B2 - Arithmetic logic units, calculation methods, and programs - Google Patents

Arithmetic logic units, calculation methods, and programs Download PDF

Info

Publication number
JP6950344B2
JP6950344B2 JP2017153584A JP2017153584A JP6950344B2 JP 6950344 B2 JP6950344 B2 JP 6950344B2 JP 2017153584 A JP2017153584 A JP 2017153584A JP 2017153584 A JP2017153584 A JP 2017153584A JP 6950344 B2 JP6950344 B2 JP 6950344B2
Authority
JP
Japan
Prior art keywords
tax
data
total
calculation
display unit
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
JP2017153584A
Other languages
Japanese (ja)
Other versions
JP2018055680A (en
Inventor
博明 吉澤
博明 吉澤
有川 和彦
和彦 有川
敏文 高島
敏文 高島
裕紀 吉川
裕紀 吉川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to CN201710770191.3A priority Critical patent/CN107870886B/en
Publication of JP2018055680A publication Critical patent/JP2018055680A/en
Priority to JP2021154622A priority patent/JP7176603B2/en
Application granted granted Critical
Publication of JP6950344B2 publication Critical patent/JP6950344B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Description

本発明は、計算装置、計算方法、及びプログラムに関する。 The present invention relates to arithmetic units, calculation methods, and programs.

一般に、小型電子式計算機において、表示し得るデータの桁数は表示部の表示桁数以内に制限される。このため、表示桁数を超えるデータの入力はできず、また、表示桁数を超えた計算結果のデータを全て表示することはできない。 Generally, in a small electronic calculator, the number of digits of data that can be displayed is limited to the number of display digits of the display unit. Therefore, it is not possible to input data exceeding the number of display digits, and it is not possible to display all the data of the calculation result exceeding the number of display digits.

そこで、計算結果の整数桁が表示桁数を超えてオーバフローした場合は、エラー表示をし、計算結果のデータを、オーバフローした下位の桁を切り捨てて表示し、また、オーバフローした桁数を小数点により示すことで、当該計算結果を概数として知ることができるようになっている(概数エラー)。 Therefore, if the integer digits of the calculation result overflow more than the number of displayed digits, an error is displayed, the data of the calculation result is displayed by rounding down the overflowed lower digits, and the number of overflowed digits is indicated by the decimal point. By showing, the calculation result can be known as an approximate number (rounded number error).

そして、概数エラーの状態では、キーがロックされ、以後のキー入力が禁止されるが、[C]キーの操作により当該概数エラーの状態(エラー表示/キーのロック)を解除することで、概数としての計算結果を次の計算に利用することができる(例えば、特許文献1参照。)。 Then, in the state of the approximate number error, the key is locked and subsequent key input is prohibited. However, by releasing the state of the approximate number error (error display / key lock) by operating the [C] key, the approximate number is obtained. Can be used for the next calculation (see, for example, Patent Document 1).

特開昭55−088132号公報Japanese Unexamined Patent Publication No. 55-08832

前記小型電子式計算機を、例えば売上金額の計算等に使用する場合、異なる複数の合計額の総合計を計算した際に、当該総合計の計算結果が表示桁数を超えてオーバフローし、概数エラーの状態になることがある。 When the small electronic calculator is used, for example, to calculate the sales amount, when calculating the total amount of a plurality of different total amounts, the calculation result of the total amount overflows beyond the number of displayed digits, resulting in an approximate number error. May be in the state of.

特に、前記小型電子式計算機を、正確さが要求される計算に使用する場合、概数エラーとして表示された計算結果では表示桁数を超えてオーバフローした下位の桁の値が非表示とされてしまうことから、ユーザは、当該計算結果の正確な値を確認できず、次の計算を進めることができない。 In particular, when the small electronic calculator is used for a calculation that requires accuracy, the value of the lower digit that overflows beyond the number of displayed digits is hidden in the calculation result displayed as an approximate number error. Therefore, the user cannot confirm the exact value of the calculation result and cannot proceed with the next calculation.

本発明は、このような課題に鑑みなされたもので、総合計計算時において概数エラーとなった場合に、オーバフローにより非表示となる桁の値を容易に確認することが可能になる計算装置、計算方法、及びプログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and is a computing device that makes it possible to easily confirm the value of a digit that is hidden due to overflow when an approximate number error occurs at the time of total calculation. The purpose is to provide a calculation method and a program.

本発明に係る計算装置は、入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付ける第1計算受付手段と、入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付ける第2計算受付手段と、前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを合計した総合計データが表示部の表示可能桁を超えたか否かを判断する表示桁判断手段と、前記表示桁判断手段により前記総合計データが前記表示部の表示可能桁を超えたと判断された場合に前記総合計データの概数データを前記表示部に表示させる概数表示制御手段と、前記概数表示制御手段により前記総合計データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる個別合計表示制御手段と、を備えている。
The computing device according to the present invention is a first calculation for updating the first total data by adding one or a plurality of first result data for the input first calculation data to the first total data in the memory. To update the second total data by adding the first calculation receiving means that accepts the operation and one or more second result data for the input second calculation data to the second total data in the memory. The second calculation receiving means that accepts the second calculation operation, the updated first total data that is the result of adding the first result data to the first total data in the memory, and the second in the memory. the result of the second result data is added to the total data, and the display digit determining means for grand total data obtained by summing a second total data updated to determine whether exceeds a displayable digit of the display unit , The approximate number display control means for displaying the approximate number data of the total total data on the display unit when the display digit determination means determines that the total data exceeds the displayable digits of the display unit, and the approximate number display. When the approximate number data of the total data is displayed on the display unit by the control means, the updated first total data or the updated second total data stored in the memory is stored in the memory according to the user operation. It is provided with individual total display control means for displaying total data on the display unit.

本発明によれば、税込額データの総合計計算時において概数エラーとなった場合に、オーバフローにより非表示となる桁の値を確認することが可能になる。 According to the present invention, it is possible to confirm the digit value that is hidden due to overflow when an approximate number error occurs at the time of total calculation of tax-included amount data.

本発明の計算装置の実施形態に係る電卓10の外観構成を示す正面図。The front view which shows the appearance structure of the calculator 10 which concerns on embodiment of the arithmetic unit of this invention. 本実施形態における電卓10の電子回路の機能的な構成を示すブロック図。The block diagram which shows the functional structure of the electronic circuit of the calculator 10 in this embodiment. 本実施形態における電卓10の計算機能の動作(その1)を説明するためのフローチャート。The flowchart for demonstrating the operation (the 1) of the calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の計算機能の動作(その2)を説明するためのフローチャート。The flowchart for demonstrating the operation (the 2) of the calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の計算機能の動作(その3)を説明するためのフローチャート。The flowchart for demonstrating the operation (the 3) of the calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の計算機能の動作(その4)を説明するためのフローチャート。The flowchart for demonstrating the operation (the 4th) of the calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の税計算機能を説明するための入力操作と表示の具体例(その1)を示す図。The figure which shows the specific example (the 1) of the input operation and display for demonstrating the tax calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の税計算機能を説明するための入力操作と表示の具体例(その2)を示す図。The figure which shows the specific example (the 2) of the input operation and display for demonstrating the tax calculation function of the calculator 10 in this embodiment. 本実施形態における電卓10の概数エラー機能を説明するための入力操作と表示の具体例を示す図。The figure which shows the specific example of the input operation and display for demonstrating the approximate number error function of the calculator 10 in this embodiment.

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

図1は、本発明の計算装置の実施形態に係る電卓10の外観構成を示す正面図である。 FIG. 1 is a front view showing an external configuration of a calculator 10 according to an embodiment of the computing device of the present invention.

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

図1に示す電卓10は、ジャストタイプの電卓10であり、端数処理(数値の丸め方法)について設定するためのラウンドセレクタ11yと小数点セレクタ11zが設けられている。 The calculator 10 shown in FIG. 1 is a just-type calculator 10, and is provided with a round selector 11y and a decimal point selector 11z for setting rounding (rounding method of numerical values).

本実施形態における電卓10は、複数の税率(以下では税率1(例えば「10%」)と税率2(例えば「8%」)の2つの税率)に基づいた税計算をする税計算機能、前記税計算機能により計算された計算結果のデータが表示桁数を超えた場合に概数エラーの表示を行なう概数エラー機能を有する。なお、本実施形態では、各種のデータは、数値を意味し、例えば、計算に用いられる数値などが該当する。 The calculator 10 in the present embodiment has a tax calculation function for calculating tax based on a plurality of tax rates (hereinafter, two tax rates of tax rate 1 (for example, "10%") and tax rate 2 (for example, "8%")). It has an approximate number error function that displays an approximate number error when the calculation result data calculated by the tax calculation function exceeds the number of display digits. In this embodiment, various data mean numerical values, and for example, numerical values used in calculations are applicable.

電卓10の筐体正面には、複数のキーを含むキー入力部11および表示部12が設けられる。キー入力部11には、数値キー、演算キー、税計算機能キー、機能キー、が設けられる。数値キーは、例えば[00][0]〜[9]のそれぞれに対応する複数のキーを含む。演算キーは、例えば[+](加算)キー、[−](減算)キー、[×](乗算)キー、[÷](除算)キー、[=]キーのそれぞれに対応する複数のキーを含む。税計算機能キーには、税込1計算キー(第1税計算キー)11b、税込2計算キー(第2税計算キー)11c、税抜1計算キー11d、税抜2計算キー11e、税計算合計キー11fが設けられる。機能キーは、例えばオールクリアキー([AC]キー11a)、クリアキー([C](エラー解除)キー11x)、複数のメモリキー([MRC][M−][M+])、グランドトータルキー([GT]キー)、[%]キー11gなどを含む。 A key input unit 11 and a display unit 12 including a plurality of keys are provided on the front surface of the calculator 10. The key input unit 11 is provided with a numerical key, a calculation key, a tax calculation function key, and a function key. The numerical key includes, for example, a plurality of keys corresponding to each of [00] [0] to [9]. The calculation keys are, for example, a plurality of keys corresponding to each of the [+] (addition) key, the [-] (subtraction) key, the [x] (multiplication) key, the [÷] (division) key, and the [=] key. include. The tax calculation function keys include tax-included 1 calculation key (1st tax calculation key) 11b, tax-included 2 calculation key (2nd tax calculation key) 11c, tax-excluded 1 calculation key 11d, tax-excluded 2 calculation key 11e, and tax calculation total. The key 11f is provided. The function keys are, for example, an all clear key ([AC] key 11a), a clear key ([C] (error release) key 11x), a plurality of memory keys ([MRC] [M-] [M +]), and a grand total key. ([GT] key), [%] key 11g and the like are included.

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

表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が最大12桁で表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の計算モードや各種設定状態を示す文字や記号(シンボル)が表示される。 The display unit 12 includes a dot matrix type liquid crystal display unit. The display unit 12 displays the numerical value input by the operation of the key of the key input unit 11. On the display unit 12, numerical values for a limited number of lines (for example, one line) are displayed in a maximum of 12 digits. Further, in the state display area provided along the side of the display unit 12, characters and symbols (symbols) indicating the calculation mode being set and various setting states are displayed.

図2は、本実施形態における電卓10の電子回路の機能的な構成を示すブロック図である。電卓10の電子回路は、CPU21を含む、コンピュータを構成する複数のユニットを備えている。 FIG. 2 is a block diagram showing a functional configuration of the electronic circuit of the calculator 10 in the present embodiment. The electronic circuit of the calculator 10 includes a plurality of units constituting the computer, including the 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 the input operation is performed, the CPU 21 detects the key for which the input operation has been performed by the key input signal from the key input unit 11, and executes various arithmetic processes corresponding to the detected keys. In the calculator 10, the CPU 21 controls the operation of each part of the circuit according to the instruction described in the calculation processing program 22a, and the software and the hardware operate in cooperation with each other to perform the processing by the calculation function described in the following operation description. Realize the calculation processing including.

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

メモリ22には、計算処理プログラム22aが記憶される他に、税率1合計メモリエリア22b、税率2合計メモリエリア22c、税合計メモリエリア22d、税合計後モードデータ22eなど各データを記憶するエリアが設けられる。なお、ここでは、メモリ22は、内部に複数のエリアを設け、記憶するプログラムやデータの種類に応じて、使用するエリアが決められている構成としたが、これに限らない。メモリ22は、複数のメモリを有し、記憶するプログラムやデータの種類に応じて、複数のメモリの中から使用するメモリが決められている構成としてもよい。また、メモリ22は、記憶手段に備えられたものであってもよい。 In addition to storing the calculation processing program 22a, the memory 22 has an area for storing each data such as tax rate 1 total memory area 22b, tax rate 2 total memory area 22c, tax total memory area 22d, and post-tax mode data 22e. Provided. Here, the memory 22 is configured to have a plurality of areas inside and the area to be used is determined according to the type of the program or data to be stored, but the present invention is not limited to this. The memory 22 may have a plurality of memories, and the memory to be used may be determined from the plurality of memories according to the type of the program or data to be stored. Further, the memory 22 may be provided in the storage means.

税率1合計メモリエリア22bは、税率1に基づいた税計算により算出されるデータを記憶するためのエリアである。CPU21は、計算処理プログラム22aに記述された命令に従って、キー入力部11の入力操作により入力された税抜額データ(第1税抜額データ)を示す数値に対し、税率1を用いて税込額データ(第1税込額データ)及び税額データ(第1税額データ)を計算するが、税率1合計メモリエリア22bには、キー入力部11の入力操作により入力された第1税抜額データと、この第1税抜額データに対して求められた第1税込額データ及び第1税額データとが組となって記憶される。キー入力部11の入力操作により入力された第1税抜額データが複数の場合は、税率1合計メモリエリア22bに、第1税抜額データと、当該第1税抜額データに対して求められた第1税込額データ及び第1税額データとが組となって、各第1税抜額データ毎に記憶される。つまり、税率1合計メモリエリア22bには、キー入力部11の入力操作により入力された第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 the tax rate 1. The CPU 21 uses the tax rate 1 for the tax-included amount data (first tax-excluded amount data) for the numerical value indicating the tax-excluded amount data (first tax-excluded amount data) input by the input operation of the key input unit 11 according to the instruction described in the calculation processing program 22a. The first tax-included amount data) and the tax amount data (first tax amount data) are calculated. In the tax rate 1 total memory area 22b, the first tax-excluded amount data input by the input operation of the key input unit 11 and the first tax-excluded amount data are calculated. The first tax-included amount data and the first tax-amount data obtained for the tax-excluded amount data are stored as a set. When there are a plurality of first tax-excluded data input by the input operation of the key input unit 11, the first tax-excluded data and the first tax-excluded data obtained for the first tax-excluded data are stored in the tax rate 1 total memory area 22b. 1 tax-included amount data and 1st tax amount data are combined and stored for each 1st tax-excluded amount data. That is, in the tax rate 1 total memory area 22b, the first tax-excluded amount data, the first tax-excluded amount data, and the first tax-excluded amount data are equal to the number of the first tax-excluded amount data input by the input operation of the key input unit 11. Is memorized as a set. Further, in the tax rate 1 total memory area 22b, the first tax-included total amount data indicating the total of the first tax-included amount data corresponding to at least one numerical value, and the first tax-excluded total amount data corresponding to the first tax-included total amount data. , The first tax total amount data corresponding to the first tax total amount data is stored.

税率2合計メモリエリア22cは、税率2に基づいた税計算により算出されるデータを記憶するためのエリアである。CPU21は、計算処理プログラム22aに記述された命令に従って、キー入力部11の入力操作により入力された税抜額データ(第2税抜額データ)を示す数値に対し、税率2を用いて税込額データ(第2税込額データ)及び税額データ(第2税額データ)を計算するが、税率2合計メモリエリア22cには、キー入力部11の入力操作により入力された第2税抜額データと、この第2税抜額データに対して求められた第2税込額データ及び第2税額データとが組となって記憶される。キー入力部11の入力操作により入力された第2税抜額データが複数の場合は、税率2合計メモリエリア22cに、第2税抜額データと、当該第2税抜額データに対して求められた第2税込額データ及び第2税額データとが組となって、各第2税抜額データ毎に記憶される。つまり、税率2合計メモリエリア22cには、キー入力部11の入力操作により入力された第2税抜額データの数の分だけ、第2税込額データ、第2税額データ、及び第2税抜額データが組となって記憶される。また、税率2合計メモリエリア22cには、少なくとも1つの数値に対応する第2税込額データの合計データを示す第2税込合計額データ、第2税込合計額データに対応する第2税抜合計額データ、第2税込合計額データに対応する第2税合計額データが記憶される。 The tax rate 2 total memory area 22c is an area for storing data calculated by tax calculation based on the tax rate 2. The CPU 21 uses the tax rate 2 for the tax-included amount data (tax-included amount data) with respect to the numerical value indicating the tax-excluded amount data (second tax-excluded amount data) input by the input operation of the key input unit 11 according to the instruction described in the calculation processing program 22a. The second tax amount data) and the tax amount data (second tax amount data) are calculated. In the tax rate 2 total memory area 22c, the second tax exemption data input by the input operation of the key input unit 11 and the second tax amount data are calculated. The second tax-included amount data and the second tax-amount data obtained for the tax-excluded amount data are stored as a set. When there are a plurality of second tax-excluded data input by the input operation of the key input unit 11, the second tax-excluded data and the second tax-excluded data obtained for the second tax-excluded data are obtained in the tax rate 2 total memory area 22c. 2 The tax-included amount data and the second tax amount data are combined and stored for each second tax-excluded amount data. That is, the second tax-excluded amount data, the second tax-excluded amount data, and the second tax-excluded amount data are stored in the tax rate 2 total memory area 22c for the number of the second tax-excluded amount data input by the input operation of the key input unit 11. Is memorized as a set. Further, in the tax rate 2 total memory area 22c, the second tax-included total amount data indicating the total data of the second tax-included amount data corresponding to at least one numerical value, and the second tax-excluded total amount corresponding to the second tax-included total amount data The second tax total amount data corresponding to the data and the second tax total amount data is stored.

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

税合計後モードデータ22eは、税計算合計キー11fの入力操作に応じて税込総合計額データが算出された後の状態にあるか否か(税合計後モードオン/オフ)を示すデータである。 The post-tax mode data 22e is data indicating whether or not the total tax-included total amount data is in the state after being calculated according to the input operation of the total tax calculation key 11f (mode on / off after total tax). ..

税合計後モードは、税込総合計額データが算出された時にオンされ、税込1計算キー11b及び税込2計算キー11c以外のキー、例えば[AC]キー11aが操作された場合や数値キーが操作されることにより新たな数値入力が行われた場合にオフされる。 The post-tax mode is turned on when the total tax-included total amount data is calculated, and when a key other than the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c is operated, for example, the [AC] key 11a is operated or the numerical key is operated. By doing so, it is turned off when a new numerical value is input.

税合計後モードがオン状態(税込総合計額の算出後の状態)の場合には、税込1計算キー11bあるいは税込2計算キー11cに対する操作が行われると、(第1/第2)税込合計額データが表示される(税込合計額表示制御処理)。そして同じキー(税込1計算キー11bあるいは税込2計算キー11c)が操作される毎に、(第1/第2)税込合計額データに対応する税抜合計額データ、(第1/第2)税込合計額データに対応する税合計額データを切り替えて順次表示させる。 When the tax-included mode is on (the state after the tax-included total amount is calculated), when the operation for the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is performed, the (1st / 2nd) tax-included total The amount data is displayed (total amount display control process including tax). And every time the same key (1 calculation key 11b including tax or 2 calculation key 11c including tax) is operated, the total amount data excluding tax corresponding to the (1st / 2nd) total amount data including tax, (1st / 2nd) The total tax amount data corresponding to the total amount data including tax is switched and displayed in sequence.

また、税合計後モードがオフ状態の場合(つまり税込総合計額の算出後でない状態)に、税込1計算キー11bあるいは税込2計算キー11cに対する操作が行われると、表示数値を税抜額データとした場合の(第1/第2)税込額データが表示される(税込額表示制御処理)。そして同じキー(税込1計算キー11bあるいは税込2計算キー11c)が操作されると、(第1/第2)税額データが表示される。 In addition, when the post-tax mode is off (that is, not after the total tax-included total amount is calculated), if the operation for the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is performed, the displayed value is converted to the tax-excluded amount data. (1st / 2nd) tax-included amount data is displayed (tax-included amount display control process). Then, when the same key (1 calculation key 11b including tax or 2 calculation key 11c including tax) is operated, the (1st / 2nd) tax amount data is displayed.

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

ここでは、先ず一連の税計算機能を説明した後に、当該税計算機能による計算結果のデータが表示桁数(計算可能桁数:12)を超えて概数エラーになった場合の動作例について説明する。 Here, after explaining a series of tax calculation functions, an operation example will be described when the data of the calculation result by the tax calculation function exceeds the number of display digits (computable digits: 12) and an approximate number error occurs. ..

(税計算機能)
まず、ユーザは、計算を開始する前に表示をクリアするため、[AC]キー11aを操作(押下)する。CPU21は、[AC]キー11aが操作されると(ステップA1、Yes)、税計算に使用するメモリ22の各エリア、すなわち税率1合計メモリエリア22b、税率2合計メモリエリア22c、及び税合計メモリエリア22dを全てクリアする(ステップA2)。次に、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフする(ステップA3)。図8(A1)は、[AC]キー11aが操作された場合の表示例を示している。先の税計算結果データなどの数値が表示された状態で[AC]キー11aが操作された場合には、CPU21は、先に表示された数値をクリアし、表示部12に「0」を表示させる。
(Tax calculation function)
First, the user operates (presses) the [AC] key 11a in order to clear the display before starting the calculation. When the [AC] key 11a is operated (steps A1, Yes), the CPU 21 determines each area of the memory 22 used for tax calculation, that is, the tax rate 1 total memory area 22b, the tax rate 2 total memory area 22c, and the tax total memory. Clear all areas 22d (step A2). Next, the CPU 21 turns off the post-tax mode stored in the post-tax mode data 22e (step A3). FIG. 8 (A1) shows a display example when the [AC] key 11a is operated. When the [AC] key 11a is operated while the numerical value such as the tax calculation result data is displayed, the CPU 21 clears the previously displayed numerical value and displays "0" on the display unit 12. Let me.

図3に戻る。[AC]キー11aの入力操作の直後に(ステップA3からステップA1に戻った後に)、税込1計算キー11bに対する入力操作を検出した場合(ステップA1、A4、A6、No。ステップA8、A9、Yes)、CPU21は、税込1計算キー11bに対して設定された税率1を表示部12において表示させる(ステップA10)。本実施形態では、初期設定において、税率1として「10%」が設定されている。同様にして、[AC]キー11aの入力操作の直後に(ステップA3からステップA1に戻った後に)、税込2計算キー11cに対する入力操作を検出した場合(ステップA1、A4、A6、A8、No。図5のステップA26、A27、Yes)、CPU21は、税込2計算キー11cに対して設定された税率2を表示部12において表示させる(ステップA28)。本実施形態では、初期設定において、税率2として「8%」が設定されている。 Return to FIG. Immediately after the input operation of the [AC] key 11a (after returning to step A1 from step A3), when the input operation for the tax-included 1 calculation key 11b is detected (steps A1, A4, A6, No. Steps A8, A9, Yes), the CPU 21 displays the tax rate 1 set for the tax-included 1 calculation key 11b on the display unit 12 (step A10). In the present embodiment, "10%" is set as the tax rate 1 in the initial setting. Similarly, when the input operation for the tax-included 2 calculation key 11c is detected immediately after the input operation of the [AC] key 11a (after returning from step A3 to step A1) (steps A1, A4, A6, A8, No. Steps A26, A27, Yes) in FIG. 5, the CPU 21 displays the tax rate 2 set for the tax-included 2 calculation key 11c on the display unit 12 (step A28). In the present embodiment, "8%" is set as the tax rate 2 in the initial setting.

次に、図5のステップA28から図3のステップA1に戻り、計算の対象とする数値を入力するためにユーザにより数値キーが操作されると(ステップA1、No。ステップA4、Yes)、CPU21は、入力操作された数値キーに応じた数値(数値データ)を入力し、入力された数値を表示部12において表示させる(ステップA5)。次に、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフに維持して(ステップA3)、ステップA1に戻り、演算キーが操作されると(ステップA1、A4、No。ステップA6、Yes)、CPU21は、入力操作された演算キーに応じた演算(演算データ)を入力して、入力された演算のシンボル(記号)を表示部12の状態表示エリアにおいて表示させる(ステップA7)。ここで、CPU21は、入力された演算データと入力済みの数値データをもとに演算が実行できる場合には、この演算を実行し、演算途中の結果を表示部12に表示させる。次に、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオフに維持して(ステップA3)、ステップA1に戻る。以下、同様にして、数値データと演算データの入力が繰り返されることにより、CPU21は、入力された数値データと演算データとを順次記憶していく。そして、ユーザ操作により「=」(イコール)キーが操作されると、CPU21は、入力操作された演算キー(「=」キー)に応じた演算データを入力し、それまでに入力された数値データと演算データ(「=」データ)に応じた計算を実行し、計算結果を表示部12に表示させる(ステップA4〜A7)。 Next, when the numerical key is operated by the user to input the numerical value to be calculated by returning from step A28 in FIG. 5 to step A1 in FIG. 3 (step A1, No. step A4, Yes), the CPU 21 Inputs a numerical value (numerical data) corresponding to the numerical key that has been input, and displays the input numerical value on the display unit 12 (step A5). Next, the CPU 21 keeps the post-tax mode stored in the post-tax mode data 22e off (step A3), returns to step A1, and when the calculation keys are operated (steps A1, A4, No). Step A6, Yes), the CPU 21 inputs an operation (calculation data) corresponding to the input operation operation key, and displays the input operation symbol (symbol) in the status display area of the display unit 12 (. Step A7). Here, when the CPU 21 can execute the calculation based on the input calculation data and the input numerical data, the CPU 21 executes this calculation and displays the result in the middle of the calculation on the display unit 12. Next, the CPU 21 keeps the post-tax mode stored in the post-tax mode data 22e off (step A3), and returns to step A1. Hereinafter, in the same manner, by repeating the input of the numerical data and the calculation data, the CPU 21 sequentially stores the input numerical data and the calculation data. Then, when the "=" (equal) key is operated by the user operation, the CPU 21 inputs the calculation data corresponding to the input operation operation key ("=" key), and the numerical data input up to that point. And the calculation according to the calculation data (“=” data) is executed, and the calculation result is displayed on the display unit 12 (steps A4 to A7).

こうして、表示部12に数値が表示された状態において、税込1計算キー11bあるいは税込2計算キー11cの入力操作を検出した場合、CPU21は、表示部12に表示された税抜額データを示す数値に対して、入力操作がされた税計算キーに応じた税率をもとに税計算データを実行する。なお、前述した説明では、表示部12に表示された税計算の対象とされる数値は、演算によって得られた値とされているが、単に数値キーの入力操作により入力された数値を税計算の対象としてもよい。 In this way, when the input operation of the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is detected in the state where the numerical value is displayed on the display unit 12, the CPU 21 displays the numerical value indicating the tax-excluded amount data displayed on the display unit 12. On the other hand, the tax calculation data is executed based on the tax rate corresponding to the tax calculation key for which the input operation is performed. In the above description, the numerical value displayed on the display unit 12 for tax calculation is the value obtained by the calculation, but the numerical value input by simply inputting the numerical key is calculated as tax. It may be the target of.

例えば、CPU21は、税込1計算キー11bの入力操作を検出した場合(ステップA8、Yes)、税合計後モードがオフ状態にあるため(ステップA9、No。ステップA11、Yes)、税計算の対象とする表示中の数値について、税率1(例えば「10%」)をもとに税込額データ及び税額データを計算して、表示中の数値が示す税抜額データと共に税率1合計メモリエリア22bに記憶させる(ステップA12)。次に、CPU21は、税率1をもとに計算した税込額データを表示部12に表示させる(ステップA13)。同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4〜A7)、税込1計算キー11bの入力操作を検出した場合(ステップA8、Yes)、CPU21は、表示部12に表示中の数値について税率1をもとに税計算をして、計算結果を税率1合計メモリエリア22bに記憶させると共に税込額を表示部12に表示させる(ステップA8〜A13)。すなわち、複数の数値に対する税計算を続けて指示することができる。 For example, when the CPU 21 detects the input operation of the tax-included 1 calculation key 11b (steps A8, Yes), the post-tax mode is in the off state (steps A9, No. Steps A11, Yes), and therefore is subject to tax calculation. The tax-included amount data and the tax amount data are calculated based on the tax rate 1 (for example, "10%") for the displayed numerical value, and stored in the tax rate 1 total memory area 22b together with the tax-excluded amount data indicated by the displayed numerical value. (Step A12). Next, the CPU 21 causes the display unit 12 to display the tax-included amount data calculated based on the tax rate 1 (step A13). Similarly, the input operation of the tax-included 1 calculation key 11b was detected while the numerical value (or the numerical value calculated by the calculation) input by the operation of the numerical key was displayed on the display unit 12 (steps A4 to A7). In the case (step A8, Yes), the CPU 21 calculates the tax on the numerical value displayed on the display unit 12 based on the tax rate 1, stores the calculation result in the total memory area 22b of the tax rate 1, and displays the tax-included amount. It is displayed on 12 (steps A8 to A13). That is, it is possible to continuously instruct tax calculation for a plurality of numerical values.

また、CPU21は、税込2計算キー11cの入力操作を検出した場合(ステップA1、A4、A6、A8、No。図5のステップA26、Yes。ステップA27、No)、税合計後モードがオフ状態にあるため(ステップA29、Yes)、税計算の対象とする表示中の数値について、税率2(例えば「8%」)をもとに税込額データ及び税額データを計算して、表示中の数値が示す税抜額データと共に税率2合計メモリエリア22cに記憶させる(ステップA30)。次に、CPU21は、税率2をもとに計算した税込額データを表示部12に表示させる(ステップA31)。同様にして、数値キーの操作により入力された数値(あるいは演算により算出された数値)を表示部12に表示させた状態で(ステップA4〜A7)、税込2計算キー11cの入力操作を検出した場合(ステップA26、Yes)、CPU21は、表示部12に表示中の数値について税率2をもとに税計算をして、計算結果データを税率2合計メモリエリア22cに記憶させると共に税込額を表示部12に表示させる(ステップA26〜A31)。 Further, when the CPU 21 detects the input operation of the tax-included 2 calculation key 11c (steps A1, A4, A6, A8, No. Steps A26, Yes in FIG. 5, step A27, No), the post-tax mode is in the off state. (Step A29, Yes), the tax-included amount data and tax-amount data are calculated based on the tax rate 2 (for example, "8%") for the displayed value to be calculated, and the displayed value. The tax rate 2 total memory area 22c is stored together with the tax-excluded data indicated by (step A30). Next, the CPU 21 causes the display unit 12 to display the tax-included amount data calculated based on the tax rate 2 (step A31). Similarly, the input operation of the tax-included 2 calculation key 11c was detected while the numerical value (or the numerical value calculated by the calculation) input by the operation of the numerical key was displayed on the display unit 12 (steps A4 to A7). In the case (step A26, Yes), the CPU 21 calculates the tax on the numerical value displayed on the display unit 12 based on the tax rate 2, stores the calculation result data in the tax rate 2 total memory area 22c, and displays the tax-included amount. It is displayed on the unit 12 (steps A26 to A31).

以下、具体的な数値の入力と税計算の例について説明する。図7は、以下の税計算機能の説明で使用する、入力される数値(税抜額)、税込額、税額の例を示す図である。図8(B1)〜図8(B7)は、図7に示す複数の数値(税抜額)が入力され、それぞれに対する税率が税込1計算キー11bまたは税込2計算キー11cにより指定されたことを示している。 An example of inputting specific numerical values and tax calculation will be described below. FIG. 7 is a diagram showing an example of input numerical values (tax-excluded amount), tax-included amount, and tax amount used in the following description of the tax calculation function. 8 (B1) to 8 (B7) show that a plurality of numerical values (tax-excluded amount) shown in FIG. 7 are input and the tax rate for each is specified by the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c. ing.

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

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

こうして、本実施形態における電卓10は、入力された数値に対する税計算に用いる税率を、税込1計算キー11bあるいは税込2計算キー11cの操作によって任意に指定することができる。従って、例えば適用税率が異なる複数の商品の税込総合計額データを算出する場合に、適用税率が異なる複数の商品について、個々に税率を指定して税抜額データを入力することができるため、入力作業を容易にすることができる。図8(B1)〜図8(B7)では、税率1を適用する数値と税率2を適用する数値について、それぞれ連続して税計算を実行しているが、税率1と税率2を混在して指定(個別に指定)して税計算を実行することができる。 In this way, the calculator 10 in the present embodiment can arbitrarily specify the tax rate used for tax calculation on the input numerical value by operating the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c. Therefore, for example, when calculating the total tax-included total amount data of a plurality of products having different applicable tax rates, it is possible to individually specify the tax rate and input the tax-excluded amount data for a plurality of products having different applicable tax rates. The work can be facilitated. In FIGS. 8 (B1) to 8 (B7), the tax calculation is continuously executed for the numerical value to which the tax rate 1 is applied and the numerical value to which the tax rate 2 is applied, but the tax rate 1 and the tax rate 2 are mixed. You can specify (individually specify) to perform tax calculation.

なお、税込額が表示されている状態において、税計算を指示するために操作したキー(税込1計算キー11bまたは税込2計算キー11c)を続けて操作すると、CPU21は、税込額表示を税額表示に切り替えて表示部12に表示させる。例えば、税率1をもとに算出された税込額データが表示されている時(図3のステップA13)、税込1計算キー11bが操作された場合(ステップA14、Yes)、CPU21は、税率1をもとに算出した税額データを税率1合計メモリエリア22bから読み出して表示部12に表示させる(ステップA15)。さらに、続けて税込1計算キー11bが操作された場合(ステップA16、Yes)、ステップA13に戻り、CPU21は、税率1をもとに算出された税込額データを表示させる。また、税率2をもとに算出された税込額データが表示されている時(図5のステップA31)、税込2計算キー11cが操作された場合(ステップA32、Yes)、CPU21は、税率2をもとに算出した税額を税率2合計メモリエリア22cから読み出して表示部12に表示させる(ステップA33)。さらに、続けて税込2計算キー11cが操作された場合(ステップA34、Yes)、ステップA31に戻り、CPU21は、税率2をもとに算出された税込額データを表示部12に表示させる。すなわち、電卓10は、税込1計算キー11bあるいは税込2計算キー11cの操作に応じて税込額データを算出した後、税込1計算キー11bあるいは税込2計算キー11cに対する操作毎に、税込額データの表示と税額データの表示を交互に切り替えて表示部12に表示させることができる。よって、税込額と税額とを容易に確認することができる。 If the key operated to instruct the tax calculation (1 calculation key 11b including tax or 2 calculation key 11c including tax) is continuously operated while the tax-included amount is displayed, the CPU 21 displays the tax-included amount display as the tax amount. Is switched to and displayed on the display unit 12. For example, when the tax-included amount data calculated based on the tax rate 1 is displayed (step A13 in FIG. 3) and the tax-included 1 calculation key 11b is operated (steps A14, Yes), the CPU 21 has a tax rate of 1. The tax amount data calculated based on the above is read from the total memory area 22b of the tax rate 1 and displayed on the display unit 12 (step A15). Further, when the tax-included 1 calculation key 11b is continuously operated (steps A16, Yes), the process returns to step A13, and the CPU 21 displays the tax-included amount data calculated based on the tax rate 1. Further, when the tax-included amount data calculated based on the tax rate 2 is displayed (step A31 in FIG. 5), when the tax-included 2 calculation key 11c is operated (step A32, Yes), the CPU 21 has a tax rate of 2. The tax amount calculated based on the above is read from the total memory area 22c of the tax rate 2 and displayed on the display unit 12 (step A33). Further, when the tax-included 2 calculation key 11c is continuously operated (steps A34, Yes), the process returns to step A31, and the CPU 21 displays the tax-included amount data calculated based on the tax rate 2 on the display unit 12. That is, after the calculator 10 calculates the tax-included amount data according to the operation of the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c, the tax-included amount data is calculated for each operation on the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c. The display and the display of the tax amount data can be alternately switched to be displayed on the display unit 12. Therefore, the tax-included amount and the tax-included amount can be easily confirmed.

次に、税込額データあるいは税額データが表示された状態において、税計算合計キー11fが操作された場合(図6のステップA44、Yes)、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオンする(ステップA55)。次に、CPU21は、税率1合計メモリエリア22bに記憶された税率1をもとに算出された税込額データの合計データ(第1税込合計額データ)と、税率2合計メモリエリア22cに記憶された税率2をもとに算出された税込額データの合計データ(第2税込合計額データ)とを総合計した税込総合計額データを計算して、税合計メモリエリア22dに記憶させる(ステップA45)。 Next, when the tax calculation total key 11f is operated in the state where the tax-included amount data or the tax-amount data is displayed (steps A44 and Yes in FIG. 6), the CPU 21 uses the tax stored in the post-tax mode data 22e. After totaling, the mode is turned on (step A55). Next, the CPU 21 stores the total data of the tax-included amount data (first tax-included total amount data) calculated based on the tax rate 1 stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. The total tax-included data calculated based on the tax rate 2 (the second total tax-included data) and the total tax-included data are calculated and stored in the total tax memory area 22d (step A45). ).

ここで、CPU21は、前記計算された税込総合計額データが、前記表示桁数(12桁)である計算可能桁を超えたか否か判断し(ステップA45a)、超えない場合に(ステップA45a、No)、当該税込総合計額データを表示部12に表示させる(ステップA45b)。 Here, the CPU 21 determines whether or not the calculated total amount data including tax exceeds the computable digits, which is the number of display digits (12 digits) (step A45a), and if it does not exceed (step A45a, step A45a, No), the tax-included total amount data is displayed on the display unit 12 (step A45b).

電卓10は、税込総合計額データが表示部12に表示されている状態において、税計算合計キー11fを続けて操作することで、税込総合計額データの表示を、税抜総合計額データ、税総合計額データに順次切り替えて表示させることができる(税抜税総合計額表示制御処理)。 The calculator 10 displays the tax-included total amount data by continuously operating the tax calculation total key 11f while the tax-included total amount data is displayed on the display unit 12. It is possible to sequentially switch and display the total tax amount data (tax-excluded total amount display control process).

税込総合計額データが表示されている時(ステップA45b)、税計算合計キー11fが操作された場合(ステップA46、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、税込総合計額データに対応する税抜総合計額データを計算して税合計メモリエリア22dに記憶させる(ステップA47)。次に、CPU21は、前記計算された税抜総合計額データが、前記表示桁数(12桁)である計算可能桁を超えたか否か判断し(ステップA47a)、超えない場合に(ステップA47a、No)、当該税抜総合計額データを表示部12に表示させる(ステップA47b)。 When the tax-included total amount data is displayed (step A45b), when the tax calculation total key 11f is operated (step A46, Yes), the CPU 21 sets the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. Based on the stored data, the total tax-excluded total data corresponding to the total tax-included data is calculated and stored in the total tax memory area 22d (step A47). Next, the CPU 21 determines whether or not the calculated total amount data excluding tax exceeds the computable digits, which is the number of display digits (12 digits) (step A47a), and if it does not exceed (step A47a). , No), the tax-excluded total amount data is displayed on the display unit 12 (step A47b).

さらに、税抜総合計額データが表示されている時(ステップA47b)、税計算合計キー11fが操作された場合(ステップA48、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、税込総合計額データに対応する税総合計額データを計算して税合計メモリエリア22dに記憶させる(ステップA49)。次に、CPU21は、前記計算された税合計額データが、前記表示桁数(12桁)である計算可能桁を超えたか否か判断し(ステップA49a)、超えない場合に(ステップA49a、No)、当該税総合計額データを表示部12に表示させる(ステップA49b)。 Further, when the tax-excluded total amount data is displayed (step A47b), when the tax calculation total key 11f is operated (step A48, Yes), the CPU 21 has a tax rate 1 total memory area 22b and a tax rate 2 total memory. Based on the data stored in the area 22c, the total tax total amount data corresponding to the total tax-included total amount data is calculated and stored in the total tax memory area 22d (step A49). Next, the CPU 21 determines whether or not the calculated total tax amount data exceeds the computable digits, which is the number of display digits (12 digits) (step A49a), and if it does not exceed (steps A49a, No.). ), The total tax amount data is displayed on the display unit 12 (step A49b).

さらに、税計算合計キー11fが操作された場合(ステップA50、Yes)、ステップA45に戻り、CPU21は、前記同様に税込総合計額データを計算して表示部12に表示させる(ステップA45〜A45b)。 Further, when the tax calculation total key 11f is operated (steps A50, Yes), the process returns to step A45, and the CPU 21 calculates the tax-included total amount data and displays it on the display unit 12 (steps A45 to A45b). ).

すなわち、電卓10は、税計算合計キー11fの操作に応じて税込総合計額データを算出した後、税計算合計キー11fに対する操作毎に、税込総合計額データ、税込総合計額データに対応する税抜総合計額データ、税込総合計額データに対応する税総合計額データの表示を交互に切り替えることができる。よって、税込総合計額データ、税抜総合計額データ、税総合計額データを容易に確認することができる。 That is, the calculator 10 calculates the tax-included total amount data according to the operation of the tax calculation total key 11f, and then corresponds to the tax-included total amount data and the tax-included total amount data for each operation for the tax calculation total key 11f. The display of the total tax data and the total tax data corresponding to the total tax data can be switched alternately. Therefore, the total tax-included total amount data, the total tax-excluded total amount data, and the total tax total amount data can be easily confirmed.

図8(C1)〜図8(C3)には、税計算合計キー11fが操作された場合の表示例を示している。図8(B1)〜図8(B7)に示す複数の数値について税計算がされた後、税計算合計キー11fが操作されると、CPU21は、図8(C1)に示すように、税率1と税率2をそれぞれ適用した税込額データの総合計額データを示す税込総合計額データ「14302」を表示部12に表示させる。ここで、税計算合計キー11fが操作されると、CPU21は、図8(C2)に示すように、税抜総合計額データ「13100」を表示部12に表示させる。さらに、税計算合計キー11fが操作されると、CPU21は、図8(C3)に示すように、税総合計額データ「1202」を表示部12に表示させる(税抜税総合計額表示制御処理)。さらに、税計算合計キー11fが操作されると、CPU21は、税込総合計額データ「14302」を表示部12に表示させ、表示部12における表示内容が図8(C1)に示すものに戻る。 8 (C1) to 8 (C3) show a display example when the tax calculation total key 11f is operated. When the tax calculation total key 11f is operated after the tax calculation is performed on the plurality of numerical values shown in FIGS. 8 (B1) to 8 (B7), the CPU 21 determines the tax rate 1 as shown in FIG. 8 (C1). The tax-included total amount data "14302" indicating the total amount data of the tax-included amount data to which the tax rate 2 and the tax rate 2 are applied is displayed on the display unit 12. Here, when the tax calculation total key 11f is operated, the CPU 21 causes the display unit 12 to display the total tax-excluded total amount data “13100” as shown in FIG. 8 (C2). Further, when the tax calculation total key 11f is operated, the CPU 21 displays the total tax amount data "1202" on the display unit 12 as shown in FIG. 8 (C3) (tax-excluded total amount display control). process). Further, when the tax calculation total key 11f is operated, the CPU 21 displays the tax-included total amount data "14302" on the display unit 12, and the display content on the display unit 12 returns to that shown in FIG. 8 (C1).

なお、CPU21は、前記計算された税込総合計額データが前記表示桁数(12桁)である計算可能桁を超えたと判断した場合(図6のステップA45a、Yes)、当該税込総合計額データを、前記表示可能桁を超えた下位の桁を非表示にした概数として表示させ、概数エラーのシンボル(E)を表示させる(ステップA45c)。ここで、[C](エラー解除)キー11xが操作されると(ステップA45d、Yes)、前記概数エラー(E)の表示が解除され、前記概数データとしての税込総合計額データの表示が保持される(ステップA45e)。そして、税計算合計キー11fが続けて操作されるか否かの判断の待機状態になる(ステップA46)。 When the CPU 21 determines that the calculated total tax-included total amount data exceeds the computable digits which are the number of display digits (12 digits) (steps A45a and Yes in FIG. 6), the total tax-included total amount data Is displayed as an approximate number in which the lower digits exceeding the displayable digits are hidden, and the symbol (E) of the approximate number error is displayed (step A45c). Here, when the [C] (error release) key 11x is operated (step A45d, Yes), the display of the approximate number error (E) is canceled, and the display of the total amount data including tax as the approximate number data is retained. (Step A45e). Then, the tax calculation total key 11f is in a standby state for determining whether or not it is continuously operated (step A46).

また、CPU21は、前記同様に、前記計算された税抜総合計額データが前記表示桁数(12桁)である計算可能桁を超えたと判断した場合(ステップA47a、Yes)、当該税抜総合計額を、前記表示可能桁を超えた下位の桁を非表示にした概数として表示させ、概数エラーのシンボル(E)を表示させる(ステップA47c)。ここで、[C](エラー解除)キー11xが操作されると(ステップA47d、Yes)、前記概数エラー(E)の表示が解除され、前記概数データとしての税抜総合計額データの表示が保持される(ステップA47e)。そしてまた、税計算合計キー11fが続けて操作されるか否かの判断の待機状態になる(ステップA48)。 Further, similarly, when the CPU 21 determines that the calculated total tax-excluded total amount data exceeds the computable digit which is the number of display digits (12 digits) (steps A47a, Yes), the total tax-excluded total amount is determined. The total amount is displayed as an approximate number in which the lower digits exceeding the displayable digits are hidden, and the symbol (E) of the approximate number error is displayed (step A47c). Here, when the [C] (error release) key 11x is operated (step A47d, Yes), the display of the approximate number error (E) is canceled, and the total amount data excluding tax as the approximate number data is displayed. It is held (step A47e). Then, the tax calculation total key 11f is in a standby state for determining whether or not the tax calculation total key 11f is continuously operated (step A48).

さらに、CPU21は、前記同様に、前記計算された税総合計額データが前記表示桁数(12桁)である計算可能桁を超えたと判断した場合(ステップA49a、Yes)、当該税総合計額データを、前記表示可能桁を超えた下位の桁を非表示にした概数として表示させ、概数エラーのシンボル(E)を表示させる(ステップA49c)。ここで、[C](エラー解除)キー11xが操作されると(ステップA49d、Yes)、前記概数エラー(E)の表示が解除され、前記概数データとしての税総合計額データの表示が保持される(ステップA49e)。そしてまた、税計算合計キー11fが続けて操作されるか否かの判断の待機状態になる(ステップA50)。 Further, similarly, when the CPU 21 determines that the calculated total tax amount data exceeds the computable digit which is the number of display digits (12 digits) (steps A49a, Yes), the total tax amount The data is displayed as an approximate number in which the lower digits exceeding the displayable digits are hidden, and the symbol (E) of the approximate number error is displayed (step A49c). Here, when the [C] (error release) key 11x is operated (step A49d, Yes), the display of the approximate number error (E) is canceled, and the display of the total tax amount data as the approximate number data is retained. (Step A49e). Further, the tax calculation total key 11f is in a standby state for determining whether or not it is continuously operated (step A50).

この税計算合計キー11fの操作に応じた計算結果データ(税込総合計額データ又は税抜総合計額データ又は税総合計額データ)のデータが概数データとして表示される場合の動作例については後述する。 An operation example when the calculation result data (tax-included total amount data, tax-excluded total amount data, or tax total amount data) corresponding to the operation of the tax calculation total key 11f is displayed as approximate number data will be described later. do.

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

図8(C1)〜図8(C3)に示すように、税込総合計額データ、税抜総合計額データ、あるいは税総合計額データが表示部12に表示された状態において、税込1計算キー11bが操作された場合(図3のステップA8、Yes)、CPU21は、税合計後モードがオン状態にあるため(ステップA9、A11、No)、少なくとも1つの数値に対応する第1税込額データの合計を示す第1税込合計額データを税率1合計メモリエリア22bから読み出して表示部12に表示させる(図4のステップA17)。さらに、第1税込合計額データが表示部12に表示されている状態において(ステップA17)、税込1計算キー11bが操作された場合(ステップA18、Yes)、CPU21は、税率1合計メモリエリア22bから第1税込合計額データに対応する第1税抜合計額データを読み出して表示部12に表示させる(ステップA19)。さらに、第1税抜額データが表示部12に表示された状態において、税込1計算キー11bが操作された場合(ステップA20、Yes)、CPU21は、税率1合計メモリエリア22bから第1税込合計額データに対応する第1税合計額データを読み出して表示部12に表示させる(ステップA21)。すなわち、電卓10は、税込総合計額データが算出された後では、税込1計算キー11bに対する操作毎に、税率1をもとに算出された第1税込合計額データ、第1税抜合計額データ、第1税合計額データの何れかの表示に切り替えることができる。よって、第1税込合計額データ、第1税抜合計額データ、第1税合計額データを容易に確認することができる。 As shown in FIGS. 8 (C1) to 8 (C3), one calculation key including tax is displayed in the state where the total tax-included total amount data, the total tax-excluded total amount data, or the total tax-included total amount data is displayed on the display unit 12. When 11b is operated (steps A8 and Yes in FIG. 3), the CPU 21 has the post-tax mode turned on (steps A9, A11, No), so that the first tax-included amount data corresponding to at least one numerical value is available. The first tax-included total amount data indicating the total of the above is read from the tax rate 1 total memory area 22b and displayed on the display unit 12 (step A17 in FIG. 4). Further, when the first tax-included total amount data is displayed on the display unit 12 (step A17) and the tax-included 1 calculation key 11b is operated (steps A18, Yes), the CPU 21 determines the tax rate 1 total memory area 22b. The first tax-excluded total amount data corresponding to the first tax-included total amount data is read out from and displayed on the display unit 12 (step A19). Further, when the tax-included 1 calculation key 11b is operated (steps A20, Yes) while the first tax-excluded data is displayed on the display unit 12, the CPU 21 starts the tax rate 1 total memory area 22b to the first tax-included total amount. The first tax total amount data corresponding to the data is read out and displayed on the display unit 12 (step A21). That is, after the total tax-included total amount data is calculated, the calculator 10 has the first tax-included total amount data and the first tax-excluded total amount calculated based on the tax rate 1 for each operation on the tax-included 1 calculation key 11b. It is possible to switch to the display of either the data or the first tax total amount data. Therefore, the first tax-included total amount data, the first tax-excluded total amount data, and the first tax total amount data can be easily confirmed.

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

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

一方、図8(C1)〜図8(C3)に示すように、税込総合計額データ、税抜総合計額データ、あるいは税総合計額データが表示部12に表示された状態において、税込2計算キー11cが操作された場合(図5のステップA26、Yes)、CPU21は、税合計後モードがオン状態にあるため(ステップA29、No)、少なくとも1つの数値に対応する第2税込額データの合計データを示す第2税込合計額データを税率2合計メモリエリア22cから読み出して表示部12に表示させる(ステップA35)。さらに、第2税込合計額データが表示部12に表示されている状態において(ステップA35)、税込2計算キー11cが操作された場合(ステップA36、Yes)、CPU21は、税率2合計メモリエリア22cから第2税込合計額データに対応する第2税抜合計額データを読み出して表示部12に表示させる(ステップA37)。さらに、第2税抜額データが表示部12に表示された状態において、税込2計算キー11cが操作された場合(ステップA38、Yes)、CPU21は、税率2合計メモリエリア22cから第2税込合計額データに対応する第2税合計額データを読み出して表示部12に表示させる(ステップA39)。すなわち、電卓10は、税込総合計額データが算出された後では、税込2計算キー11cに対する操作毎に、税率2をもとに算出された第2税込合計額データ、第2税抜合計額データ、第2税合計額データの何れかの表示に切り替えることができる。よって、第2税込合計額データ、第2税抜合計額データ、第2税合計額データを容易に確認することができる。 On the other hand, as shown in FIGS. 8 (C1) to 8 (C3), tax-included total amount data, tax-excluded total amount data, or tax-excluded total amount data is displayed on the display unit 12, and tax-included 2 When the calculation key 11c is operated (steps A26, Yes in FIG. 5), the CPU 21 is in the post-tax mode on (steps A29, No), so that the second tax-included amount data corresponding to at least one numerical value. The second tax-included total amount data indicating the total data of the above is read from the tax rate 2 total memory area 22c and displayed on the display unit 12 (step A35). Further, when the second tax-included total amount data is displayed on the display unit 12 (step A35) and the tax-included 2 calculation key 11c is operated (step A36, Yes), the CPU 21 determines the tax rate 2 total memory area 22c. The second tax-excluded total amount data corresponding to the second tax-included total amount data is read out from and displayed on the display unit 12 (step A37). Further, when the tax-included 2 calculation key 11c is operated in the state where the second tax-excluded amount data is displayed on the display unit 12 (steps A38, Yes), the CPU 21 is charged with the tax rate 2 total memory area 22c to the second tax-included total amount. The second tax total amount data corresponding to the data is read out and displayed on the display unit 12 (step A39). That is, after the total tax-included total amount data is calculated, the calculator 10 has the second tax-included total amount data and the second tax-excluded total amount calculated based on the tax rate 2 for each operation on the tax-included 2 calculation key 11c. It is possible to switch to the display of either the data or the second tax total amount data. Therefore, the second tax-included total amount data, the second tax-excluded total amount data, and the second tax total amount data can be easily confirmed.

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

なお、図8(E1)〜図8(E3)に示す表示状態において税込1計算キー11bが操作された場合には(ステップA41、A42、A43、Yes)、CPU21は、図8(D1)〜図8(D3)に示す第1税込合計額データの表示に切り替える(図3のステップA11、No。図4のステップA17)。また、図8(E1)〜図8(E3)に示す表示状態において税計算合計キー11fが操作された場合には(図5のステップA52、Yes)、CPU21は、前述した税込総合計額データの表示状態に移行する(図6のステップA45)。 When the tax-included 1 calculation key 11b is operated in the display state shown in FIGS. 8 (E1) to 8 (E3) (steps A41, A42, A43, Yes), the CPU 21 is shown in FIGS. 8 (D1) to 8 (D1). Switch to the display of the first tax-included total amount data shown in FIG. 8 (D3) (steps A11 and No. in FIG. 3; step A17 in FIG. 4). Further, when the tax calculation total key 11f is operated in the display state shown in FIGS. 8 (E1) to 8 (E3) (steps A52 and Yes in FIG. 5), the CPU 21 is subjected to the above-mentioned total tax-included total amount data. (Step A45 in FIG. 6).

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

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

(概数エラー機能)
図9は、本実施形態における電卓10の概数エラー機能を説明するための入力操作と表示の具体例を示す図である。
(Approximate number error function)
FIG. 9 is a diagram showing a specific example of an input operation and a display for explaining the approximate number error function of the calculator 10 in the present embodiment.

ここでは、例えばインフレにより貨幣価値が著しく低い国の通貨で、2つの税率(税率1=10%,税率2=8%)が適用される各商品A〜Dを対象に税計算を行なうと仮定する。 Here, for example, it is assumed that the tax is calculated for each product A to D to which two tax rates (tax rate 1 = 10%, tax rate 2 = 8%) are applied in the currency of a country whose monetary value is extremely low due to inflation. do.

まず、[AC]キー11aの操作に応じて、CPU21により、税率1合計メモリエリア22b、税率2合計メモリエリア22c、税合計メモリエリア22dがクリアされ、税合計後モードがオフに設定され、図9(A)に示すように、表示部12に「0」が表示された状態で(図3のステップA1〜A3)、図9(B)に示すように、税率1が適用される商品Aの価格の数値データ「5000…00」(5000億)が入力され(ステップA4、Yes。ステップA5)、税込1計算キー11bが操作される(ステップA8、Yes)。 First, in response to the operation of the [AC] key 11a, the CPU 21 clears the tax rate 1 total memory area 22b, the tax rate 2 total memory area 22c, and the tax total memory area 22d, and the post-tax mode is set to off. As shown in 9 (A), with "0" displayed on the display unit 12 (steps A1 to A3 in FIG. 3), as shown in FIG. 9 (B), the product A to which the tax rate 1 is applied. The numerical data "500 ... 00" (500 billion) of the price is input (step A4, Yes. Step A5), and the tax-included 1 calculation key 11b is operated (step A8, Yes).

すると、税合計後モードはオフに設定されているため(ステップA9、No。ステップA11、Yes)、図9(C)に示すように、CPU21は、税率1をもとに計算して税率1合計メモリエリア22bに記憶した税込額データ「5500…00」(5500億)を表示部12に表示させる(ステップA12、A13)。 Then, since the post-tax mode is set to off (steps A9, No. Steps A11, Yes), the CPU 21 calculates the tax rate 1 based on the tax rate 1 as shown in FIG. 9C. The tax-included amount data "550 ... 00" (550 billion) stored in the total memory area 22b is displayed on the display unit 12 (steps A12 and A13).

同様に、図9(D)に示すように、税率1が適用される商品Bの価格の数値データ「3000…00」(3000億)が入力され(ステップA4、Yes。ステップA5)、税込1計算キー11bが操作されると(ステップA8、Yes)、CPU21は、税率1をもとに計算して税率1合計メモリエリア22bに記憶した税込額データ「3300…00」(3300億)を表示部12に表示させる(ステップA11、Yes。ステップA12、A13)。 Similarly, as shown in FIG. 9D, the numerical data “300… 00” (300 billion) of the price of the product B to which the tax rate 1 is applied is input (step A4, Yes. Step A5), and tax-included 1 When the calculation key 11b is operated (steps A8, Yes), the CPU 21 displays the tax-included amount data "330 ... 00" (330 billion) calculated based on the tax rate 1 and stored in the total memory area 22b of the tax rate 1. It is displayed on the unit 12 (steps A11, Yes. Steps A12, A13).

続いて、図9(E)に示すように、税率2が適用される商品Cの価格の数値データ「1500…00」(1500億)が入力され(ステップA4、Yes。ステップA5)、税込2計算キー11cが操作されると(図5のステップA26、Yes)、CPU21は、税率2をもとに計算して税率2合計メモリエリア22cに記憶した税込額データ「1620…00」(1620億)を表示部12に表示させる(ステップA29、Yes。ステップA30、A31)。 Subsequently, as shown in FIG. 9 (E), numerical data “1500 ... 00” (150 billion) of the price of the product C to which the tax rate 2 is applied is input (step A4, Yes. Step A5), and tax-included 2 When the calculation key 11c is operated (steps A26 and Yes in FIG. 5), the CPU 21 calculates the tax rate 2 based on the tax rate 2 and stores the tax rate 2 total memory area 22c in the tax-included amount data “162… 00” (162 billion). ) Is displayed on the display unit 12 (steps A29, Yes. Steps A30, A31).

同様に、図9(F)に示すように、税率2が適用される商品Dの価格の数値データ「700…00」(700億)が入力され(図3のステップA4、Yes。ステップA5)、税込2計算キー11cが操作されると(図5のステップA26、Yes)、CPU21は、税率2をもとに計算して税率2合計メモリエリア22cに記憶した税込額データ「756…00」(756億)を表示部12に表示させる(ステップA29、Yes。ステップA30、A31)。 Similarly, as shown in FIG. 9 (F), numerical data “700… 00” (70 billion) of the price of the product D to which the tax rate 2 is applied is input (steps A4 and Yes in FIG. 3). When the tax-included 2 calculation key 11c is operated (steps A26 and Yes in FIG. 5), the CPU 21 calculates the tax rate 2 based on the tax rate 2 and stores the tax-included amount data "756 ... 00" in the total memory area 22c. (75.6 billion) is displayed on the display unit 12 (steps A29, Yes. Steps A30, A31).

そして、図9(G)に示すように、税計算合計キー11fが操作されると(図6のステップA44、Yes)、CPU21は、税合計後モードデータ22eに記憶された税合計後モードをオンにし(ステップA55)、税率1合計メモリエリア22bに記憶された税率1での商品A,Bの税込額の合計データ(第1税込合計額データ)「8800…00」(8800億)と、税率2合計メモリエリア22cに記憶された税率2での商品C,Dの税込額の合計データ(第2税込合計額データ)「2376…00」(2376億)とを総合計した税込総合計額データ「11176…00」(1兆1176億)を計算して、税合計メモリエリア22dに記憶させる(ステップA45)
この際、前記計算された税込総合計額データ「11176…00」(1兆1176億)は表示部12の表示桁数(12桁)である計算可能桁を1桁超えているので(ステップA45a、Yes)、CPU21は、当該税込総合計額を、前記表示可能桁を超えた下位1桁を非表示にした概数データ「1.1176…0」として表示させ、概数エラーのシンボル(E)を表示させる(ステップA45c)。
Then, as shown in FIG. 9 (G), when the tax calculation total key 11f is operated (steps A44 and Yes in FIG. 6), the CPU 21 sets the post-tax mode stored in the post-tax mode data 22e. Turn it on (step A55), and the total data of the tax-included amount of products A and B at the tax rate 1 stored in the tax rate 1 total memory area 22b (first tax-included total amount data) "888 ... 00" (880 billion). Tax rate 2 total tax-included total amount including tax-included total data of products C and D at tax rate 2 stored in the memory area 22c (second tax-included total amount data) "2376 ... 00" (237.6 billion) The data "11176 ... 00" (1.1176 trillion) is calculated and stored in the total tax memory area 22d (step A45).
At this time, since the calculated total amount data including tax "11176 ... 00" (1,117.6 billion) exceeds the calculable digit which is the number of display digits (12 digits) of the display unit 12 (step A45a). , Yes), the CPU 21 displays the total amount including tax as approximate number data "1.1176 ... 0" in which the lower one digit exceeding the displayable digit is hidden, and the symbol (E) of the approximate number error is displayed. Display (step A45c).

ユーザは、前記表示された税込総合計額データの概数「1.1176…0」の上位1桁に小数点が表示されていることで、当該税込総合計額データが下位1桁を非表示とした概数であることを知ることができるが、非表示である下位1桁の数値が“0”であり、前記概数として表示された税込総合計額データが正確な数値であることを確認できないと、この税計算を正確なものとして先に進めることができない。 The user hides the lower 1 digit of the tax-included total amount data by displaying the decimal point in the upper 1 digit of the approximate number "1.1176 ... 0" of the displayed tax-included total amount data. It can be known that it is an approximate number, but if it is not possible to confirm that the hidden lower one digit value is "0" and the tax-included total amount data displayed as the approximate number is an accurate value, This tax calculation cannot be made accurate and advanced.

ここで、図9(H)に示すように、[C](エラー解除)キー11xが操作されると(ステップA45d、Yes)、CPU21は、前記概数エラー(E)の表示を解除し、前記概数としての税込総合計額データの表示「1.1176…0」を保持する(ステップA45e)。 Here, as shown in FIG. 9H, when the [C] (error release) key 11x is operated (steps A45d, Yes), the CPU 21 cancels the display of the approximate number error (E), and the above. The display "1.1176 ... 0" of the total amount data including tax as an approximate number is retained (step A45e).

そして、前記概数データとして表示されている税込総合計額データ「1.1176…0」の内訳を見るため、まず、図9(I)に示すように、税込1計算キー11bが操作されると(図3のステップA8、Yes)、税合計後モードはオンに設定されているため(ステップA11、No)、CPU21は、税率1合計メモリエリア22bから第1税込額データの合計を示す第1税込合計額データ「8800…00」(8800億)を読み出して表示部12に表示させる(図4のステップA17)。 Then, in order to see the breakdown of the tax-included total amount data "1.1176 ... 0" displayed as the approximate number data, first, as shown in FIG. 9 (I), when the tax-included 1 calculation key 11b is operated. (Steps A8, Yes in FIG. 3) Since the post-tax mode is set to ON (steps A11, No), the CPU 21 is the first indicating the total of the first tax-included amount data from the tax rate 1 total memory area 22b. The total amount data including tax "880 ... 00" (880 billion) is read out and displayed on the display unit 12 (step A17 in FIG. 4).

続いて、図9(J)に示すように、税込2計算キー11cが操作されると(ステップA23、Yes)、税合計後モードはオンに設定されているため(図5のステップA29、No)、CPU21は、税率2合計メモリエリア22cから第2税込額データの合計を示す第2税込合計額データ「2376…00」(2376億)を読み出して表示部12に表示させる(ステップA35)。 Subsequently, as shown in FIG. 9 (J), when the tax-included 2 calculation key 11c is operated (steps A23, Yes), the post-tax mode is set to ON (steps A29, No. in FIG. 5). ), The CPU 21 reads out the second tax-included total amount data “2376 ... 00” (237.6 billion) indicating the total of the second tax-included amount data from the tax rate 2 total memory area 22c and displays it on the display unit 12 (step A35).

これにより、ユーザは、前記概数データとして表示された税込総合計額データ「1.1176…0」の内訳である第1税込合計額データ「8800…00」(8800億)と第2税込合計額データ「2376…00」(2376億)の何れもその下1桁の数値が“0”であることを容易に確認でき、前記概数として表示された税込総合計額データ「1.1176…0」について、非表示である下位1桁の数値も“0”であり正確であることを確認することができる。 As a result, the user can use the first tax-included total amount data "888 ... 00" (880 billion) and the second tax-included total amount, which is a breakdown of the tax-included total amount data "1.1176 ... 0" displayed as the approximate number data. It can be easily confirmed that the last digit of any of the data "2376 ... 00" (237.6 billion) is "0", and the total amount data including tax "1.1176 ... 0" displayed as the approximate number. It can be confirmed that the hidden lower one digit value is also "0" and is accurate.

そして、図9(K)に示すように、再び税計算合計キー11fが操作されると(ステップA52、Yes)、CPU21は、前記同様に、税率1合計メモリエリア22bに記憶された税率1での商品A,Bの税込額データの合計データ(第1税込合計額データ)「8800…00」(8800億)と、税率2合計メモリエリア22cに記憶された税率2での商品C,Dの税込額データの合計データ(第2税込合計額データ)「2376…00」(2376億)とを総合計した税込総合計額データ「11176…00」(1兆1176億)を計算して、税合計メモリエリア22dに記憶させ(図6のステップA45)、当該税込総合計額データを、下位1桁を非表示にした概数「1.1176…0」(概数エラー(E))として表示させる(ステップA45a、Yes。ステップA45c)。 Then, as shown in FIG. 9 (K), when the tax calculation total key 11f is operated again (steps A52, Yes), the CPU 21 uses the tax rate 1 stored in the tax rate 1 total memory area 22b in the same manner as described above. Total data of tax-included amount data of products A and B (first tax-included total amount data) "888 ... 00" (880 billion) and tax rate 2 of products C and D at tax rate 2 stored in the total memory area 22c. Calculate the total tax-included total data "11176 ... 00" (1,117.6 billion), which is the total of the total tax-included data (the second total tax-included data) "2376 ... 00" (237.6 billion), and tax. It is stored in the total memory area 22d (step A45 in FIG. 6), and the total tax-included total amount data is displayed as an approximate number "1.1176 ... 0" (approximate number error (E)) in which the lower one digit is hidden (approximate number error (E)). Step A45a, Yes. Step A45c).

ここでまた、図9(L)に示すように、[C](エラー解除)キー11xの操作により(ステップA45d、Yes)、前記概数エラー(E)の表示を解除し(ステップA45e)、図9(M)に示すように、もう一度、税計算合計キー11fが操作されると(ステップA46、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、前記税込総合計額データ「11176…00」(1兆1176億)に対応する税抜総合計額データ「10200…00」(1兆200億)を計算して税合計メモリエリア22dに記憶させる(ステップA47)。また、CPU21は、前記計算された税抜総合計額データ「10200…00」(1兆200億)が、表示部12の表示桁数(12桁)である計算可能桁を1桁超えたと判断し(ステップA47a、Yes)、当該税抜総合計額を、前記表示可能桁を超えた下位1桁を非表示にした概数「1.0200…0」として表示させ、概数エラーのシンボル(E)を表示させる(ステップA47c)。 Here again, as shown in FIG. 9 (L), the display of the approximate number error (E) is canceled by operating the [C] (error release) key 11x (step A45d, Yes) (step A45e). As shown in 9 (M), when the tax calculation total key 11f is operated again (steps A46, Yes), the CPU 21 outputs the data stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. Based on the tax-excluded total amount data "10200 ... 00" (1.2 trillion) corresponding to the tax-included total amount data "11176 ... 00" (1.117.6 trillion), the total tax memory area 22d (Step A47). Further, the CPU 21 determines that the calculated total amount data excluding tax "10200 ... 00" (1.2 trillion) exceeds the computable digit, which is the number of display digits (12 digits) of the display unit 12. (Step A47a, Yes), the total amount excluding tax is displayed as an approximate number "1.0200 ... 0" in which the lower one digit exceeding the displayable digit is hidden, and the approximate number error symbol (E) is displayed. Is displayed (step A47c).

この際、ユーザは、前記各商品A〜Dの税抜額データ(図9(B)、図9(D)、図9(E)、図9(F)参照)の何れもその下1桁の数値が“0”であることを知っているので、前記概数データとして表示された税抜総合計額データ「1.0200…0」について、非表示である下位1桁の数値も“0”であることを確認できる。 At this time, the user can use the tax-excluded data of each of the products A to D (see FIGS. 9 (B), 9 (D), 9 (E), and 9 (F)) in the last digit. Since we know that the numerical value is "0", the hidden lower 1 digit numerical value of the total tax-excluded total amount data "1.0200 ... 0" displayed as the approximate number data is also "0". You can confirm that there is.

ここでまた、図9(N)に示すように、[C](エラー解除)キー11xの操作により(ステップA47d、Yes)、前記概数エラー(E)の表示を解除し(ステップA47e)、図9(O)に示すように、更にもう一度、税計算合計キー11fが操作されると(ステップA48、Yes)、CPU21は、税率1合計メモリエリア22bと税率2合計メモリエリア22cに記憶されたデータをもとに、前記税込総合計額データ「11176…00」(1兆1176億)に対応する税総合計額データ「9760…00」(9760億)を計算して税合計メモリエリア22dに記憶させ(ステップA49)、当該税総合計額データを表示部12に表示させる(ステップA49a、No。ステップA49b)。 Here again, as shown in FIG. 9 (N), the display of the approximate number error (E) is canceled by operating the [C] (error release) key 11x (step A47d, Yes) (step A47e). As shown in 9 (O), when the tax calculation total key 11f is operated again (steps A48, Yes), the CPU 21 outputs the data stored in the tax rate 1 total memory area 22b and the tax rate 2 total memory area 22c. Based on the above, the total tax amount data "9760 ... 00" (976 billion) corresponding to the total tax-included total amount data "11176 ... 00" (1.117.6 trillion) is calculated and stored in the total tax memory area 22d. (Step A49), and the total tax amount data is displayed on the display unit 12 (step A49a, No. step A49b).

したがって、前記構成の電卓10による税計算機能及び概数エラー機能によれば、税率1の商品の税抜額データである数値が入力され税込1計算キー(第1税計算キー)11bが操作されると、前記税率1での税込額データが計算され、税率1合計メモリエリア22bの第1税込合計額データとして加算され記憶される。同様に、税率2の商品の税抜額データである数値が入力され税込2計算キー(第2税計算キー)11cが操作されると、前記税率2での税込額データが計算され、税率2合計メモリエリア22cに第2税込合計額データとして加算され記憶される。 Therefore, according to the tax calculation function and the approximate number error function of the calculator 10 having the above configuration, when a numerical value which is tax-excluded data of a product having a tax rate of 1 is input and the tax-included 1 calculation key (first tax calculation key) 11b is operated. , The tax-included amount data at the tax rate 1 is calculated, and is added and stored as the first tax-included total amount data of the tax rate 1 total memory area 22b. Similarly, when a numerical value that is tax-excluded data for a product with tax rate 2 is input and the tax-included 2 calculation key (second tax calculation key) 11c is operated, the tax-included amount data at the tax rate 2 is calculated, and the tax rate 2 total is calculated. It is added and stored in the memory area 22c as the second tax-included total amount data.

そして、税計算合計キー11fが操作されると、税合計後モードがオンとなり、前記第1税込合計額データと第2税込合計額データとを総合計した税込総合計額データが計算されて表示部12に表示され、この際、当該税込総合計額データが表示桁数(計算可能桁数)を超えた場合はその超えた桁数分の下位桁を非表示とし上位桁に小数点を加えた概数(概数エラーE)として表示部12に表示される。 Then, when the tax calculation total key 11f is operated, the post-tax mode is turned on, and the tax-included total amount data, which is the total of the first tax-included total amount data and the second tax-included total amount data, is calculated and displayed. It is displayed in Part 12, and if the total amount data including tax exceeds the number of displayed digits (calculable digits), the lower digits of the excess digits are hidden and a decimal point is added to the upper digits. It is displayed on the display unit 12 as an approximate number (approximate number error E).

この後、[C](エラー解除)キー11xの操作により前記概数エラーEを解除し、税込1計算キー11bが操作されると、税合計後モードがオンであることで、前記第1税込合計額データが読み出されて表示部12に表示され、また、税込2計算キー11cが操作されると、同様に前記第2税込合計額データが読み出されて表示部12に表示される。 After that, when the approximate number error E is canceled by operating the [C] (error release) key 11x and the tax-included 1 calculation key 11b is operated, the tax-included post-tax mode is turned on, so that the first tax-included total is turned on. When the amount data is read out and displayed on the display unit 12, and when the tax-included 2 calculation key 11c is operated, the second tax-included total amount data is similarly read out and displayed on the display unit 12.

これにより、ユーザは、前記概数として表示部12に表示された税込総合計額データの内訳である第1税込合計額データと第2税込合計額データの何れもその下1桁の数値が“0”であるか否かを容易に確認することができ、前記概数として表示部12に表示された税込総合計額について、非表示である下位桁の数値も“0”であり正確であることを確認できる。 As a result, the user can set the last digit of both the first tax-included total amount data and the second tax-included total amount data, which are the breakdown of the tax-included total amount data displayed on the display unit 12 as the approximate number, to "0". It can be easily confirmed whether or not it is, and the hidden lower digit value of the total amount including tax displayed on the display unit 12 as the approximate number is also "0" and is accurate. You can check.

よって、前記構成の電卓10によれば、税込額データの総合計計算時において概数エラーとなった場合に、オーバフローにより非表示となる下位の桁の値を容易に確認することが可能になる。 Therefore, according to the calculator 10 having the above configuration, it is possible to easily confirm the value of the lower digit that is hidden due to overflow when an approximate number error occurs at the time of total calculation of the tax-included amount data.

なお、前述した説明では、税込1計算キー11bと税込2計算キー11cに対する入力操作がある場合を例にしているが、税抜1計算キー11dと税抜2計算キー11eに対する入力操作がある場合についても同様の処理を実行することも可能である。ただし、税抜1計算キー11dあるいは税抜2計算キー11eが操作された場合、CPU21は、税抜額データを税込額データよりも優先して表示させるものとする。その他は、税込1計算キー11bまたは税込2計算キー11cが操作された場合と同様に処理する。
本発明の実施例では、税計算についての実施例で説明したが、税込み総合計に限定されることなく、複数のメモリ(メモリ1、メモリ2)に対する加算キー(M+1,M+2)により各メモリを演算(加算)し、その後、各メモリを合計した値(M1+M2)を表示させるような電子機器についても適用可能である。
すなわち、本発明では、入力された税抜数値データ(第1計算データ)に対して、税込1キー(第1計算操作)が受け付けられると、入力された税抜数値に対する税込数値データが第1結果データとして税込1合計メモリに加算され、1又は複数加算された結果である第1合計データが第1税込合計メモリ(第1合計メモリ)に記憶される。そして、入力された税抜数値データ(第2計算データ)に対して、税込2キー(第2計算操作)が受け付けられると、入力された税抜数値に対する税込数値データが第2結果データとして税込2合計メモリに加算され、1又は複数加算された結果である第2合計データが第2税込合計メモリ(第2合計メモリ)に記憶される。そして、税込総合計キーが操作されると、前記第1合計メモリに1又は複数の第1結果データが加算された結果である第1税込合計データ(第1合計データ)と、前記第2合計メモリに1又は複数の第2結果データが加算された結果である第2税込合計データ(第2合計データ)とを総合計した税込総合計データ(総合計データ)が表示部の表示可能桁を超えたか否か判断される。そして前記総合計データが前記表示部の表示可能桁を超えたと判断された場合に税込総合計データ(総合計データ)の概数データが前記表示部に表示される(概数表示)。そして税込総合計データ(総合計データ)の概数データが前記表示部に表示された後に、ユーザ操作に応じて、第1税込合計データ(前記第1合計メモリに記憶された第1合計データ)又は第2税込合計データ(前記第2合計メモリに記憶された第2合計データ)が前記表示部に表示されることとなる。このように、本発明は税率毎の税込みキーと税率毎の税込合計、税込み総合計に限定されることなく、複数のメモリ(メモリ1、メモリ2)に対する加算キー(M+1,M+2)により各メモリを加算し、その後、各メモリを合計した値(M1+M2)を表示させるような電子機器についても適用可能である。
In the above description, the case where there is an input operation for the tax-included 1 calculation key 11b and the tax-included 2 calculation key 11c is taken as an example, but there is a case where there is an input operation for the tax-excluded 1 calculation key 11d and the tax-excluded 2 calculation key 11e. It is also possible to execute the same processing for. However, when the tax-excluded 1 calculation key 11d or the tax-excluded 2 calculation key 11e is operated, the CPU 21 shall display the tax-excluded amount data in preference to the tax-included amount data. Others are processed in the same manner as when the tax-included 1 calculation key 11b or the tax-included 2 calculation key 11c is operated.
In the embodiment of the present invention, the tax calculation has been described in the embodiment, but the memory is not limited to the total including tax, and each memory is used by the addition keys (M + 1, M + 2) for a plurality of memories (memory 1, memory 2). It is also applicable to electronic devices that perform calculations (addition) and then display the total value (M1 + M2) of each memory.
That is, in the present invention, when the tax-included 1 key (first calculation operation) is accepted for the input tax-excluded numerical data (first calculation data), the tax-included numerical data for the input tax-excluded numerical value is first. As the result data, it is added to the tax-included 1 total memory, and the first total data which is the result of adding one or more is stored in the first tax-included total memory (first total memory). Then, when the tax-included 2 keys (second calculation operation) are accepted for the input tax-excluded numerical data (second calculation data), the tax-included numerical data for the input tax-excluded numerical value is tax-included as the second result data. The second total data, which is the result of being added to the two total memories and one or more being added, is stored in the second total memory including tax (second total memory). Then, when the tax-included total key is operated, the first tax-included total data (first total data), which is the result of adding one or a plurality of first result data to the first total memory, and the second total The tax-included total data (total data), which is the sum of the second tax-included total data (second total data), which is the result of adding one or more second result data to the memory, is the displayable digit of the display unit. It is judged whether or not it has been exceeded. Then, when it is determined that the total total data exceeds the displayable digits of the display unit, the approximate number data of the total tax-included total data (total total data) is displayed on the display unit (approximately number display). Then, after the approximate number data of the total tax-included data (total data) is displayed on the display unit, the first total data including tax (the first total data stored in the first total memory) or the first total data stored in the first total memory is received according to the user operation. The second total data including tax (the second total data stored in the second total memory) will be displayed on the display unit. As described above, the present invention is not limited to the tax-included key for each tax rate, the tax-included total for each tax rate, and the tax-included total total, and each memory is provided by an addition key (M + 1, M + 2) for a plurality of memories (memory 1, memory 2). Is added, and then the total value (M1 + M2) of each memory is displayed.

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

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

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

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

[1]
入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付ける第1計算受付手段と、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付ける第2計算受付手段と、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを計算した総演算データが表示部の表示可能桁を超えたか否かを判断する表示桁判断手段と、
前記表示桁判断手段により前記総演算データが前記表示部の表示可能桁を超えたと判断された場合に前記総演算データの概数データを前記表示部に表示させる概数表示制御手段と、
前記概数表示制御手段により前記総演算データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる個別合計表示制御手段と、
を備えた計算装置。
[1]
A first calculation receiving means that accepts a first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory. When,
A second calculation reception that accepts a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory. Means and
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. A display digit determination means for determining whether or not the total calculation data calculated with the updated second total data exceeds the displayable digits of the display unit.
When the display digit determination means determines that the total calculation data exceeds the displayable digits of the display unit, the approximate number display control means for displaying the approximate number data of the total calculation data on the display unit.
When the approximate number data of the total calculation data is displayed on the display unit by the approximate number display control means, the updated first total data or the updated first total data stored in the memory is stored in accordance with the user operation. The individual total display control means for displaying the second total data on the display unit, and
A computing device equipped with.

[2]
前記第1計算受付手段は、第1税率に対応した第1税計算操作を受け付ける第1税計算受付手段であり、
前記第2計算受付手段は、第2税率に対応した第2税計算操作を受け付ける第2税計算受付手段であり、
入力されて前記表示部に表示された税抜額データに対して前記第1税計算受付手段により第1税計算操作が受け付けられた場合に、前記第1税率をもとに第1税込額データを計算する第1税込額計算手段と、
入力されて前記表示部に表示された税抜額データに対して前記第2税計算受付手段により第2税計算操作が受け付けられた場合に、前記第2税率をもとに第2税込額データを計算する第2税込額計算手段と、
前記第1税込額計算手段により計算された第1税込額データ、又は前記第1税込額計算手段により計算された複数の前記第1税込額データを合計したデータを、前記更新された第1合計データである第1税込合計額データとして前記メモリに記憶させる第1税込合計額記憶制御手段と、
前記第2税込額計算手段により計算された第2税込額データ、又は前記第2税込額計算手段により計算された複数の前記第2税込額データを合計したデータを、前記更新された第2合計データである第2税込合計額データとして前記メモリに記憶させる第2税込合計額記憶制御手段と、
をさらに備え、
前記表示桁判断手段は、前記メモリに記憶されている、前記第1税込合計額データと前記第2税込合計額データとを合計した税込総合計額データが、前記表示部の表示可能桁を超えたか否かを判断し、
前記概数表示制御手段は、前記表示桁判断手段により前記税込総合計額データが前記表示部の表示可能桁を超えたと判断された場合に当該税込総合計額データの概数データを前記表示部に表示させ、
前記個別合計表示制御手段は、前記概数表示制御手段により前記税込総合計額データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記第1税込合計額データ又は前記第2税込合計額データを前記表示部に表示させる税別合計表示制御手段を備えた、
[1]に記載の計算装置。
[2]
The first calculation receiving means is a first tax calculation receiving means that accepts a first tax calculation operation corresponding to the first tax rate.
The second calculation receiving means is a second tax calculation receiving means that accepts a second tax calculation operation corresponding to the second tax rate.
When the first tax calculation operation is accepted by the first tax calculation receiving means for the tax-excluded amount data that has been input and displayed on the display unit, the first tax-included amount data is displayed based on the first tax rate. The first tax-included amount calculation method to calculate,
When the second tax calculation operation is accepted by the second tax calculation receiving means for the tax-excluded amount data that has been input and displayed on the display unit, the second tax-included amount data is calculated based on the second tax rate. The second tax-included amount calculation method to calculate,
The updated first total is the sum of the first tax-included amount data calculated by the first tax-included amount calculation means or a plurality of the first tax-included amount data calculated by the first tax-included amount calculation means. The first tax-included total amount storage control means to be stored in the memory as the first tax-included total amount data, which is data, and
The updated second total is the sum of the second tax-included amount data calculated by the second tax-included amount calculation means or the plurality of the second tax-included amount data calculated by the second tax-included amount calculation means. The second tax-included total amount storage control means for storing the data as the second tax-included total amount data in the memory, and
With more
In the display digit determining means, the tax-included total amount data, which is the sum of the first tax-included total amount data and the second tax-included total amount data stored in the memory, exceeds the displayable digits of the display unit. Judge whether or not
The approximate number display control means displays the approximate number data of the tax-included total amount data on the display unit when it is determined by the display digit determination means that the tax-included total amount data exceeds the displayable digits of the display unit. Let me
The individual total display control means is stored in the memory in response to a user operation when the approximate number data of the total amount data including tax is displayed on the display unit by the approximate number display control means. A tax-excluded total display control means for displaying 1 tax-included total amount data or the second tax-included total amount data on the display unit is provided.
The computing device according to [1].

[3]
税計算合計操作を受け付ける税計算合計受付手段を備え、
前記表示桁判断手段は、
前記税計算合計受付手段により前記税計算合計操作が受け付けられた場合に、前記メモリに記憶されている、前記第1税込合計額データと前記第2税込合計額データとを合計した税込総合計額データを計算する税込総合計計算手段を有し、
前記税込総合計計算手段により計算された前記税込総合計額データが前記表示部の表示可能桁を超えたか否かを判断する、
[2]に記載の計算装置。
[3]
Equipped with a tax calculation total reception means that accepts tax calculation total operations
The display digit determination means is
When the tax calculation total operation is received by the tax calculation total receiving means, the total tax-included total amount stored in the memory is the sum of the first tax-included total amount data and the second tax-included total amount data. Has a tax-included total calculation means to calculate data,
It is determined whether or not the total amount data including tax calculated by the total amount including tax means exceeds the displayable digits of the display unit.
The computing device according to [2].

[4]
前記概数表示制御手段は、前記表示桁判断手段により前記税込総合計額データが前記表示部の表示可能桁を超えたと判断された場合に当該税込総合計額データの概数データをエラー記号を加えて前記表示部に表示させる概数エラー表示制御手段を有する、
[3]に記載の計算装置。
[4]
When the display digit determination means determines that the tax-included total amount data exceeds the displayable digits of the display unit, the approximate number display control means adds an error symbol to the approximate number data of the tax-included total amount data. It has an approximate number error display control means to be displayed on the display unit.
The computing device according to [3].

[5]
前記税別合計表示制御手段は、前記概数表示制御手段により前記税込総合計額データの概数データが前記表示部に表示され、なおかつ、ユーザ操作に応じて前記概数エラー表示制御手段により表示された前記エラー記号の表示が解除された場合、(1)前記第1税計算受付手段により前記第1税計算操作が受け付けられたときは、前記メモリに記憶されている前記第1税込合計額データを前記表示部に表示させ、(2)前記第2税計算受付手段により前記第2税計算操作が受け付けられたときは、前記メモリに記憶されている前記第2税込合計額データを前記表示部に表示させる、
[4]に記載の計算装置。
[5]
In the tax-excluded total display control means, the approximate number data of the total tax-included total amount data is displayed on the display unit by the approximate number display control means, and the error displayed by the approximate number error display control means according to a user operation. When the display of the symbol is canceled, (1) When the first tax calculation operation is received by the first tax calculation receiving means, the first tax-included total amount data stored in the memory is displayed. (2) When the second tax calculation operation is received by the second tax calculation receiving means, the second tax-included total amount data stored in the memory is displayed on the display unit. ,
The computing device according to [4].

[6]
前記税計算合計受付手段による前記税計算合計操作の受け付けに応じて前記税込総合計計算手段により前記税込総合計額データを計算する際に、税合計後モードを設定する税合計後モード設定手段を備え、
前記税別合計表示制御手段は、前記税合計後モード設定手段により前記税合計後モードが設定された状態で、前記第1税計算受付手段により前記第1税計算操作が受け付けられた場合には、前記メモリに記憶されている前記第1税込合計額データを前記表示部に表示させ、前記第2税計算受付手段により前記第2税計算操作が受け付けられた場合には、前記メモリに記憶されている前記第2税込合計額データを前記表示部に表示させる、
[5]に記載の計算装置。
[6]
When the tax-included total amount data is calculated by the tax-included total amount calculation means in response to the reception of the tax-calculated total operation by the tax-calculated total receiving means, the post-tax mode setting means for setting the post-tax mode is used. Prepare,
When the first tax calculation receiving means receives the first tax calculation operation in the state where the post-tax mode is set by the post-tax mode setting means, the tax-excluded total display control means is used. When the first tax-included total amount data stored in the memory is displayed on the display unit and the second tax calculation operation is received by the second tax calculation receiving means, it is stored in the memory. Display the total amount data including the second tax on the display unit.
The computing device according to [5].

[7]
前記表示部と、
前記メモリを備える記憶手段と、
を備えた、[1]乃至[6]の何れか1つに記載の計算装置。
[7]
With the display unit
A storage means including the memory and
The computing device according to any one of [1] to [6].

[8]
前記メモリは、
前記第1合計データが記憶される第1合計メモリと、
前記第2合計データが記憶される第2合計メモリと、
を有する、[1]乃至[7]の何れか1つに記載の計算装置。
[8]
The memory is
The first total memory in which the first total data is stored and
The second total memory in which the second total data is stored and
The computing device according to any one of [1] to [7].

[9]
入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付け、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付け、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを計算した総演算データが表示部の表示可能桁を超えたか否かを判断し、
前記総演算データが前記表示部の表示可能桁を超えたと判断された場合に前記総演算データの概数データを前記表示部に表示させ、
前記総演算データの概数データが前記表示部に表示された後に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる、
計算方法。
[9]
Accepting the first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory.
Accepting a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory.
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. It is determined whether or not the total calculation data calculated with the updated second total data exceeds the displayable digits of the display unit.
When it is determined that the total calculation data exceeds the displayable digits of the display unit, the approximate number data of the total calculation data is displayed on the display unit.
After the approximate number data of the total calculation data is displayed on the display unit, the updated first total data or the updated second total data stored in the memory is displayed in response to a user operation. Display on the display
Method of calculation.

[10]
コンピュータを、
入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付ける第1計算受付手段、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付ける第2計算受付手段、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを計算した総演算データが表示部の表示可能桁を超えたか否かを判断する表示桁判断手段、
前記表示桁判断手段により前記総演算データが前記表示部の表示可能桁を超えたと判断された場合に前記総演算データの概数データを前記表示部に表示させる概数表示制御手段、
前記概数表示制御手段により前記総演算データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる個別合計表示制御手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
[10]
Computer,
A first calculation receiving means that accepts a first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory. ,
A second calculation reception that accepts a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory. means,
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. A display digit determination means for determining whether or not the total calculation data calculated with the updated second total data exceeds the displayable digits of the display unit.
When the display digit determining means determines that the total calculation data exceeds the displayable digits of the display unit, the approximate number display control means for displaying the approximate number data of the total calculation data on the display unit.
When the approximate number data of the total calculation data is displayed on the display unit by the approximate number display control means, the updated first total data or the updated first total data stored in the memory is stored in accordance with the user operation. Individual total display control means for displaying the second total data on the display unit,
A computer-readable program to function as.

10…電卓、11…キー入力部、11b…税込1計算キー、11c…税込2計算キー、11f…税計算合計キー、11x…[C](エラー解除)キー、12…表示部、21…CPU、22…メモリ、22a…計算処理プログラム、22b…税率1合計メモリエリア、22c…税率2合計メモリエリア、22d…税合計メモリエリア、22e…税合計後モードデータ。 10 ... Calculator, 11 ... Key input unit, 11b ... 1 calculation key including tax, 11c ... 2 calculation keys including tax, 11f ... Total tax calculation key, 11x ... [C] (error cancellation) key, 12 ... Display unit, 21 ... CPU , 22 ... Memory, 22a ... Calculation processing program, 22b ... Tax rate 1 total memory area, 22c ... Tax rate 2 total memory area, 22d ... Tax total memory area, 22e ... Tax total post-tax mode data.

Claims (10)

入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付ける第1計算受付手段と、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付ける第2計算受付手段と、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを合計した総合計データが表示部の表示可能桁を超えたか否かを判断する表示桁判断手段と、
前記表示桁判断手段により前記総合計データが前記表示部の表示可能桁を超えたと判断された場合に前記総合計データの概数データを前記表示部に表示させる概数表示制御手段と、
前記概数表示制御手段により前記総合計データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる個別合計表示制御手段と、を備えた計算装置。
A first calculation receiving means that accepts a first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory. When,
A second calculation reception that accepts a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory. Means and
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. is a display digit determining means for grand total data obtained by summing a second total data updated to determine whether exceeds a displayable digit of the display unit,
When the display digit determining means determines that the total data exceeds the displayable digits of the display unit, the approximate number display control means for displaying the approximate number data of the total data on the display unit.
When the approximate number data of the total sum data is displayed on the display unit by the approximate number display control means, the updated first total data or the updated first total data stored in the memory is stored in accordance with the user operation. A calculation device including an individual total display control means for displaying the second total data on the display unit.
前記第1計算受付手段は、第1税率に対応した第1税計算操作を受け付ける第1税計算受付手段であり、
前記第2計算受付手段は、第2税率に対応した第2税計算操作を受け付ける第2税計算受付手段であり、
入力されて前記表示部に表示された税抜額データに対して前記第1税計算受付手段により第1税計算操作が受け付けられた場合に、前記第1税率をもとに第1税込額データを計算する第1税込額計算手段と、
入力されて前記表示部に表示された税抜額データに対して前記第2税計算受付手段により第2税計算操作が受け付けられた場合に、前記第2税率をもとに第2税込額データを計算する第2税込額計算手段と、
前記第1税込額計算手段により計算された第1税込額データ、又は前記第1税込額計算手段により計算された複数の前記第1税込額データを合計したデータを、前記更新された第1合計データである第1税込合計額データとして前記メモリに記憶させる第1税込合計額記憶制御手段と、
前記第2税込額計算手段により計算された第2税込額データ、又は前記第2税込額計算手段により計算された複数の前記第2税込額データを合計したデータを、前記更新された第2合計データである第2税込合計額データとして前記メモリに記憶させる第2税込合計額記憶制御手段と、をさらに備え、
前記表示桁判断手段は、前記メモリに記憶されている、前記第1税込合計額データと前記第2税込合計額データとを合計した税込総合計額データが、前記表示部の表示可能桁を超えたか否かを判断し、
前記概数表示制御手段は、前記表示桁判断手段により前記税込総合計額データが前記表示部の表示可能桁を超えたと判断された場合に当該税込総合計額データの概数データを、前記総合計データの概数データとして、前記表示部に表示させ、
前記個別合計表示制御手段は、前記概数表示制御手段により前記税込総合計額データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記第1税込合計額データ又は前記第2税込合計額データを前記表示部に表示させる税別合計表示制御手段を備えた、請求項1に記載の計算装置。
The first calculation receiving means is a first tax calculation receiving means that accepts a first tax calculation operation corresponding to the first tax rate.
The second calculation receiving means is a second tax calculation receiving means that accepts a second tax calculation operation corresponding to the second tax rate.
When the first tax calculation operation is accepted by the first tax calculation receiving means for the tax-excluded amount data that has been input and displayed on the display unit, the first tax-included amount data is displayed based on the first tax rate. The first tax-included amount calculation method to calculate,
When the second tax calculation operation is accepted by the second tax calculation receiving means for the tax-excluded amount data that has been input and displayed on the display unit, the second tax-included amount data is calculated based on the second tax rate. The second tax-included amount calculation method to calculate,
The updated first total is the sum of the first tax-included amount data calculated by the first tax-included amount calculation means or a plurality of the first tax-included amount data calculated by the first tax-included amount calculation means. The first tax-included total amount storage control means to be stored in the memory as the first tax-included total amount data, which is data, and
The updated second total is the sum of the second tax-included amount data calculated by the second tax-included amount calculation means or the plurality of the second tax-included amount data calculated by the second tax-included amount calculation means. Further provided with a second tax-included total amount storage control means for storing the second tax-included total amount data as data in the memory.
In the display digit determining means, the tax-included total amount data, which is the sum of the first tax-included total amount data and the second tax-included total amount data stored in the memory, exceeds the displayable digits of the display unit. Judge whether or not
When the display digit determining means determines that the tax-included total amount data exceeds the displayable digits of the display unit, the approximate number display control means obtains the approximate number data of the tax-included total amount data. Displayed on the display unit as approximate number data of
The individual total display control means is stored in the memory in response to a user operation when the approximate number data of the total amount data including tax is displayed on the display unit by the approximate number display control means. The calculation device according to claim 1, further comprising a tax-excluded total display control means for displaying 1 tax-included total amount data or the second tax-included total amount data on the display unit.
税計算合計操作を受け付ける税計算合計受付手段を備え、
前記表示桁判断手段は、
前記税計算合計受付手段により前記税計算合計操作が受け付けられた場合に、前記メモリに記憶されている、前記第1税込合計額データと前記第2税込合計額データとを合計した税込総合計額データを計算する税込総合計計算手段を有し、
前記税込総合計計算手段により計算された前記税込総合計額データが前記表示部の表示可能桁を超えたか否かを判断する、請求項2に記載の計算装置。
Equipped with a tax calculation total reception means that accepts tax calculation total operations
The display digit determination means is
When the tax calculation total operation is received by the tax calculation total receiving means, the total tax-included total amount stored in the memory is the sum of the first tax-included total amount data and the second tax-included total amount data. Has a tax-included total calculation means to calculate data,
The calculation device according to claim 2, wherein it is determined whether or not the total amount data including tax calculated by the total amount including tax means exceeds the displayable digits of the display unit.
前記概数表示制御手段は、前記表示桁判断手段により前記税込総合計額データが前記表示部の表示可能桁を超えたと判断された場合に当該税込総合計額データの概数データをエラー記号を加えて前記表示部に表示させる概数エラー表示制御手段を有する、請求項3に記載の計算装置。 When the display digit determination means determines that the tax-included total amount data exceeds the displayable digits of the display unit, the approximate number display control means adds an error symbol to the approximate number data of the tax-included total amount data. The calculation device according to claim 3, further comprising an approximate number error display control means to be displayed on the display unit. 前記税別合計表示制御手段は、前記概数表示制御手段により前記税込総合計額データの概数データが前記表示部に表示され、なおかつ、ユーザ操作に応じて前記概数エラー表示制御手段により表示された前記エラー記号の表示が解除された場合、(1)前記第1税計算受付手段により前記第1税計算操作が受け付けられたときは、前記メモリに記憶されている前記第1税込合計額データを前記表示部に表示させ、(2)前記第2税計算受付手段により前記第2税計算操作が受け付けられたときは、前記メモリに記憶されている前記第2税込合計額データを前記表示部に表示させる、請求項4に記載の計算装置。 In the tax-excluded total display control means, the approximate number data of the total tax-included total amount data is displayed on the display unit by the approximate number display control means, and the error displayed by the approximate number error display control means according to a user operation. When the display of the symbol is canceled, (1) When the first tax calculation operation is received by the first tax calculation receiving means, the first tax-included total amount data stored in the memory is displayed. (2) When the second tax calculation operation is received by the second tax calculation receiving means, the second tax-included total amount data stored in the memory is displayed on the display unit. , The computing device according to claim 4. 前記税計算合計受付手段による前記税計算合計操作の受け付けに応じて前記税込総合計計算手段により前記税込総合計額データを計算する際に、税合計後モードを設定する税合計後モード設定手段を備え、
前記税別合計表示制御手段は、前記税合計後モード設定手段により前記税合計後モードが設定された状態で、前記第1税計算受付手段により前記第1税計算操作が受け付けられた場合には、前記メモリに記憶されている前記第1税込合計額データを前記表示部に表示させ、前記第2税計算受付手段により前記第2税計算操作が受け付けられた場合には、前記メモリに記憶されている前記第2税込合計額データを前記表示部に表示させる、請求項5に記載の計算装置。
When the tax-included total amount data is calculated by the tax-included total amount calculation means in response to the reception of the tax-calculated total operation by the tax-calculated total receiving means, the post-tax mode setting means for setting the post-tax mode is used. Prepare,
When the first tax calculation operation is accepted by the first tax calculation receiving means in a state where the post-tax mode is set by the post-tax mode setting means, the tax-excluded total display control means is used. When the first tax-included total amount data stored in the memory is displayed on the display unit and the second tax calculation operation is received by the second tax calculation receiving means, it is stored in the memory. The calculation device according to claim 5, wherein the second tax-included total amount data is displayed on the display unit.
前記表示部と、
前記メモリを備える記憶手段と、を備えた、請求項1乃至請求項6の何れか1項に記載の計算装置。
With the display unit
The calculation device according to any one of claims 1 to 6, further comprising a storage means including the memory.
前記メモリは、
前記第1合計データが記憶される第1合計メモリと、
前記第2合計データが記憶される第2合計メモリと、を有する、請求項1乃至請求項7の何れか1項に記載の計算装置。
The memory is
The first total memory in which the first total data is stored and
The computing device according to any one of claims 1 to 7, further comprising a second total memory in which the second total data is stored.
入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付け、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付け、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを合計した総合計データが表示部の表示可能桁を超えたか否かを判断し、
前記総合計データが前記表示部の表示可能桁を超えたと判断された場合に前記総合計データの概数データを前記表示部に表示させ、
前記総合計データの概数データが前記表示部に表示された後に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる、計算方法。
Accepting the first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory.
Accepting a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory.
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. in it, the total sum data obtained by adding a second total data updated is determined whether exceeds a displayable digit of the display unit,
When it is determined that the total total data exceeds the displayable digits of the display unit, the approximate number data of the total total data is displayed on the display unit.
After the approximate number data of the total sum data is displayed on the display unit, the updated first total data or the updated second total data stored in the memory is displayed in response to a user operation. A calculation method to be displayed on the display unit.
コンピュータを、
入力された第1計算データに対する1又は複数の第1結果データをメモリ内の第1合計データに加算することによって前記第1合計データを更新するための第1計算操作を受け付ける第1計算受付手段、
入力された第2計算データに対する1又は複数の第2結果データを前記メモリ内の第2合計データに加算することによって前記第2合計データを更新するための第2計算操作を受け付ける第2計算受付手段、
前記メモリ内の第1合計データに前記第1結果データが加算された結果である、更新された第1合計データと、前記メモリ内の第2合計データに前記第2結果データが加算された結果である、更新された第2合計データとを合計した総合計データが表示部の表示可能桁を超えたか否かを判断する表示桁判断手段、
前記表示桁判断手段により前記総合計データが前記表示部の表示可能桁を超えたと判断された場合に前記総合計データの概数データを前記表示部に表示させる概数表示制御手段、
前記概数表示制御手段により前記総合計データの概数データが前記表示部に表示された場合に、ユーザ操作に応じて、前記メモリに記憶されている、前記更新された第1合計データ又は前記更新された第2合計データを前記表示部に表示させる個別合計表示制御手段、として機能させるためのコンピュータ読み込み可能なプログラム。
Computer,
A first calculation receiving means that accepts a first calculation operation for updating the first total data by adding one or more first result data to the input first calculation data to the first total data in the memory. ,
A second calculation reception that accepts a second calculation operation for updating the second total data by adding one or more second result data to the input second calculation data to the second total data in the memory. means,
The updated first total data, which is the result of adding the first result data to the first total data in the memory, and the result of adding the second result data to the second total data in the memory. in it, the second total data and the display digit determining means for grand total data obtained by summing determines whether exceeds a displayable digit display portion that has been updated,
When the display digit determining means determines that the total data exceeds the displayable digits of the display unit, the approximate number display control means for displaying the approximate number data of the total data on the display unit.
When the approximate number data of the total sum data is displayed on the display unit by the approximate number display control means, the updated first total data or the updated first total data stored in the memory is stored in accordance with the user operation. A computer-readable program for functioning as an individual total display control means for displaying the second total data on the display unit.
JP2017153584A 2016-09-23 2017-08-08 Arithmetic logic units, calculation methods, and programs Active JP6950344B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710770191.3A CN107870886B (en) 2016-09-23 2017-08-25 Computing device, computing method, and computer-readable storage medium
JP2021154622A JP7176603B2 (en) 2016-09-23 2021-09-22 Computing device, computing method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016185413 2016-09-23
JP2016185413 2016-09-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021154622A Division JP7176603B2 (en) 2016-09-23 2021-09-22 Computing device, computing method, and program

Publications (2)

Publication Number Publication Date
JP2018055680A JP2018055680A (en) 2018-04-05
JP6950344B2 true JP6950344B2 (en) 2021-10-13

Family

ID=61836822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017153584A Active JP6950344B2 (en) 2016-09-23 2017-08-08 Arithmetic logic units, calculation methods, and programs

Country Status (1)

Country Link
JP (1) JP6950344B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5588132A (en) * 1978-12-27 1980-07-03 Casio Comput Co Ltd Release system for error in case of overflow
JPS6188358A (en) * 1984-10-05 1986-05-06 Casio Comput Co Ltd Small-sized electronic calculator
JP3344641B2 (en) * 1996-03-07 2002-11-11 シャープ株式会社 Electronic desk calculator
JP6088943B2 (en) * 2013-08-29 2017-03-01 シャープ株式会社 Sales data processor
JP6311289B2 (en) * 2013-11-21 2018-04-18 キヤノンマーケティングジャパン株式会社 Calculator, its control method, and program

Also Published As

Publication number Publication date
JP2018055680A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
US20150269113A1 (en) Computing device and storage medium containing program therefor
JP6428734B2 (en) Tax calculation device, tax calculation method, program
EP2363811A2 (en) Electronic calculator and display method for displaying mathematical expression in full color
JP7176603B2 (en) Computing device, computing method, and program
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP2022140521A (en) calculator
US20180089766A1 (en) Calculating device, control method, and recording medium
JP7163705B2 (en) Calculators, calculation methods, and programs
JP7383902B2 (en) Calculators, calculation methods, and programs
JP2018106320A (en) Calculation device, calculation method, and program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP2017016475A (en) Electronic equipment and calculation processing program
JP6528483B2 (en) Computation processing device and program
JP2020057374A (en) Computer, computing method, and program
JP7020469B2 (en) Electronic devices, control methods for electronic devices, and control programs for electronic devices
JP6620907B1 (en) Computer, setting method, and program
CN108121517B (en) Computing device, computing printing method, and recording medium having program recorded thereon
JP2020098486A (en) Calculating machine, display method, and program
JP2021180036A (en) Display control device, display control method, and display control program
CN110888830A (en) Calculator, calculation method, and storage medium
CN118051466A (en) Electronic device, calculation support method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210806

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210906

R150 Certificate of patent or registration of utility model

Ref document number: 6950344

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150