JP6819097B2 - Computational equipment, computational methods, and programs - Google Patents

Computational equipment, computational methods, and programs Download PDF

Info

Publication number
JP6819097B2
JP6819097B2 JP2016131082A JP2016131082A JP6819097B2 JP 6819097 B2 JP6819097 B2 JP 6819097B2 JP 2016131082 A JP2016131082 A JP 2016131082A JP 2016131082 A JP2016131082 A JP 2016131082A JP 6819097 B2 JP6819097 B2 JP 6819097B2
Authority
JP
Japan
Prior art keywords
remainder
quotient
numerical data
division
calculation
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
JP2016131082A
Other languages
Japanese (ja)
Other versions
JP2018005534A (en
JP2018005534A5 (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 JP2016131082A priority Critical patent/JP6819097B2/en
Publication of JP2018005534A publication Critical patent/JP2018005534A/en
Publication of JP2018005534A5 publication Critical patent/JP2018005534A5/ja
Application granted granted Critical
Publication of JP6819097B2 publication Critical patent/JP6819097B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Description

本発明は、商と余りを算出する除算機能を備えた計算装置、計算方法、及びその制御プログラムに関する。 The present invention relates to a calculation device having a division function for calculating quotients and remainders, a calculation method, and a control program thereof.

従来、除算の商と余りを一度に表示できる計算器が考えられている(例えば、特許文献1参照。)。 Conventionally, a computer capable of displaying the quotient of division and the remainder at once has been considered (see, for example, Patent Document 1).

また、商と余りを算出する除算を実行する際に、[=]キーの操作回数に対応して設定される単位の有効桁数で前記除算を実行する電子式計算機が考えられている(例えば、特許文献2参照。)。 Further, when executing division for calculating quotient and remainder, an electronic calculator that executes the division with the number of effective digits of the unit set corresponding to the number of operations of the [=] key is considered (for example). , Patent Document 2).

特開昭53−53225号公報Japanese Unexamined Patent Publication No. 53-53225 特許第3252493号公報Japanese Patent No. 3252493

前記従来の計算器や電子式計算機では、除算により得られた商の数値データを用いて連続した計算を行なうことができる。 In the conventional computer and the electronic computer, continuous calculation can be performed using the numerical data of the quotient obtained by division.

しかしながら、前記除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことはできない。 However, it is not possible to easily perform continuous calculation by using the surplus numerical data obtained by the division in the next calculation.

従来、例えば薬局において、所定の個数の錠剤が行列状に並べられて一枚のシートに収容された薬のシートや当該シートが所定の枚数纏められて箱詰めされた薬の箱を対象に、患者に対し当該患者が一定の期間に必要な数の薬を渡すのに、前記薬の箱が何箱でシートが何シートでばら何個になるかを、簡単に見通し良く求めたい要望がある。 Conventionally, for example, in a pharmacy, a patient is targeted at a medicine sheet in which a predetermined number of tablets are arranged in a matrix and stored in one sheet, or a medicine box in which a predetermined number of the sheets are put together and packed in a box. On the other hand, there is a request for a simple and clear view of how many boxes of the medicine and how many sheets are separated in order for the patient to deliver the required number of medicines in a certain period of time.

本発明は、このような課題に鑑みなされたもので、除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことが可能になる計算装置、計算方法、及びその制御プログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and a calculation device, a calculation method, and a calculation method that enable continuous calculation by easily using the remainder numerical data obtained by division for the next calculation. The purpose is to provide the control program.

本発明に係る計算装置は、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を設定する設定手段と、入力された数値データについて、前記商余り除算の実行指示に対応する操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとを表示させる商余り表示制御手段と、前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、前記商余り除算に対応するキーの操作を受け付けると、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する設定対応商余り入力手段と、入力された数値データについて、前記商余り除算の実行指示に対応する第2操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとのうち、前記設定手段による設定に応じた商の数値データ又は余りの数値データのみを表示させる第2商余り表示制御手段と、を備え、前記第2商余り表示制御手段は、前記商余り除算の実行結果として表示する、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する第2設定対応商余り入力手段を有することを特徴としている。 The computing device according to the present invention is either a commercial use state that uses the numerical data of the quotient of the calculation result of the quotient remainder division that calculates the quotient and the remainder, or a remainder use state that uses the numerical data of the remainder of the calculation result. When the setting means for setting the state and the operation corresponding to the execution instruction of the quotient remainder division are received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and the above-mentioned As the execution result of the quotient remainder division, the quotient remainder display control means for displaying the quotient numerical data and the remainder numerical data, and the quotient remainder display control means display the quotient numerical data and the remainder numerical data. In this state, when the key operation corresponding to the quotient remainder division is accepted, the setting-corresponding quotient for inputting the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means can be used for the quotient remainder division. When the remainder input means and the second operation corresponding to the execution instruction of the quotient remainder division are received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and the quotient remainder division is performed. As a result of executing the above, among the numerical data of the quotient and the numerical data of the remainder, the second quotient remainder display control means for displaying only the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means is provided. , The second quotient remainder display control means inputs the quotient numerical data or the remainder numerical data according to the setting by the setting means, which is displayed as the execution result of the quotient remainder division, so that it can be used for the quotient remainder division. It is characterized by having a quotient remainder input means corresponding to the second setting .

本発明によれば、除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことが可能になる。 According to the present invention, it is possible to easily perform continuous calculation by using the surplus numerical data obtained by division in the next calculation.

本発明の計算装置の実施形態に係る電卓(電子式卓上計算機)10の外観構成を示す正面図。The front view which shows the appearance structure of the calculator (electronic desk calculator) 10 which concerns on embodiment of the calculation apparatus of this invention. 前記電卓10の電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of the calculator 10. 前記電卓10の計算処理プログラム22aに従った計算処理(その1)を示すフローチャート。The flowchart which shows the calculation process (the 1) according to the calculation process program 22a of the calculator 10. 前記電卓10の計算処理プログラム22aに従った計算処理(その2)を示すフローチャート。The flowchart which shows the calculation process (the 2) according to the calculation process program 22a of the calculator 10. 前記電卓10の計算処理プログラム22aに従った計算処理(その3)を示すフローチャート。The flowchart which shows the calculation process (the 3) according to the calculation process program 22a of the calculator 10. 前記電卓10の計算処理に従った第1実施形態のユーザ操作に対応する表示動作を示す図。The figure which shows the display operation corresponding to the user operation of 1st Embodiment according to the calculation process of the calculator 10. 前記電卓10の計算処理に従った第2実施形態のユーザ操作に対応する表示動作を示す図。The figure which shows the display operation corresponding to the user operation of 2nd Embodiment according to the calculation process of the calculator 10.

以下図面により本発明の実施の形態について説明する。 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 (electronic desk calculator) 10 according to an embodiment of the computing device of the present invention.

この電卓10は、机上に置いても片手で持っても操作し易い小型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12を備えている。 The calculator 10 is provided with a key input unit 11 on the front side of a small main body case that is easy to operate even if it is placed on a desk or held by one hand, and a display unit 12 is provided on the back side of the key input unit 11.

前記キー入力部11には、オールクリアキー(初期表示操作キー)[AC]11a、クリアキー[C]、数値データ入力用の各数値キー([0][00][1]〜[9][.])、演算データ入力用の各演算子キー([+][−][×][÷][+/-][÷余り]11b等)、月日データ入力キー[日数]11c、計算実行キー[=]、総合計表示キー[GT]11d、数値メモリ操作用の各キー([MRC][M−][M+])等が備えられる。 The key input unit 11 includes an all-clear key (initial display operation key) [AC] 11a, a clear key [C], and each numerical key for inputting numerical data ([0] [00] [1] to [9]. [.]), Each operator key for inputting arithmetic data ([+] [-] [×] [÷] [+/-] [÷ remainder] 11b, etc.), month / day data input key [days] 11c, A calculation execution key [=], a total display key [GT] 11d, and keys for numerical memory operation ([MRC] [M-] [M +]) are provided.

前記[÷余り]キー11bは、除算の計算結果を商と余りで算出するための演算子キーである。また、前記[÷余り]キー11bは、前記[AC]キー11aの操作後は、前記除算により算出された商を利用して次の計算を行なう商利用モードと、余りを利用して次の計算を行なう余り利用モードとの何れの利用モードに設定されているかを確認するための利用モード確認キーとして機能し、さらに、前記商利用モードと余り利用モードとの設定を切替えるための利用モード切替キー[商⇔余り]としても機能する。電源投入時等のリセット時は、前記商利用モードに初期設定される。 The [÷ remainder] key 11b is an operator key for calculating the calculation result of division by the quotient and the remainder. Further, the [÷ remainder] key 11b has a commercial use mode in which the next calculation is performed using the quotient calculated by the division after the operation of the [AC] key 11a, and the next using the remainder. It functions as a usage mode confirmation key to confirm which usage mode is set to the remainder usage mode for calculation, and further, the usage mode switching for switching the setting between the commercial usage mode and the remainder usage mode. It also functions as a key [quotient ⇔ remainder]. At the time of reset such as when the power is turned on, the commercial use mode is initially set.

なお、前記[÷]キーは、前記[日数]キー11cにより月日データを入力する際に、第1の月日と第2の月日との期間を入力する期間キー[〜]としても機能する。 The [÷] key also functions as a period key [~] for inputting a period between the first month and day and the second month and day when inputting month and day data by the [days] key 11c. To do.

前記表示部12は、10桁のセグメントからなる液晶表示パネルを備え、入力された計算式や計算実行された計算結果に応じた数値データ、シンボルデータ等がその都度表示される。 The display unit 12 includes a liquid crystal display panel composed of a 10-digit segment, and displays numerical data, symbol data, and the like according to the input calculation formula and the calculation result executed.

前記図1における表示部12では、前記[÷余り]キー11bの演算データに従い除算された計算結果の商“2”と余り“21”が表示されている状態を示し、前記余り利用モードでは[余り]シンボルRが表示され、商利用モードでは[商]シンボルQが表示される。 The display unit 12 in FIG. 1 shows a state in which the quotient “2” and the remainder “21” of the calculation result divided according to the calculation data of the [÷ remainder] key 11b are displayed, and in the remainder utilization mode, [ The [remainder] symbol R is displayed, and the [quotient] symbol Q is displayed in the commercial use mode.

図2は、前記電卓10の電子回路の構成を示すブロック図である。 FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calculator 10.

前記電卓10の電子回路は、コンピュータであるCPU(プロセッサ)21を備えている。前記CPU21は、メモリ22に記憶される電卓制御プログラムに従い回路各部の動作を制御し、前記キー入力部11のユーザ操作に応じた各種の計算機能を実行する。 The electronic circuit of the calculator 10 includes a CPU (processor) 21 which is a computer. The CPU 21 controls the operation of each part of the circuit according to the calculator control program stored in the memory 22, and executes various calculation functions according to the user operation of the key input unit 11.

前記CPU(プロセッサ)21には、前記キー入力部11、表示部12、メモリ22、記録媒体読取部24が接続される他に、外部機器(30)との通信を行なう通信部25も接続される。 In addition to connecting the key input unit 11, the display unit 12, the memory 22, and the recording medium reading unit 24 to the CPU (processor) 21, a communication unit 25 that communicates with the external device (30) is also connected. To.

前記電卓制御プログラムは、前記メモリ22に予め記憶されるか、メモリカード等の外部記録媒体23から記録媒体読取部24により読み取られて前記メモリ22に記憶されるか、通信ネットワークN上のWebサーバ(プログラムサーバ)30から通信部25を介してダウンロードされ前記メモリ22に記憶される。 The calculator control program is stored in the memory 22 in advance, or is read from an external recording medium 23 such as a memory card by the recording medium reading unit 24 and stored in the memory 22, or is a Web server on the communication network N. It is downloaded from (program server) 30 via the communication unit 25 and stored in the memory 22.

前記電卓制御プログラムには、ユーザ操作に応じた各種の計算処理を前記CPU21に実行させるための計算処理プログラム22aが含まれる。 The calculator control program includes a calculation processing program 22a for causing the CPU 21 to execute various calculation processes according to user operations.

また、前記メモリ22には、計算式データエリア22b、計算結果(=)データエリア22c、総合計(GT)メモリエリア22d、AC後状態フラグエリア22eが確保される。 Further, in the memory 22, a calculation formula data area 22b, a calculation result (=) data area 22c, a total (GT) memory area 22d, and a post-AC state flag area 22e are secured.

前記計算式データエリア22bには、前記キー入力部11の操作に応じて入力される計算式の被演算数と演算数の数値データ、前記計算式の演算子に従い前記被演算数と演算数の数値データを計算した計算データを新たな被演算数の数値データとして記憶するためのXレジスタとYレジスタ、及び前記演算子の演算データを記憶するための演算データレジスタが確保される。 In the calculation formula data area 22b, numerical data of the number of operations and the number of operations of the calculation formula input in response to the operation of the key input unit 11, and the number of operations and the number of operations according to the operator of the calculation formula. An X register and a Y register for storing the calculated data obtained by calculating the numerical data as numerical data of a new number of operations to be calculated, and an arithmetic data register for storing the arithmetic data of the operator are secured.

例えば、前記計算式の先頭の被演算数の数値データが入力されると当該被演算数の数値データは前記Xレジスタに記憶される。続いて前記演算子が入力された後に演算数の数値データが入力されると、当該演算子の演算データは前記演算データレジスタに記憶され、前記演算数の数値データは前記Yレジスタに記憶される。ここで、続けて次の演算子が入力された場合は、前記Xレジスタに記憶された被演算数の数値データと前記Yレジスタに記憶された演算数の数値データとが前記演算データレジスタに記憶(保留)された演算データに従い計算され、計算された計算データが新たな被演算数として前記Xレジスタに上書きされて記憶される。また、前記次(今回)の演算子の演算データが前記演算データレジスタに上書きされて記憶される。続いて入力された次の演算数の数値データは前記Yレジスタに上書きされて記憶される。そして、前記[=](計算実行)キーが操作された場合は、前記Xレジスタに記憶された被演算数の数値データと前記Yレジスタに記憶された演算数の数値データとが前記演算データレジスタに記憶された演算データに従い計算され、計算結果データとして前記計算結果(=)データエリア22cに記憶される。 For example, when the numerical data of the operand to be calculated at the beginning of the calculation formula is input, the numerical data of the operand to be calculated is stored in the X register. Subsequently, when the numerical data of the number of operations is input after the operator is input, the operation data of the operator is stored in the operation data register, and the numerical data of the number of operations is stored in the Y register. .. Here, when the following operator is subsequently input, the numerical data of the number of operations to be calculated stored in the X register and the numerical data of the number of operations stored in the Y register are stored in the operation data register. It is calculated according to the (held) calculation data, and the calculated calculation data is overwritten and stored in the X register as a new number to be calculated. Further, the operation data of the next (this time) operator is overwritten and stored in the operation data register. The numerical data of the next number of operations subsequently input is overwritten in the Y register and stored. Then, when the [=] (calculation execution) key is operated, the numerical data of the number of operations to be calculated stored in the X register and the numerical data of the number of operations stored in the Y register are stored in the operation data register. It is calculated according to the calculation data stored in, and is stored in the calculation result (=) data area 22c as the calculation result data.

なお、前記[÷余り]キー11bの演算データに従い商と余りの計算結果データが算出された際に、前記商利用モードに設定されている状態では、当該商の数値データが次の計算の被演算数として前記Xレジスタに記憶され、また前記余り利用モードに設定されている状態では、当該余りの数値データが次の計算の被演算数として前記Xレジスタに記憶される。 When the calculation result data of the quotient and the remainder is calculated according to the calculation data of the [÷ remainder] key 11b, in the state of being set to the commercial use mode, the numerical data of the quotient is the operand of the next calculation. It is stored in the X register as the number of operations, and in the state of being set to the remainder utilization mode, the numerical data of the remainder is stored in the X register as the operand of the next calculation.

前記計算結果(=)データエリア22cは、前記[=](計算実行)キーの操作に応じて計算実行された計算結果データが記憶される。 In the calculation result (=) data area 22c, the calculation result data calculated and executed in response to the operation of the [=] (calculation execution) key is stored.

前記総合計(GT)メモリエリア22dには、前記[=](計算実行)キーの操作に応じて計算実行された計算結果データが前記計算結果(=)データエリア22cに記憶される毎に当該計算結果データが順次加算され、当該加算された結果の加算結果データとして記憶される。前記総合計(GT)メモリエリア22dに記憶された加算結果データは前記[AC](オールクリア)キー11aの操作に応じて“0”にクリアされる。 In the total (GT) memory area 22d, every time the calculation result data calculated and executed in response to the operation of the [=] (calculation execution) key is stored in the calculation result (=) data area 22c. The calculation result data is sequentially added and stored as the addition result data of the added result. The addition result data stored in the total (GT) memory area 22d is cleared to "0" in response to the operation of the [AC] (all clear) key 11a.

なお、前記[÷余り]キー11bの演算データに従い計算実行された商と余りの計算結果データが算出された際に、前記商利用モードに設定されている状態では、当該商の数値データが前記総合計(GT)メモリエリア22dの加算結果データに加算され、前記余り利用モードに設定されている状態では、当該余りの数値データが前記総合計(GT)メモリエリア22dの加算結果データに加算される。 In addition, when the calculation execution result data of the quotient and the remainder calculated according to the calculation data of the [÷ remainder] key 11b is calculated, in the state of being set to the commercial use mode, the numerical data of the quotient is said. It is added to the addition result data of the total (GT) memory area 22d, and in the state of being set to the remainder use mode, the remaining numerical data is added to the addition result data of the total (GT) memory area 22d. To.

前記AC後状態フラグエリア22eには、前記[AC]キー11aによりオールクリアの入力操作が行われた後にその状態を示すフラグ(AC後状態フラグ)がONに設定されて記憶され、他のキーによる入力操作が行われた後に当該AC後状態フラグがOFFに設定されて記憶される。 In the post-AC state flag area 22e, a flag indicating the state (post-AC state flag) is set to ON and stored after the all-clear input operation is performed by the [AC] key 11a, and other keys are stored. After the input operation is performed by, the post-AC status flag is set to OFF and stored.

このように構成された電卓10は、前記CPU21が前記電卓制御プログラム(計算処理プログラム22a含む)に記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べるような、各種の計算機能を実現する。 In the calculator 10 configured in this way, the CPU 21 controls the operation of each part of the circuit according to the instructions described in the calculator control program (including the calculation processing program 22a), and the software and the hardware operate in cooperation with each other. By doing so, various calculation functions as described in the following operation explanations are realized.

次に、前記構成の電卓10による各種の計算機能に応じた動作について説明する。 Next, the operation according to various calculation functions by the calculator 10 having the above configuration will be described.

図3,図4,図5は、前記電卓10の計算処理プログラム22aに従った計算処理(その1,2,3)を示すフローチャートである。 3, FIG. 4 and FIG. 5 are flowcharts showing calculation processing (Nos. 1, 2, and 3) according to the calculation processing program 22a of the calculator 10.

(第1実施形態)
図6は、前記電卓10の計算処理に従った第1実施形態のユーザ操作に対応する表示動作を示す図である。
(First Embodiment)
FIG. 6 is a diagram showing a display operation corresponding to the user operation of the first embodiment according to the calculation process of the calculator 10.

ここでは、薬局において、1箱に3シート(1シートに14個(計42個の錠剤))入った薬があり、前記電卓10を利用することで、患者が必要とする錠剤の個数と、当該必要個数が何箱+何シート+ばら何個になるかを求めることを仮定する。 Here, in a pharmacy, there are medicines containing 3 sheets (14 tablets in 1 sheet (42 tablets in total)) in one box, and by using the calculator 10, the number of tablets required by the patient and the number of tablets are determined. It is assumed that the required number is calculated as how many boxes + how many sheets + how many loose pieces.

前記電卓10において、図6(A)に示すように、前記[AC](オールクリア)キー11aによりAC入力操作が行われると(ステップS1(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データが“0”にクリアされる(ステップS2)。 In the calculator 10, as shown in FIG. 6A, when the AC input operation is performed by the [AC] (all clear) key 11a (step S1 (Yes)), the total (GT) memory area 22d The addition result data stored in is cleared to "0" (step S2).

また、前記計算式データエリア22bのXレジスタ,Yレジスタ,演算データレジスタがクリア(消去)され、さらに、前記表示部12の数値データがクリアされて“0.”が表示される(ステップS3)。 Further, the X register, the Y register, and the arithmetic data register of the calculation formula data area 22b are cleared (erased), and the numerical data of the display unit 12 is cleared and "0." is displayed (step S3). ..

すると、前記AC後状態フラグエリア22eに記憶されるAC後状態フラグがONに設定される(ステップS4)。 Then, the post-AC state flag stored in the post-AC state flag area 22e is set to ON (step S4).

そして、前記[÷余り]キー11bを使用して商と余りの計算を行なうのに、現在の利用モードを確認するため、当該[÷余り]キー11bにより[÷余り]の演算データが入力されると(ステップS9(Yes))、前記AC後状態フラグがONに設定されていると判断され(ステップS10(Yes))、現在の利用モードが商利用モードであることを示す[商]シンボルQが表示部12に表示される(ステップS11)。 Then, in order to calculate the quotient and the remainder using the [÷ remainder] key 11b, the calculation data of [÷ remainder] is input by the [÷ remainder] key 11b in order to confirm the current usage mode. Then (step S9 (Yes)), it is determined that the post-AC status flag is set to ON (step S10 (Yes)), and a [quotient] symbol indicating that the current usage mode is the commercial usage mode. Q is displayed on the display unit 12 (step S11).

ここで、図6(B)に示すように、前記[÷余り]キー11bが繰り返し操作されると(ステップS12(Yes))、現在の利用モードが商利用モードに設定されている場合には余り利用モードに切替えられて設定され、現在の利用モードが余り利用モードに設定されている場合には商利用モードに切替えられて設定される(ステップS13)。ここでは、前記商利用モードから余り利用モードに切替えられて設定され、前記表示部12に[余り]シンボルRが表示される。 Here, as shown in FIG. 6B, when the [÷ remainder] key 11b is repeatedly operated (step S12 (Yes)), if the current usage mode is set to the commercial usage mode, It is switched to the surplus usage mode and set, and when the current usage mode is set to the surplus usage mode, it is switched to the commercial usage mode and set (step S13). Here, the commercial use mode is switched to the remainder use mode and set, and the [remainder] symbol R is displayed on the display unit 12.

すると、前記AC後状態フラグエリア22eに記憶されるAC後状態フラグがOFFに設定される(ステップS8)。 Then, the post-AC state flag stored in the post-AC state flag area 22e is set to OFF (step S8).

次に、図6(C)に示すように、前記[AC]キー11aの再操作後(ステップS1〜S4)、前記患者に薬が必要な期間(日数)を計算するのに、図6(D)(E)に示すように、前記[日数]キー11cを使用して、4[日数(月)]→8[日数(日)]→[÷(〜)]→5[日数(月)]→13[日数(日)]と月日の数値データを入力すると(ステップS5(Yes))、前記表示部12に[日数計算]シンボルと[〜(期間)]シンボルが表示されて当該入力された月日の数値データ“4−8”と“5−13”が順次表示される(ステップS6)。 Next, as shown in FIG. 6 (C), after the reoperation of the [AC] key 11a (steps S1 to S4), the period (days) in which the patient needs the drug is calculated in FIG. D) As shown in (E), using the [Days] key 11c, 4 [Days (Month)] → 8 [Days (Days)] → [÷ (~)] → 5 [Days (Month)) ] → 13 [Days (days)] and the numerical data of the month and day are input (step S5 (Yes)), the [Days calculation] symbol and the [~ (Period)] symbol are displayed on the display unit 12, and the input is made. The numerical data “4-8” and “5-13” of the date and time are displayed in sequence (step S6).

そして、例えば、後から入力された月日“5−13”に対応した数値データが被演算数として前記計算式データエリア22bのXレジスタに記憶され、先に入力された月日“4−8”に対応した数値データが演算数として前記計算式データエリア22bのXレジスタに記憶され、演算子[−]に対応した演算データが演算データレジスタに記憶される(ステップS7)。 Then, for example, the numerical data corresponding to the date “5-13” input later is stored in the X register of the calculation formula data area 22b as the number to be calculated, and the date “4-8” input earlier is stored. The numerical data corresponding to "" is stored in the X register of the calculation formula data area 22b as the number of operations, and the operation data corresponding to the operator [-] is stored in the operation data register (step S7).

また、前記AC後状態フラグエリア22eに記憶されるAC後状態フラグがOFFに設定される(ステップS8)。 Further, the post-AC state flag stored in the post-AC state flag area 22e is set to OFF (step S8).

ここで、前記患者に薬が必要な期間(日数)に必要とする前記錠剤の総個数(日数×3個(/1日))を計算するのに、図6(F)(G)に示すように、演算子キー[×]と数値キー[3]を操作する。 Here, in order to calculate the total number of tablets (days x 3 (/ day)) required for the period (days) when the patient needs the drug, it is shown in FIGS. 6 (F) and 6 (G). The operator key [x] and the numeric key [3] are operated in the same manner.

前記図6(F)で示したように、演算子[×]に対応した演算データ(÷余り以外)が入力されると(ステップS14(Yes))、前記計算式データエリア22bのXレジスタ、Yレジスタ、演算データレジスタに、それぞれ前記被演算数としての月日“5−13”に対応した数値データ、演算数としての月日“4−8”に対応した数値データ、演算子[−]に対応した演算データが入力(記憶)済みであると判断される(ステップS15(Yes))。 As shown in FIG. 6 (F), when the operation data (other than the remainder) corresponding to the operator [x] is input (step S14 (Yes)), the X register of the calculation formula data area 22b, In the Y register and the operation data register, the numerical data corresponding to the date "5-13" as the number of operations, the numerical data corresponding to the date "4-8" as the number of operations, and the operator [-] It is determined that the calculation data corresponding to is already input (stored) (step S15 (Yes)).

また、前記演算データレジスタに保留されている演算データ[−]は、[÷余り]の演算データではないと判断される(ステップS16(No))。 Further, it is determined that the arithmetic data [−] held in the arithmetic data register is not the arithmetic data of [÷ remainder] (step S16 (No)).

すると、前記演算データレジスタに記憶されている演算データ[−]に従い、前記Xレジスタに記憶された月日“5−13”に対応した数値データから前記Yレジスタに記憶された月日“4−8”に対応した数値データを減算する計算が実行され、該当期間(日数)に対応する計算結果の数値データ“35”が表示される(ステップS24)。 Then, according to the arithmetic data [-] stored in the arithmetic data register, the numerical data corresponding to the date "5-13" stored in the X register is converted into the date "4-" stored in the Y register. The calculation for subtracting the numerical data corresponding to "8" is executed, and the numerical data "35" of the calculation result corresponding to the corresponding period (days) is displayed (step S24).

すると、前記計算結果の数値データ“35”が前記計算式データエリア22bのXレジスタに次の計算の被演算数として記憶される(ステップS25)。 Then, the numerical data “35” of the calculation result is stored in the X register of the calculation formula data area 22b as the number of operations to be performed in the next calculation (step S25).

そして、今回入力された演算子[×]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Then, the calculation data corresponding to the operator [x] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

また、前記図6(G)で示したように、数値キー[3]に対応した数値データ“3”が入力されると(ステップS5(Yes))、入力された数値データ“3”が表示され(ステップS6)、前記計算式データエリア22bのYレジスタに次の計算の演算数として記憶される(ステップS7,S8)。 Further, as shown in FIG. 6 (G), when the numerical data "3" corresponding to the numerical key [3] is input (step S5 (Yes)), the input numerical data "3" is displayed. (Step S6), it is stored in the Y register of the calculation formula data area 22b as the number of operations for the next calculation (steps S7 and S8).

ここで、図6(H)に示すように、[÷余り]キー11bが操作され、[÷余り]の演算データが入力されると(ステップS9(Yes))、前記AC後状態フラグエリア22eのAC後状態フラグはONではなくOFFに設定されていると判断される(ステップS10(No))。また、前記計算式データエリア22bのXレジスタ、Yレジスタ、演算データレジスタに、それぞれ前記被演算数としての数値データ“35”(日数)、演算数としての数値データ“3”(個)、演算子[×]に対応した演算データが入力(記憶)済みであると判断される(ステップS15(Yes))。 Here, as shown in FIG. 6H, when the [÷ remainder] key 11b is operated and the calculation data of [÷ remainder] is input (step S9 (Yes)), the post-AC state flag area 22e It is determined that the post-AC state flag of is set to OFF instead of ON (step S10 (No)). Further, in the X register, Y register, and operation data register of the calculation formula data area 22b, the numerical data "35" (days) as the number of operations, the numerical data "3" (pieces) as the number of operations, and the calculation, respectively. It is determined that the calculation data corresponding to the child [x] has been input (stored) (step S15 (Yes)).

そして、前記演算データレジスタに保留されている演算データ[×]は、[÷余り]の演算データではないと判断される(ステップS16(No))。 Then, it is determined that the arithmetic data [x] held in the arithmetic data register is not the arithmetic data of [÷ remainder] (step S16 (No)).

すると、前記演算データレジスタに記憶されている演算データ[×]に従い、前記Xレジスタに記憶された数値データ“35”(日数)に前記Yレジスタに記憶された数値データ“3”(個)を乗算する計算が実行され、前記患者に必要な薬(錠剤)の総個数に対応する計算結果の数値データ“105”が表示される(ステップS24)。 Then, according to the calculation data [x] stored in the calculation data register, the numerical data "3" (pieces) stored in the Y register is added to the numerical data "35" (days) stored in the X register. The calculation for multiplication is executed, and the numerical data “105” of the calculation result corresponding to the total number of medicines (tablets) required for the patient is displayed (step S24).

すると、前記計算結果の数値データ“105”が前記計算式データエリア22bのXレジスタに次の計算の被演算数として記憶される(ステップS25)。 Then, the numerical data “105” of the calculation result is stored in the X register of the calculation formula data area 22b as the number of operations to be performed in the next calculation (step S25).

そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Then, the calculation data corresponding to the operator [÷ remainder] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

ここで、図6(I)に示すように、前記1箱に入った薬の個数(計42個)に対応した数値データ“42”が入力されると(ステップS5(Yes))、入力された数値データ“42”が表示され(ステップS6)、前記計算式データエリア22bのYレジスタに次の計算の演算数として記憶される(ステップS7,S8)。 Here, as shown in FIG. 6 (I), when the numerical data "42" corresponding to the number of medicines (42 in total) in the one box is input (step S5 (Yes)), it is input. The numerical data “42” is displayed (step S6), and is stored in the Y register of the calculation formula data area 22b as the number of operations for the next calculation (steps S7 and S8).

そして、図6(J)に示すように、[=](計算実行)キーが操作されると(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データ[÷余り]が記憶されていると判断される(ステップS32,S33(Yes))。 Then, as shown in FIG. 6 (J), when the [=] (calculation execution) key is operated (step S31 (Yes)), the calculation data held in the calculation data register of the calculation formula data area 22b [ ÷ remainder] is determined to be stored (steps S32, S33 (Yes)).

すると、前記演算データレジスタに記憶されている演算データ[÷余り]に従い、前記Xレジスタに記憶された数値データ“105”(患者に必要な薬の総個数)を前記Yレジスタに記憶された数値データ“42”(1箱に入った薬の個数)で除算する計算が実行され、前記患者に必要な薬の箱数とこれに加えて必要な薬の個数とに対応する計算結果の商の数値データ“2”と余りの数値データ“21”とが表示される(ステップS34)。 Then, according to the arithmetic data [÷ remainder] stored in the arithmetic data register, the numerical data “105” (total number of medicines required for the patient) stored in the X register is stored in the Y register. The calculation of dividing by the data "42" (the number of medicines in one box) is executed, and the quotient of the calculation result corresponding to the number of medicine boxes required for the patient and the number of medicines required in addition to this is calculated. The numerical data “2” and the remaining numerical data “21” are displayed (step S34).

ここで、現在、余り利用モードに設定されていると判断されると(ステップS35(Yes))、総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは“0”)に対して、前記計算結果である余りの数値データ“21”が加算され、更新された加算結果データ“21”として前記総合計(GT)メモリエリア22dに記憶される(ステップS36)。 Here, when it is determined that the remaining usage mode is currently set (step S35 (Yes)), the addition result data (here, “0”) stored in the total (GT) memory area 22d is displayed. On the other hand, the remaining numerical data “21” which is the calculation result is added and stored in the total (GT) memory area 22d as the updated addition result data “21” (step S36).

なお、前記ステップS35において、商利用モードに設定されていると判断された場合は(ステップS35(No))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは“0”)に対して、前記計算結果である商の数値データ“2”が加算され、更新された加算結果データ“2”として前記総合計(GT)メモリエリア22dに記憶される(ステップS37)。 If it is determined in step S35 that the commercial use mode is set (step S35 (No)), the addition result data stored in the total (GT) memory area 22d (here, "" Numerical data "2" of the quotient which is the calculation result is added to "0"), and is stored in the total (GT) memory area 22d as the updated addition result data "2" (step S37). ..

続いて、図6(K)に示すように、[÷余り]キー11bが操作され、[÷余り]の演算データが入力されると(ステップS9(Yes))、前記AC後状態フラグエリア22eのAC後状態フラグはONではなくOFFに設定されていると判断される(ステップS10(No))。また、前記計算式データエリア22bのXレジスタ、Yレジスタ、演算データレジスタに、数値データや演算データは入力(記憶)済みではないと判断される(ステップS15(No))。 Subsequently, as shown in FIG. 6 (K), when the [÷ remainder] key 11b is operated and the calculation data of [÷ remainder] is input (step S9 (Yes)), the post-AC state flag area 22e It is determined that the post-AC state flag of is set to OFF instead of ON (step S10 (No)). Further, it is determined that the numerical data and the calculation data have not been input (stored) in the X register, the Y register, and the calculation data register of the calculation formula data area 22b (step S15 (No)).

すると、前記図6(J)で示したように、前記商と余りの表示状態“2−21”であり(ステップS26(Yes))、前記余り利用モードに設定されていると判断され(ステップS27(Yes))、前記余りの数値データ“21”(前記薬2箱に加えて患者に必要な薬の個数)が、前記表示部12に表示され、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶される(ステップS28)。 Then, as shown in FIG. 6J, it is determined that the display state of the quotient and the remainder is “2-21” (step S26 (Yes)), and the mode is set to the remainder utilization mode (step). S27 (Yes)), the surplus numerical data “21” (the number of medicines required for the patient in addition to the two medicine boxes) is displayed on the display unit 12, and the calculation is performed as the number of operations to be calculated in the next calculation. It is stored in the X register of the formula data area 22b (step S28).

そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Then, the calculation data corresponding to the operator [÷ remainder] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

前記ステップS27において、商利用モードに設定されていると判断された場合は(ステップS27(No))、前記商の数値データ“2”が、前記表示部12に表示され、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶される(ステップS29)。そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 If it is determined in step S27 that the commercial use mode is set (step S27 (No)), the numerical data "2" of the quotient is displayed on the display unit 12, and the next calculation is performed. The number of operations is stored in the X register of the calculation formula data area 22b (step S29). Then, the calculation data corresponding to the operator [÷ remainder] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

なお、前記図6(H)で示したように計算されて表示された、前記患者に必要な薬(錠剤)の総個数“105”について、42個入りの薬の箱が2箱とこれに加えて必要な薬の個数に相当することが分かっている場合には、前記図6(J)で示した[=](計算実行)キーの操作を省略し、前記図6(I)で示した数値データ“42”を入力した後に(ステップS5〜S8)、続けて、前記図6(K)で示したように、[÷余り]キー11bを操作して、[÷余り]の演算データを入力してもよい(ステップS9(Yes),S10(No))。 Regarding the total number of medicines (tablets) required for the patient "105" calculated and displayed as shown in FIG. 6 (H), there are two medicine boxes containing 42 pieces and two boxes. In addition, when it is known that it corresponds to the required number of medicines, the operation of the [=] (calculation execution) key shown in FIG. 6 (J) is omitted and shown in FIG. 6 (I). After inputting the numerical data "42" (steps S5 to S8), as shown in FIG. 6 (K), the [÷ remainder] key 11b is operated to calculate the [÷ remainder] calculation data. May be input (steps S9 (Yes), S10 (No)).

この場合、前記計算式データエリア22bのXレジスタ、Yレジスタ、演算データレジスタに、それぞれ前記被演算数としての数値データ“105”、演算数としての数値データ“42”、演算子[÷余り]に対応した演算データが入力(記憶)済みであると判断される(ステップS15(Yes))。また、前記演算データレジスタに保留されている演算データは、[÷余り]の演算データであると判断される(ステップS16(Yes))。 In this case, in the X register, Y register, and operation data register of the calculation formula data area 22b, the numerical data “105” as the number of operations, the numerical data “42” as the number of operations, and the operator [÷ remainder] are stored, respectively. It is determined that the calculation data corresponding to is already input (stored) (step S15 (Yes)). Further, the arithmetic data held in the arithmetic data register is determined to be the arithmetic data of [÷ remainder] (step S16 (Yes)).

よって、前記演算データレジスタに記憶されている演算データ[÷余り]に従い、前記Xレジスタに記憶された数値データ“105”を前記Yレジスタに記憶された数値データ“42”で除算する計算が実行され、前記同様に算出された患者に必要な薬の箱数とこれに加えて必要な薬の個数とに対応する計算結果の商の数値データ“2”と余りの数値データ“21”とが一時記憶される(ステップS17)。 Therefore, the calculation of dividing the numerical data "105" stored in the X register by the numerical data "42" stored in the Y register is executed according to the arithmetic data [÷ remainder] stored in the arithmetic data register. Then, the numerical data “2” of the quotient of the calculation result corresponding to the number of medicine boxes required for the patient and the number of medicines required in addition to the same calculation, and the remaining numerical data “21” are obtained. It is temporarily stored (step S17).

そして、現在、余り利用モードであると判断され(ステップS18(Yes))、前記余りの数値データ“21”(前記薬2箱に加えて患者に必要な薬の個数)が、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶され(ステップS19)、前記表示部12に表示される(ステップS20)。 Then, it is currently determined that the mode is the surplus utilization mode (step S18 (Yes)), and the surplus numerical data "21" (the number of medicines required for the patient in addition to the two medicine boxes) is calculated in the next calculation. The number to be calculated is stored in the X register of the calculation formula data area 22b (step S19) and displayed on the display unit 12 (step S20).

そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Then, the calculation data corresponding to the operator [÷ remainder] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

なお、前記ステップS18において、商利用モードに設定されていると判断された場合は(ステップS18(No))、前記商の数値データ“2”が、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶され(ステップS22)、前記表示部12に表示される(ステップS23)。 If it is determined in step S18 that the commercial use mode is set (step S18 (No)), the numerical data "2" of the quotient is the calculation formula as the number to be calculated in the next calculation. It is stored in the X register of the data area 22b (step S22) and displayed on the display unit 12 (step S23).

続いて、図6(L)に示すように、前記1シートに入った薬の個数(14個)に対応した数値データ“14”が入力されると(ステップS5(Yes))、入力された数値データ“14”が表示され(ステップS6)、前記計算式データエリア22bのYレジスタに次の計算の演算数として記憶される(ステップS7,S8)。 Subsequently, as shown in FIG. 6 (L), when the numerical data “14” corresponding to the number of medicines (14) contained in the one sheet was input (step S5 (Yes)), the data was input. Numerical data “14” is displayed (step S6), and is stored in the Y register of the calculation formula data area 22b as the number of operations for the next calculation (steps S7 and S8).

そして、図6(M)に示すように、[=](計算実行)キーが操作されると(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データ[÷余り]が記憶されていると判断される(ステップS32,S33(Yes))。 Then, as shown in FIG. 6M, when the [=] (calculation execution) key is operated (step S31 (Yes)), the calculation data held in the calculation data register of the calculation formula data area 22b [ ÷ remainder] is determined to be stored (steps S32, S33 (Yes)).

すると、前記患者に必要な薬が何箱になるかを計算した場合と同様に、前記演算データレジスタに記憶されている演算データ[÷余り]に従い、前記Xレジスタに記憶された数値データ“21”(前記2箱に加えて患者に必要な薬の個数)を前記Yレジスタに記憶された数値データ“14”(1シートに入った薬の個数)で除算する計算が実行され、前記患者に必要な薬のシートの枚数とばらの個数とに対応する計算結果の商の数値データ“1”と余りの数値データ“7”とが表示される(ステップS34)。 Then, the numerical data "21" stored in the X register is according to the calculation data [÷ remainder] stored in the calculation data register, as in the case of calculating how many boxes of medicines are required for the patient. "(The number of medicines required for the patient in addition to the two boxes) is divided by the numerical data" 14 "(the number of medicines contained in one sheet) stored in the Y register, and the patient is given a calculation. Numerical data “1” of the quotient of the calculation result corresponding to the number of required medicine sheets and the number of loose pieces and the remaining numerical data “7” are displayed (step S34).

これにより、前記患者が必要とする薬の総個数(105個)と、当該必要個数が2箱+1シート+ばら7個になることを、簡単に見通し良く求めることができる。 As a result, it is possible to easily and clearly determine the total number of medicines (105) required by the patient and the required number of medicines to be 2 boxes + 1 sheet + 7 loose pieces.

なお、前記[=](計算実行)キーが操作された際に(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データが[÷余り]以外の演算データであると判断された場合は(ステップS32,S33(No))、当該計算式データエリア22bに記憶されている計算式データに対応した計算が実行され、計算結果の数値データが表示される(ステップS38)。 When the [=] (calculation execution) key is operated (step S31 (Yes)), the calculation data held in the calculation data register of the calculation formula data area 22b is the calculation data other than [÷ remainder]. If it is determined that (steps S32 and S33 (No)), the calculation corresponding to the calculation formula data stored in the calculation formula data area 22b is executed, and the numerical data of the calculation result is displayed ( Step S38).

そして、前記総合計(GT)メモリエリア22dに記憶されている加算結果データに対して、前記計算結果の数値データが加算され、更新された加算結果データとして前記総合計(GT)メモリエリア22dに記憶される(ステップS39)。 Then, the numerical data of the calculation result is added to the addition result data stored in the total (GT) memory area 22d, and the updated addition result data is added to the total (GT) memory area 22d. It is stored (step S39).

また、前記[=](計算実行)キーが操作された際に(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データが無いと判断された場合は(ステップS32(No))、前記表示部12に現在表示されている数値データがそのまま計算結果の数値データとして前記計算結果(=)データエリア22cに記憶され一時保存される(ステップS40)。そして、前記同様に、前記総合計(GT)メモリエリア22dに記憶されている加算結果データが更新される(ステップS39)。 Further, when it is determined that there is no calculation data held in the calculation data register of the calculation formula data area 22b when the [=] (calculation execution) key is operated (step S31 (Yes)), ( In step S32 (No)), the numerical data currently displayed on the display unit 12 is stored as the numerical data of the calculation result in the calculation result (=) data area 22c and temporarily stored (step S40). Then, similarly to the above, the addition result data stored in the total (GT) memory area 22d is updated (step S39).

したがって、前記構成の電卓10による第1実施形態の計算機能によれば、患者に必要な薬の総個数を、例えば服用期間(35日)と1日当たりの服用個数(3個)とに基づき算出し(105個)、[÷余り]の演算データを入力して1箱あたりの薬の個数(42個)を入力し計算実行すると、計算結果の数値データが、前記患者に必要な薬の箱数とばら個数とに対応した商の数値データ“2”(箱)と余りの数値データ“21”(個)として算出される。この際、余り利用モードに設定されていれば、前記余りの数値データ“21”(個)が次の計算の被演算数として計算式データエリア22bのXレジスタに記憶され、続けて、前記[÷余り]の演算データを入力して1シートあたりの薬の個数(14個)を入力し計算実行すると、計算結果の数値データが、前記2箱に加えて必要な薬のシート数とばら個数とに対応した商の数値データ“1”(シート)と余りの数値データ“7”(個)として算出される。 Therefore, according to the calculation function of the first embodiment by the calculator 10 having the above configuration, the total number of medicines required for the patient is calculated based on, for example, the period of administration (35 days) and the number of medicines taken per day (3). If you enter the calculation data of (105 pieces) and [÷ remainder], enter the number of medicines per box (42 pieces), and execute the calculation, the numerical data of the calculation result will be the medicine box required for the patient. It is calculated as the numerical data "2" (box) of the quotient corresponding to the number and the number of loose pieces and the numerical data "21" (pieces) of the remainder. At this time, if the surplus usage mode is set, the surplus numerical data "21" (pieces) is stored in the X register of the calculation formula data area 22b as the number to be calculated in the next calculation, and subsequently, the above-mentioned [ If you enter the calculation data of [÷ remainder], enter the number of medicines per sheet (14 pieces), and execute the calculation, the numerical data of the calculation result will be the number of sheets of medicines required in addition to the above two boxes and the number of loose pieces. It is calculated as the numerical data "1" (sheet) of the quotient corresponding to and the numerical data "7" (pieces) of the remainder.

このように、除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことが可能になるので、例えば薬局において、前記患者に対し必要な薬が何箱+何シート+ばら何個になるかを、簡単に見通し良く求めることができる。 In this way, the surplus numerical data obtained by division can be easily used in the next calculation to perform continuous calculations. Therefore, for example, in a pharmacy, how many boxes of medicines are required for the patient + what You can easily find out how many sheets + loose pieces you will have.

(第2実施形態)
図7は、前記電卓10の計算処理に従った第2実施形態のユーザ操作に対応する表示動作を示す図である。
(Second Embodiment)
FIG. 7 is a diagram showing a display operation corresponding to the user operation of the second embodiment according to the calculation process of the calculator 10.

この第2実施形態では、前記[÷余り]の計算機能を利用して、複数の患者にそれぞれ必要な薬を何シート+ばら何個と求めて渡して行くときに、単純に患者の順番で前記シートをばらして行くと、例えば1個のばらが出て纏めにくく、患者側でも無くし易い場合が出る。このため、各患者に渡すばらのシートの部分をできるだけ大きな纏まりにして見通し良く分けることができるように、予め、各患者に渡すばらの個数を合わせて何シート+ばら何個になるかを求めることを仮定する。 In this second embodiment, when the calculation function of [÷ remainder] is used to obtain and deliver the necessary medicines to a plurality of patients as the number of sheets + the number of loose pieces, the order is simply the patients. When the sheets are separated, for example, one rose may come out and be difficult to put together, and it may be easy for the patient to lose it. For this reason, the number of roses to be given to each patient is calculated in advance to determine how many sheets + how many roses to give to each patient so that the parts of the rose sheets to be given to each patient can be grouped as large as possible and separated with good visibility. Suppose that.

この第2実施形態において、前記第1実施形態と同様のユーザ操作に対応する表示動作については、前記図3〜図5に示すフローチャートのステップ符号を付してその詳細な説明を省略する。 In the second embodiment, the display operation corresponding to the same user operation as in the first embodiment is designated by the step reference numerals of the flowcharts shown in FIGS. 3 to 5, and detailed description thereof will be omitted.

前記第1実施形態と同様に、図7(A)に示すように、[AC]キー11a及び[÷余り]キー11bの操作に応じて余り利用モード([余り]シンボルR表示)に設定されている状態で(ステップS1〜S4/S8〜S13)、例えば、患者Aが12日間に服用する薬の総個数を求めるため、図7(B)(C)に示すように、計算式データ“12[×]3”を入力する。 Similar to the first embodiment, as shown in FIG. 7A, the remainder utilization mode ([remainder] symbol R display) is set according to the operation of the [AC] key 11a and the [÷ remainder] key 11b. In this state (steps S1 to S4 / S8 to S13), for example, in order to obtain the total number of drugs taken by patient A in 12 days, as shown in FIGS. 7 (B) and 7 (C), the calculation formula data " 12 [×] 3 ”is input.

すると、前記入力された演算子[×]の演算データは、前記[÷余り]の演算データ以外の演算データで(ステップS14(Yes))、前記計算式データエリア22bに計算式データが入力済みではなく(ステップS15(No))、前記表示部12は商と余りの表示状態ではないので(ステップS26(No))、当該表示部12に表示されている数値データ“12”(図7(B)参照)が被演算数として前記計算式データエリア22bのXレジスタに記憶される(ステップS30)。 Then, the operation data of the input operator [x] is operation data other than the operation data of [÷ remainder] (step S14 (Yes)), and the calculation formula data has already been input to the calculation formula data area 22b. Not (step S15 (No)), and since the display unit 12 is not in the quotient and remainder display state (step S26 (No)), the numerical data “12” displayed on the display unit 12 (FIG. 7 (FIG. 7). B)) is stored as the number to be calculated in the X register of the calculation formula data area 22b (step S30).

また、今回入力された前記演算子[×]の演算データが、前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Further, the operation data of the operator [x] input this time is stored in the operation data register of the calculation formula data area 22b (step S21).

そして、続いて入力された数値データ“3”(図7(C)参照)が演算数として前記計算式データエリア22bのYレジスタに記憶される(ステップS5〜S8)。 Then, the subsequently input numerical data “3” (see FIG. 7C) is stored in the Y register of the calculation formula data area 22b as the number of operations (steps S5 to S8).

ここで、前記入力された計算式データ“12[×]3”の計算を実行して求められる前記患者Aに必要な薬の総個数を対象に、前記1シートの薬の個数“14”により前記[÷余り]の計算を行なうため、図7(D)(E)に示すように、前記[÷余り]キー11aを操作して[÷余り]の演算データを入力し、前記1シートの薬の個数である数値データ“14”を入力する。 Here, the total number of medicines required for the patient A, which is obtained by executing the calculation of the input calculation formula data "12 [x] 3", is calculated by the number of medicines "14" in the one sheet. In order to calculate the [÷ remainder], as shown in FIGS. 7 (D) and 7 (E), the [÷ remainder] key 11a is operated to input the calculation data of the [÷ remainder], and the calculation data of the [÷ remainder] is input. The numerical data "14" which is the number of medicines is input.

すると、前記[÷余り]の演算データの入力(図7(D)参照)に応じて(ステップS9(Yes))、前記AC後状態フラグ(22e)がONではなく(ステップS10(No))、前記計算式データ“12[×]3”は入力済みで(ステップS15(Yes))、前記演算データレジスタに記憶されて保留されている演算データ[×]は[÷余り]の演算データではないと判断される(ステップS16(No))。そして、前記保留されている演算データ[×]に従い前記計算式データ“12[×]3”の計算が実行され、その計算結果の数値データ“36”が、前記表示部12に表示され(ステップS24)、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶される(ステップS25)。また、今回入力された前記[÷余り]の演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。 Then, in response to the input of the calculation data of [÷ remainder] (see FIG. 7 (D)) (step S9 (Yes)), the post-AC state flag (22e) is not ON (step S10 (No)). , The calculation formula data "12 [x] 3" has already been input (step S15 (Yes)), and the calculation data [x] stored and held in the calculation data register is the calculation data of [÷ remainder]. It is determined that there is no such thing (step S16 (No)). Then, the calculation of the calculation formula data "12 [x] 3" is executed according to the reserved calculation data [x], and the numerical data "36" of the calculation result is displayed on the display unit 12 (step). S24), it is stored in the X register of the calculation formula data area 22b as the number to be calculated in the next calculation (step S25). Further, the calculation data of the [÷ remainder] input this time is stored in the calculation data register of the calculation formula data area 22b (step S21).

そして、前記数値データ“14”の入力(図7(E)参照)に応じて、当該入力された数値データ“14”が演算数として前記計算式データエリア22bのYレジスタに記憶される(ステップS5〜S8)。 Then, in response to the input of the numerical data "14" (see FIG. 7 (E)), the input numerical data "14" is stored in the Y register of the calculation formula data area 22b as the number of operations (step). S5 to S8).

ここで、図7(F)に示すように、[=](計算実行)キーが操作されると(ステップS31(Yes))、前記演算データレジスタに保留された[÷余り]の演算データがあるので(ステップS32,S33(Yes))、前記演算データ[÷余り]に従い、前記Xレジスタに記憶された数値データ“36”(患者Aに必要な薬の総個数)を前記Yレジスタに記憶された数値データ“14”(1シートの薬の個数)で除算する計算が実行され、前記患者Aに必要な薬のシート数とこれに加えて必要な薬のばら個数とに対応する計算結果の商の数値データ“2”と余りの数値データ“8”とが表示される(ステップS34)。 Here, as shown in FIG. 7 (F), when the [=] (calculation execution) key is operated (step S31 (Yes)), the calculation data of [÷ remainder] held in the calculation data register is displayed. Since there is (steps S32, S33 (Yes)), the numerical data "36" (total number of drugs required for patient A) stored in the X register is stored in the Y register according to the calculation data [÷ remainder]. The calculation of dividing by the numerical data "14" (the number of medicines in one sheet) is executed, and the calculation result corresponding to the number of medicine sheets required for the patient A and the number of loose medicines required in addition to this. The numerical data “2” of the quotient and the numerical data “8” of the remainder are displayed (step S34).

ここで、現在、余り利用モードに設定されているので(ステップS35(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは“0”)に対して、前記計算結果である余りの数値データ“8”が加算され、更新された加算結果データ“8”として前記総合計(GT)メモリエリア22dに記憶される(ステップS36)。 Here, since the remainder usage mode is currently set (step S35 (Yes)), the addition result data (“0” in this case) stored in the total (GT) memory area 22d is compared with respect to the addition result data (“0” in this case). The remaining numerical data “8” which is the calculation result is added and stored in the total (GT) memory area 22d as the updated addition result data “8” (step S36).

また、患者Bについても、前記患者Aと同様に、図7(G)(H)(I)に示すように、計算式データ“25(日)[×]3(個)”、演算データ[÷余り]、数値データ“14”(個/シート)、[=]キー、と順次入力するとこで、当該患者Bに必要な薬の総個数“75”が算出されて表示される(ステップS14,S15(No)→S26(No)→S30→S21→S5〜S8→S9,S10(No)→S15,S16(No)→S24)。また、前記患者Bに必要な薬の総個数“75”に対応した薬のシート数とこれに加えて必要な薬のばら個数とに対応する商の数値データ“5”と余りの数値データ“5”とが算出されて表示される(ステップS25→S21→S5〜S8→S31〜S34)。 As for the patient B, as shown in FIGS. 7 (G), (H), and (I), the calculation formula data “25 (day) [×] 3 (pieces)” and the calculation data [ ÷ remainder], numerical data “14” (pieces / sheet), [=] key, and so on, the total number of medicines required for the patient B “75” is calculated and displayed (step S14). , S15 (No) → S26 (No) → S30 → S21 → S5 to S8 → S9, S10 (No) → S15, S16 (No) → S24). Further, the numerical data "5" of the quotient corresponding to the total number of medicines required for the patient B "75" and the number of loose medicines required in addition to this, and the remaining numerical data " 5 ”is calculated and displayed (steps S25 → S21 → S5 to S8 → S31 to S34).

ここでも、現在、余り利用モードに設定されているので(ステップS35(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは前記患者Aに渡す薬のシート以外のばら個数“8”)に対して、前記患者Bに渡す薬のシート以外のばら個数である余りの数値データ“5”が加算され、更新された加算結果データ“13”として前記総合計(GT)メモリエリア22dに記憶される(ステップS36)。 Here, too, since the mode is currently set to the remainder usage mode (step S35 (Yes)), the addition result data stored in the total (GT) memory area 22d (here, the medicine sheet to be passed to the patient A). The remaining numerical data “5”, which is the number of loose pieces other than the medicine sheet to be passed to the patient B, is added to the number of loose pieces other than “8”), and the total is added as the updated addition result data “13”. (GT) It is stored in the memory area 22d (step S36).

さらに、患者Cについても、前記患者A,Bと同様に、図7(J)(K)(L)に示すように、計算式データ“18(日)[×]3(個)”、演算データ[÷余り]、数値データ“14”(個/シート)、[=]キー、と順次入力するとこで、当該患者Cに必要な薬の総個数“54”が算出されて表示される(ステップS14,S15(No)→S26(No)→S30→S21→S5〜S8→S9,S10(No)→S15,S16(No)→S24)。また、前記患者Cに必要な薬の総個数“54”に対応した薬のシート数とこれに加えて必要な薬のばら個数とに対応する商の数値データ“3”と余りの数値データ“12”とが算出されて表示される(ステップS25→S21→S5〜S8→S31〜S34)。 Further, for patient C, as shown in FIGS. 7 (J), (K) and (L), the calculation formula data “18 (day) [×] 3 (pieces)” and the calculation are performed in the same manner as in the patients A and B. By inputting the data [÷ remainder], the numerical data “14” (pieces / sheet), and the [=] key in sequence, the total number of drugs “54” required for the patient C is calculated and displayed ( Steps S14, S15 (No) → S26 (No) → S30 → S21 → S5 to S8 → S9, S10 (No) → S15, S16 (No) → S24). Further, the numerical data "3" of the quotient corresponding to the total number of medicines required for the patient C "54" and the number of loose medicines required in addition to this, and the remaining numerical data " 12 ”is calculated and displayed (steps S25 → S21 → S5 to S8 → S31 to S34).

そして、前記同様に、余り利用モードに設定されているので(ステップS35(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは前記患者A,Bに渡す薬のシート以外の合計のばら個数“13”)に対して、前記患者Cに渡す薬のシート以外のばら個数である余りの数値データ“12”が加算され、更新された加算結果データ“25”として前記総合計(GT)メモリエリア22dに記憶される(ステップS36)。 Then, similarly to the above, since the remainder usage mode is set (step S35 (Yes)), the addition result data stored in the total (GT) memory area 22d (here, passed to the patients A and B). The remaining numerical data “12”, which is the number of loose pieces other than the medicine sheet to be passed to the patient C, is added to the total number of loose pieces other than the medicine sheet “13”), and the updated addition result data “25” is added. Is stored in the total (GT) memory area 22d (step S36).

ここで、図7(M)に示すように、[GT]キー11dにより総合計の表示を指示する操作が行われると(ステップS41(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ“25”が読み出されて表示され、前記患者A,B,Cに渡す薬のシート以外の合計のばら個数を確認できる。 Here, as shown in FIG. 7 (M), when the operation of instructing the display of the total total is performed by pressing the [GT] key 11d (step S41 (Yes)), the data is stored in the total total (GT) memory area 22d. The added result data "25" is read out and displayed, and the total number of loose pieces other than the medicine sheets to be passed to the patients A, B, and C can be confirmed.

そして、前記各患者A,B,Cに渡す薬のシート以外の合計のばら個数“25”について、何シート+ばら何個に相当するかを求めるため、図7(N)(O)(P)に示すように、前記同様に[÷余り]キー11bにより[÷余り]の演算データを入力し、前記1シートに入った薬の個数である数値データ“14”を入力し、前記[=]キーにより計算の実行を指示する。 Then, in order to obtain the number of sheets + the number of loose pieces for the total number of loose pieces "25" other than the drug sheets to be passed to each of the patients A, B, and C, FIGS. 7 (N) (O) (P). ), Similarly, the calculation data of [÷ remainder] is input by the [÷ remainder] key 11b, the numerical data “14” which is the number of medicines contained in the one sheet is input, and the above [= ] Key indicates the execution of calculation.

すると、前記同様に、前記入力されて表示された数値データ“25”(各患者に渡すシート以外の合計のばら個数)(図7(N)参照)が、被演算数として前記計算式データエリア22bのXレジスタに記憶され、今回入力された前記[÷余り]の演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS9,S10(No)→S15(No)→S26(No)→S30→S21)。また、前記入力されて表示された数値データ“14”(1シートに入った薬の個数)(図7(O)参照)が、演算数として前記計算式データエリア22bのYレジスタに記憶される(ステップS5〜S8)。 Then, similarly to the above, the input and displayed numerical data “25” (total number of loose pieces other than the sheets to be passed to each patient) (see FIG. 7 (N)) is used as the number to be calculated in the calculation formula data area. It is stored in the X register of 22b, and the operation data of the [÷ remainder] input this time is stored in the operation data register of the calculation formula data area 22b (steps S9, S10 (No) → S15 (No) → S26). (No) → S30 → S21). Further, the input and displayed numerical data "14" (the number of medicines contained in one sheet) (see FIG. 7 (O)) is stored in the Y register of the calculation formula data area 22b as the number of calculations. (Steps S5 to S8).

そして、前記各患者A,B,Cに渡す薬のシート以外の合計のばら個数“25”が、何シート+ばら何個になるかに対応する商の数値データ“1”と余りの数値データ“11”として算出されて表示される(ステップS31〜S34)。 Then, the numerical data "1" of the quotient and the remaining numerical data corresponding to how many sheets + how many loose pieces the total number of loose pieces "25" other than the medicine sheets to be passed to each patient A, B, C becomes. It is calculated and displayed as "11" (steps S31 to S34).

これにより、前記患者Aに2シート+ばら8個(図7(F)参照)、前記患者Bに5シート+ばら5個(図7(I)参照)、前記患者Cに3シート+ばら12個(図7(L)参照)の薬を渡すのを容易に知ることができるだけでなく、予め、前記各患者に渡すばらの合計が1シート+ばら11個になることを容易に知ることができる。よって、例えば前記患者Cにはばら12個の纏まり、前記患者Aにはばら8個の纏まり、前記患者Bにはばら2個と3個の纏まりとして見通し良く分けて渡せるようになる。 As a result, the patient A has 2 sheets + 8 roses (see FIG. 7 (F)), the patient B has 5 sheets + 5 roses (see FIG. 7 (I)), and the patient C has 3 sheets + 12 roses. Not only can it be easily known that the medicines (see FIG. 7 (L)) are delivered, but it is also easy to know in advance that the total number of roses to be delivered to each patient is 1 sheet + 11 roses. it can. Therefore, for example, the patient C can be given a group of 12 roses, the patient A can be given a group of 8 roses, and the patient B can be given a group of 2 and 3 roses with good visibility.

したがって、前記構成の電卓10による第2実施形態の計算機能によれば、前記第1実施形態と同様に、除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことで、例えば薬局において、患者に対し必要な薬が何箱+何シート+ばら何個になるかを、簡単に見通し良く求めることができる。 Therefore, according to the calculation function of the second embodiment by the calculator 10 having the above configuration, as in the first embodiment, the remainder numerical data obtained by division can be easily used for the next calculation to perform continuous calculation. By doing so, for example, in a pharmacy, it is possible to easily and clearly determine how many boxes + how many sheets + how many pieces of medicine are required for a patient.

しかも、前記第2実施形態の計算機能によれば、前記余り利用モードを設定した状態では、前記除算により余りの数値データが得られる毎に、当該余りの数値データを前記総合計(GT)メモリエリア22dの加算結果データに繰り返し加算して記憶でき、当該加算結果データを[GT]キー11dにより読み出して次の計算に用いることができる。 Moreover, according to the calculation function of the second embodiment, in the state where the remainder utilization mode is set, every time the remainder numerical data is obtained by the division, the surplus numerical data is stored in the total sum (GT) memory. The addition result data in the area 22d can be repeatedly added and stored, and the addition result data can be read out by the [GT] key 11d and used for the next calculation.

これにより、例えば、複数の患者にそれぞれ必要な薬を何シート+ばら何個と求めて渡して行くときに、予め、各患者に渡すばらの個数を合わせて何シート+ばら何個になるか容易に求めることができ、各患者に渡すばらのシートの部分をできるだけ大きな纏まりにして見通し良く分けて渡すことができる。 As a result, for example, when the required medicines are given to a plurality of patients as the number of sheets + the number of loose pieces, the number of pieces to be given to each patient is combined in advance to obtain the number of sheets + the number of loose pieces. It can be easily obtained, and the parts of the loose sheet to be handed to each patient can be divided into as large a group as possible and handed in a clear manner.

なお、前記各実施形態において記載した計算装置(電卓10)による各処理の手法、すなわち、図3,図4,図5のフローチャートに示す計算処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、そして、電子式計算機のコンピュータ(CPU)は、前記外部記録装置の媒体に記憶されたプログラムを記憶装置に読み込み、読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した[÷余り]の計算機能を実現し、前述した手法による同様の処理を実行することができる。 It should be noted that each method of processing by the computing device (computer 10) described in each of the above embodiments, that is, each method of calculation processing and the like shown in the flowcharts of FIGS. 3, 4 and 5 is to be executed by a computer. As a program that can be used, it can be used as a medium for external recording devices such as memory cards (ROM cards, RAM cards, etc.), magnetic disks (floppy (registered trademark) disks, hard disks, etc.), optical disks (CD-ROM, DVD, etc.), semiconductor memories, etc. Can be stored and distributed. Then, the computer (CPU) of the electronic computer reads the program stored in the medium of the external recording device into the storage device, and the operation is controlled by the read program, thereby explaining in each of the above-described embodiments. It is possible to realize the calculation function of [÷ remainder] and execute the same processing by the above-mentioned method.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(N)上を伝送させることができ、前記通信ネットワーク(N)に接続されたコンピュータ装置(プログラムサーバ)から前記プログラムのデータを、電子式計算機に取り込んで記憶装置に記憶させ、前述した[÷余り]の計算機能を実現することもできる。 Further, the data of the program for realizing each of the above methods can be transmitted on the communication network (N) in the form of a program code, and is transmitted from a computer device (program server) connected to the communication network (N). It is also possible to take the data of the program into an electronic computer and store it in a storage device to realize the above-mentioned calculation function of [÷ remainder].

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 The invention of the present application is not limited to each of the above-described embodiments, and can be variously modified at the implementation stage without departing from the gist thereof. Further, each of the above-described embodiments includes 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 constituents are deleted from all the constituents shown in each embodiment or some constituents are combined in different forms, the problems described in the section of the problem to be solved by the invention Can be solved and the effects described in the section on the effects of the invention can be 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]
Either the quotient usage state that uses the numerical data of the quotient of the calculation result of the quotient division that calculates the quotient and the remainder according to the user operation, or the remainder usage state that uses the numerical data of the remainder of the calculation result. Initial setting means for initializing the state and
When the user specifies the quotient remainder division for the numerical data input according to the user operation, the quotient remainder display for displaying the quotient numerical data corresponding to the input numerical data and the residual numerical data. Control means and
When the user specifies an operation while the numerical data of the quotient and the numerical data of the remainder are displayed by the quotient remainder display control means, the numerical data of the quotient according to the initial setting by the initial setting means Alternatively, an initial setting-compatible quotient remainder input means for inputting the remainder numerical data so that it can be used for the specified calculation.
A computing device characterized by being equipped with.

[2]
前記初期設定手段は、ユーザの初期表示操作後に、ユーザにより複数回以上の前記商余り除算の指定がされることにより、前記商利用状態、又は前記余り利用状態の何れかの状態を初期設定する、
ことを特徴とする[1]に記載の計算装置。
[2]
The initial setting means initially sets either the commercial use state or the remainder use state by designating the quotient remainder division a plurality of times or more after the user's initial display operation. ,
The computing device according to [1].

[3]
前記初期設定手段は、ユーザの初期表示操作後に、ユーザにより前記商余り除算の指定が1回行われると、前記初期設定されている前記商利用状態を示す表示、又は前記初期設定されている前記余り利用状態を示す表示を行う状態表示制御手段を備える、
ことを特徴とする[1]又は[2]に記載の計算装置。
[3]
When the user specifies the quotient remainder division once after the initial display operation of the user, the initial setting means displays the initially set display indicating the commercial use state, or the initial setting. A state display control means for displaying a remaining usage state is provided.
The computing device according to [1] or [2].

[4]
前記商余り表示制御手段により商の数値データと余りの数値データとが表示される毎に、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを加算して記憶する加算記憶手段と、
前記加算記憶手段により記憶された前記商の数値データ又は前記余りの数値データを加算した加算結果の数値データについて、前記加算結果の数値データに対応する商の数値データと余りの数値データとを表示させる加算結果商余り表示制御手段と、
を備えたことを特徴とする[1]乃至[3]の何れかに記載の計算装置。
[4]
Every time the numerical data of the quotient and the numerical data of the remainder are displayed by the quotient remainder display control means, the numerical data of the quotient or the numerical data of the remainder according to the initial setting by the initial setting means is added and stored. Means of storage and
With respect to the numerical data of the quotient stored by the addition storage means or the numerical data of the addition result obtained by adding the numerical data of the remainder, the numerical data of the quotient corresponding to the numerical data of the addition result and the numerical data of the remainder are displayed. Addition result quotient display control means and
The computing device according to any one of [1] to [3].

[5]
ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定し、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させ、
前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する、
ようにした計算方法。
[5]
Either the quotient usage state that uses the numerical data of the quotient of the calculation result of the quotient division that calculates the quotient and the remainder according to the user operation, or the remainder usage state that uses the numerical data of the remainder of the calculation result. Initialize the state and
When the user specifies the quotient remainder division for the numerical data input according to the user operation, the numerical data of the quotient corresponding to the input numerical data and the numerical data of the remainder are displayed.
When the operation is specified by the user while the numerical data of the quotient and the numerical data of the remainder are displayed, the numerical data of the quotient or the numerical data of the remainder according to the initial setting is designated. Enter available for arithmetic,
The calculation method.

[6]
コンピュータを、
ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定する初期設定手段と、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する初期設定対応商余り入力手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
[6]
Computer,
Either the quotient usage state that uses the numerical data of the quotient of the calculation result of the quotient division that calculates the quotient and the remainder according to the user operation, or the remainder usage state that uses the numerical data of the remainder of the calculation result. Initial setting means for initializing the state and
When the user specifies the quotient remainder division for the numerical data input according to the user operation, the quotient remainder display for displaying the quotient numerical data corresponding to the input numerical data and the residual numerical data. Control means and
When the user specifies an operation while the numerical data of the quotient and the numerical data of the remainder are displayed by the quotient remainder display control means, the numerical data of the quotient according to the initial setting by the initial setting means Alternatively, an initial setting-compatible quotient remainder input means for inputting the remainder numerical data so that it can be used for the specified calculation.
A computer-readable program to function as.

10 …電卓(電子式卓上計算機)
11 …キー入力部
11a…[AC]キー
11b…[÷余り]キー
11c…[日数]キー
11d…[GT]キー
12 …表示部
21 …CPU
22 …メモリ
22a…計算処理プログラム
22b…計算式データエリア
22c…計算結果(=)データエリア
22d…総合計(GT)メモリエリア
22e…AC後状態フラグエリア
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ
N …通信ネットワーク
10 ... Calculator (electronic desk calculator)
11 ... Key input unit 11a ... [AC] key 11b ... [÷ remainder] key 11c ... [Days] key 11d ... [GT] key 12 ... Display unit 21 ... CPU
22 ... Memory 22a ... Calculation processing program 22b ... Calculation formula data area 22c ... Calculation result (=) Data area 22d ... Total total (GT) memory area 22e ... Post-AC status flag area 23 ... External recording medium 24 ... Recording medium reader 25 ... Communication unit 30 ... Web server N ... Communication network

Claims (8)

商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を設定する設定手段と、
入力された数値データについて、前記商余り除算の実行指示に対応する操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、前記商余り除算に対応するキーの操作を受け付けると、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する設定対応商余り入力手段と、
入力された数値データについて、前記商余り除算の実行指示に対応する第2操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとのうち、前記設定手段による設定に応じた商の数値データ又は余りの数値データのみを表示させる第2商余り表示制御手段と、
を備え
前記第2商余り表示制御手段は、前記商余り除算の実行結果として表示する、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する第2設定対応商余り入力手段を有することを特徴とする計算装置。
Setting means for setting either the quotient usage state that uses the numerical data of the quotient of the calculation result of the quotient remainder division that calculates the quotient and the remainder, or the remainder usage state that uses the numerical data of the remainder of the calculation result. When,
When the operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and the quotient is obtained as the execution result of the quotient remainder division . A quotient remainder display control means for displaying numerical data and a remainder numerical data,
When the operation of the key corresponding to the quotient remainder division is received in the state where the numerical data of the quotient and the numerical data of the remainder are displayed by the quotient remainder display control means, the quotient according to the setting by the setting means is received. A setting-compatible quotient remainder input means for inputting numerical data or a remainder numerical data so that it can be used for the quotient remainder division .
When the second operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and as the execution result of the quotient remainder division, A second quotient remainder display control means for displaying only the quotient numerical data or the remainder numerical data according to the setting by the setting means among the quotient numerical data and the remainder numerical data.
Equipped with a,
The second quotient remainder display control means inputs the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means, which is displayed as the execution result of the quotient remainder division, so that it can be used for the quotient remainder division. A computing device having a second setting-corresponding quotient remainder input means .
前記設定手段は、前記計算装置のメモリクリア後に、前記商余り除算に対応するキーの操作を受け付けると、前記商余り除算に対応するキーの操作を受け付ける毎に、前記商利用状態、及び前記余り利用状態の何れか一方の状態から何れか他方の利用状態へ設定を変更する、ことを特徴とする請求項1に記載の計算装置。 When the setting means receives the operation of the key corresponding to the quotient remainder division after clearing the memory of the calculation device , the commercial use state and the remainder are received every time the operation of the key corresponding to the quotient remainder division is received. The computing device according to claim 1, wherein the setting is changed from one of the usage states to the other usage state. 前記設定手段は、前記計算装置のメモリクリア後に、前記商余り除算に対応するキーの操作を受け付けると、設定した何れかの利用状態を示す表示を行う状態表示制御手段を備える、ことを特徴とする請求項1又は請求項2に記載の計算装置。 The setting means is characterized by including a state display control means that displays a display indicating one of the set usage states when the operation of the key corresponding to the quotient division is received after the memory of the calculation device is cleared. The computing device according to claim 1 or 2. 前記商余り表示制御手段により商の数値データと余りの数値データとが表示される毎に、前記設定手段による設定に応じた商の数値データ又は余りの数値データを加算して記憶する加算記憶手段と、
前記加算記憶手段により記憶された前記商の数値データ又は前記余りの数値データを加算した加算結果の数値データについて、前記加算結果の数値データに対応する商の数値データと余りの数値データとを表示させる加算結果商余り表示制御手段と、を備えたことを特徴とする請求項1乃至請求項3の何れか1項に記載の計算装置。
Each time the quotient numerical data and the remainder numerical data are displayed by the quotient remainder display control means, the quotient numerical data or the remainder numerical data according to the setting by the setting means is added and stored. When,
With respect to the numerical data of the quotient stored by the addition storage means or the numerical data of the addition result obtained by adding the numerical data of the remainder, the numerical data of the quotient corresponding to the numerical data of the addition result and the numerical data of the remainder are displayed. The calculation device according to any one of claims 1 to 3, further comprising an addition result quotient remainder display control means.
前記第2商余り表示制御手段により前記設定手段による設定に応じた商の数値データ又は余りの数値データが表示されても、前記設定手段による設定に応じた商の数値データ又は余りの数値データを加算せず、記憶もしない非加算記憶手段を、備えたことを特徴とする請求項4に記載の計算装置。Even if the second quotient remainder display control means displays the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means, the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means is displayed. The calculation device according to claim 4, further comprising a non-additive storage means that does not add and does not store. 前記設定対応商余り入力手段は、前記商余り除算に対応するキーの操作を受け付けると、前記設定手段による設定に応じた商の数値データ又は余りの数値データのみを表示する、ことを特徴とする請求項1乃至請求項5の何れか1項に記載の計算装置。When the setting-corresponding quotient remainder input means receives a key operation corresponding to the quotient remainder division, it is characterized in that it displays only the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means. The computing device according to any one of claims 1 to 5. 計算装置の制御部により実行される方法であって、
商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を設定し、
入力された数値データについて、前記商余り除算の実行指示に対応する操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとを表示させ、
前記商の数値データと前記余りの数値データとが表示された状態で、前記商余り除算に対応するキーの操作を受け付けると、前記設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力し、
入力された数値データについて、前記商余り除算の実行指示に対応する第2操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとのうち、前記設定に応じた商の数値データ又は余りの数値データのみを表示させ、
前記商余り除算の実行結果として表示する、前記設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する、ようにした計算方法。
A method executed by the control unit of a computing device.
Set either the commercial use state that uses the numerical data of the quotient of the calculation result of the quotient remainder division that calculates the quotient and the remainder, or the remainder use state that uses the numerical data of the remainder of the calculation result.
When the operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and the quotient is obtained as the execution result of the quotient remainder division . Display the numerical data and the remaining numerical data,
In a state in which the numerical data of the quotient and the numerical data of the remainder is displayed, when receiving an operation key corresponding to the quotient remainder dividing the numerical data of the numerical data or the remainder of the quotient in accordance with the setting, the Enter available for quotient division ,
When the second operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and as the execution result of the quotient remainder division, Of the numerical data of the quotient and the numerical data of the remainder, only the numerical data of the quotient or the numerical data of the remainder according to the above setting is displayed.
A calculation method in which numerical data of quotients or numerical data of remainders according to the setting to be displayed as an execution result of the quotient remainder division are input to be available for the quotient remainder division .
コンピュータを、
商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を設定する設定手段と、
入力された数値データについて、前記商余り除算の実行指示に対応する操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、前記商余り除算に対応するキーの操作を受け付けると、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する設定対応商余り入力手段と、
入力された数値データについて、前記商余り除算の実行指示に対応する第2操作を受け付けると、前記入力された数値データに基づいて前記商余り除算を実行し、前記商余り除算の実行結果として、商の数値データと余りの数値データとのうち、前記設定手段による設定に応じた商の数値データ又は余りの数値データのみを表示させる第2商余り表示制御手段として機能させ、
前記第2商余り表示制御手段は、前記商余り除算の実行結果として表示する、前記設定手段による設定に応じた商の数値データ又は余りの数値データを、前記商余り除算に利用可能に入力する第2設定対応商余り入力手段を有する、コンピュータ読み込み可能なプログラム。
Computer,
Setting means for setting either the quotient usage state that uses the numerical data of the quotient of the calculation result of the quotient remainder division that calculates the quotient and the remainder, or the remainder usage state that uses the numerical data of the remainder of the calculation result. When,
When the operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and the quotient is obtained as the execution result of the quotient remainder division . A quotient remainder display control means for displaying numerical data and a remainder numerical data,
When the operation of the key corresponding to the quotient remainder division is received in the state where the numerical data of the quotient and the numerical data of the remainder are displayed by the quotient remainder display control means, the quotient according to the setting by the setting means is received. A setting-compatible quotient remainder input means for inputting numerical data or a remainder numerical data so that it can be used for the quotient remainder division .
When the second operation corresponding to the execution instruction of the quotient remainder division is received for the input numerical data, the quotient remainder division is executed based on the input numerical data, and as the execution result of the quotient remainder division, Of the quotient numerical data and the remainder numerical data, it is made to function as a second quotient remainder display control means for displaying only the quotient numerical data or the remainder numerical data according to the setting by the setting means.
The second quotient remainder display control means inputs the numerical data of the quotient or the numerical data of the remainder according to the setting by the setting means, which is displayed as the execution result of the quotient remainder division, so that it can be used for the quotient remainder division. A computer-readable program having a quotient remainder input means corresponding to the second setting .
JP2016131082A 2016-06-30 2016-06-30 Computational equipment, computational methods, and programs Active JP6819097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016131082A JP6819097B2 (en) 2016-06-30 2016-06-30 Computational equipment, computational methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016131082A JP6819097B2 (en) 2016-06-30 2016-06-30 Computational equipment, computational methods, and programs

Publications (3)

Publication Number Publication Date
JP2018005534A JP2018005534A (en) 2018-01-11
JP2018005534A5 JP2018005534A5 (en) 2019-08-08
JP6819097B2 true JP6819097B2 (en) 2021-01-27

Family

ID=60947898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016131082A Active JP6819097B2 (en) 2016-06-30 2016-06-30 Computational equipment, computational methods, and programs

Country Status (1)

Country Link
JP (1) JP6819097B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020024627A (en) * 2018-08-08 2020-02-13 カシオ計算機株式会社 Electronic appliance, operand input method to electronic appliance and program
JP7110847B2 (en) * 2018-09-07 2022-08-02 カシオ計算機株式会社 Calculator, calculation confirmation method, information registration method, and program
JP7314925B2 (en) 2020-12-25 2023-07-26 カシオ計算機株式会社 ELECTRONIC DEVICE, INPUT DATA PROCESSING METHOD, PROGRAM

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713933A (en) * 1993-06-17 1995-01-17 Kano Densan Hongkong Yugenkoshi Electronic desktop calculator
JPH08180024A (en) * 1994-12-21 1996-07-12 Masataka Ishii Desk-top electronic calculator
JP3557479B2 (en) * 1995-06-30 2004-08-25 カシオ計算機株式会社 Computer with check function
JP5895021B2 (en) * 2014-05-19 2016-03-30 瑞起 久保 Calculator and program

Also Published As

Publication number Publication date
JP2018005534A (en) 2018-01-11

Similar Documents

Publication Publication Date Title
JP6819097B2 (en) Computational equipment, computational methods, and programs
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP6825285B2 (en) Computer, calculation printing method, program
CN104851214A (en) Accounting terminal and control method thereof
JP7176603B2 (en) Computing device, computing method, and program
JP6460057B2 (en) Calculation device, calculation method, and program
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP6528483B2 (en) Computation processing device and program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP7163705B2 (en) Calculators, calculation methods, and programs
JP2013114525A (en) Ticket issue system and ticket issue terminal
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP7314925B2 (en) ELECTRONIC DEVICE, INPUT DATA PROCESSING METHOD, PROGRAM
JP2016177489A (en) Calculation processing apparatus and program
JP7196958B2 (en) Computing device, print control method and program
JP5979212B2 (en) Electronic equipment and programs
US11698882B2 (en) Electronic apparatus, control method of electronic apparatus, and control program of electronic apparatus
JP6554597B1 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND GAME PROGRAM
JP7211404B2 (en) ELECTRONIC DEVICES, OUTPUT DEVICES, OUTPUT METHOD, AND PROGRAMS
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP5381152B2 (en) Formula arithmetic device and program
JP3743869B2 (en) Electronic computing device
JP6926556B2 (en) Arithmetic logic units, calculation methods, and programs
JP2011118535A (en) Computer for pharmacy
JP2016099954A (en) Device, method, and program for controlling ballot display

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190624

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200331

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200601

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201214

R150 Certificate of patent or registration of utility model

Ref document number: 6819097

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150