JP2018005534A - Calculation device, calculation method, and program - Google Patents

Calculation device, calculation method, and program Download PDF

Info

Publication number
JP2018005534A
JP2018005534A JP2016131082A JP2016131082A JP2018005534A JP 2018005534 A JP2018005534 A JP 2018005534A JP 2016131082 A JP2016131082 A JP 2016131082A JP 2016131082 A JP2016131082 A JP 2016131082A JP 2018005534 A JP2018005534 A JP 2018005534A
Authority
JP
Japan
Prior art keywords
remainder
quotient
data
calculation
numerical data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016131082A
Other languages
Japanese (ja)
Other versions
JP2018005534A5 (en
JP6819097B2 (en
Inventor
敏文 高島
Toshifumi Takashima
敏文 高島
有川 和彦
Kazuhiko Arikawa
和彦 有川
博明 吉澤
Hiroaki Yoshizawa
博明 吉澤
裕紀 吉川
Hironori Yoshikawa
裕紀 吉川
真一 玉本
Shinichi Tamamoto
真一 玉本
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)

Abstract

PROBLEM TO BE SOLVED: To perform successive calculations in which numeric data as a remainder of a division is easily used in the next calculation.SOLUTION: When a total number of drugs necessary for a patient is calculated "105" on the basis of, for example, a dosing period and a number of dosed pieces in a day, and computation data of [÷ remainder] is inputted and the number of drugs per box "42" is inputted before executing a calculation, numeric data that are calculation results are calculated as numeric data "2" (boxes) of the quotient that corresponds to the number of drug boxes and bulk pieces necessary for the patient and numeric data "21" (pcs.) of the remainder. At this time, when, while a remainder use mode is set, the numeric data "21" (pcs.) of the remainder is stored as operand of a next calculation in the X register of a calculation formula data area, and computation data of the [÷ remainder] is inputted and the number of drugs per sheet (14 pcs.) is inputted before executing a calculation, numeric data that are calculation results are calculated as numeric data "1" (sheet) of the quotient that corresponds to the number of sheets of drug and bulk pieces necessary for the patient in addition to the two boxes, and numeric data "7" (pcs.) of the remainder.SELECTED DRAWING: Figure 6

Description

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

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

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

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

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

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

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

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

本発明に係る計算装置は、ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定する初期設定手段と、ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させる商余り表示制御手段と、前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する初期設定対応商余り入力手段と、を備えたことを特徴としている。   The calculation device according to the present invention uses a quotient utilization state that uses numerical data of a quotient of a quotient division calculation for calculating a quotient and a remainder, or uses the numerical data of the remainder of the calculation result in accordance with a user operation. Initial setting means for initially setting any one of the remaining usage states, and numerical data input in response to a user operation, when the user specifies the quotient division, the input numerical data The quotient remainder display control means for displaying the corresponding quotient numeric data and the remainder numeric data, and the quotient numeric data and the remainder numeric data displayed by the quotient remainder display control means by the user. When an operation is specified, the quotient numerical data or the remainder numerical data corresponding to the initial setting by the initial setting means is input to be usable for the specified operation. It is characterized by comprising less input means.

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

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

以下図面により本発明の実施の形態について説明する。   Embodiments of the present invention will be described below 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 a calculator of the present invention.

この電卓10は、机上に置いても片手で持っても操作し易い小型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12を備えている。   The calculator 10 includes a key input unit 11 on the front side of a small body case that is easy to operate whether placed on a desk or held with one hand, and a display unit 12 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 numeric keys for inputting numeric data ([0] [00] [1] to [9]. [.]), Each operator key ([+] [−] [×] [÷] [+/−] [÷ remainder] 11b, etc.), month / day data input key [number of days] 11c, A calculation execution key [=], a grand total display key [GT] 11d, numerical memory operation keys ([MRC] [M-] [M +]), and the like are provided.

前記[÷余り]キー11bは、除算の計算結果を商と余りで算出するための演算子キーである。また、前記[÷余り]キー11bは、前記[AC]キー11aの操作後は、前記除算により算出された商を利用して次の計算を行なう商利用モードと、余りを利用して次の計算を行なう余り利用モードとの何れの利用モードに設定されているかを確認するための利用モード確認キーとして機能し、さらに、前記商利用モードと余り利用モードとの設定を切替えるための利用モード切替キー[商⇔余り]としても機能する。電源投入時等のリセット時は、前記商利用モードに初期設定される。   The [÷ Remainder] key 11b is an operator key for calculating a calculation result of division by a quotient and a remainder. The [÷ Remainder] key 11b is a quotient use mode for performing the next calculation 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 for confirming which usage mode is set to the surplus usage mode for performing calculation, and further switches the usage mode for switching the setting between the commercial usage mode and the remainder usage mode. Also functions as a key [remainder]. When resetting, such as when 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 the second month when inputting the date data with the [number of days] key 11c. To do.

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

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

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

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

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

前記電卓制御プログラムは、前記メモリ22に予め記憶されるか、メモリカード等の外部記録媒体23から記録媒体読取部24により読み取られて前記メモリ22に記憶されるか、通信ネットワークN上のWebサーバ(プログラムサーバ)30から通信部25を介してダウンロードされ前記メモリ22に記憶される。   The calculator control program is stored in advance in the memory 22, or is read from the external recording medium 23 such as a memory card by the recording medium reading unit 24 and stored in the memory 22, or a Web server on the communication network N (Program server) 30 is downloaded from 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が確保される。   In the memory 22, a calculation formula data area 22b, a calculation result (=) data area 22c, a grand 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, the number of operands and the number of operands of the calculation formula input according to the operation of the key input unit 11, and the number of operands and the number of operands according to the operator of the formula are entered. An X register and a Y register for storing the calculation data obtained by calculating the numerical data as the numerical data of a new operand and an operation data register for storing the operation data of the operator are secured.

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

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

前記計算結果(=)データエリア22cは、前記[=](計算実行)キーの操作に応じて計算実行された計算結果データが記憶される。   The calculation result (=) data area 22c stores calculation result data that has been calculated according to the operation of the [=] (calculation execution) key.

前記総合計(GT)メモリエリア22dには、前記[=](計算実行)キーの操作に応じて計算実行された計算結果データが前記計算結果(=)データエリア22cに記憶される毎に当該計算結果データが順次加算され、当該加算された結果の加算結果データとして記憶される。前記総合計(GT)メモリエリア22dに記憶された加算結果データは前記[AC](オールクリア)キー11aの操作に応じて“0”にクリアされる。   In the grand total (GT) memory area 22d, every time calculation result data calculated according to the operation of the [=] (calculation execution) key is stored in the calculation result (=) data area 22c, Calculation result data is sequentially added and stored as addition result data of the added result. The addition result data stored in the grand 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の加算結果データに加算される。   Note that when the quotient calculated according to the calculation data of the [÷ Remainder] key 11b and the calculation result data of the remainder are calculated, in the state where the quotient use mode is set, the numerical data of the quotient is the value of the quotient. It is added to the addition result data in the grand total (GT) memory area 22d, and in the state where the remainder use mode is set, the remainder numeric data is added to the addition result data in the grand total (GT) memory area 22d. The

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

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

次に、前記構成の電卓10による各種の計算機能に応じた動作について説明する。   Next, the operation | movement according to the various calculation functions by the calculator 10 of the said structure is demonstrated.

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

(第1実施形態)
図6は、前記電卓10の計算処理に従った第1実施形態のユーザ操作に対応する表示動作を示す図である。
(First embodiment)
FIG. 6 is a diagram illustrating 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 the pharmacy, there are medicines in 3 sheets (14 tablets (42 tablets in total)) in one box, and by using the calculator 10, the number of tablets required by the patient, It is assumed that how many boxes + how many sheets + how many pieces are required.

前記電卓10において、図6(A)に示すように、前記[AC](オールクリア)キー11aによりAC入力操作が行われると(ステップS1(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データが“0”にクリアされる(ステップS2)。   In the calculator 10, as shown in FIG. 6A, when an AC input operation is performed with the [AC] (all clear) key 11a (step S1 (Yes)), the grand 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, Y register, and operation data register in the calculation formula data area 22b are cleared (erased), and the numerical data in the display unit 12 is cleared to display “0.” (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, when calculating the quotient and the remainder using the [÷ remainder] key 11b, the [÷ remainder] key 11b is used to input the operation data of [÷ remainder] in order to confirm the current use mode. Then (step S9 (Yes)), it is determined that the post-AC state flag is set to ON (step S10 (Yes)), and the [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)), when the current usage mode is set to the commercial usage mode. If the current usage mode is set to the surplus usage mode, the mode is switched to the commercial usage mode (step S13). Here, the quotient use mode is switched to the remainder use mode, 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. 6C, after the re-operation of the [AC] key 11a (steps S1 to S4), to calculate the period (number of days) that the patient needs medicine, FIG. D) As shown in (E), using the [days] key 11c, 4 [days (month)] → 8 [days (day)] → [÷ (˜)] → 5 [days (month) ] → 13 [number of days (days)] and numerical data of the month and day are input (step S5 (Yes)), the [number of days calculation] symbol and the [˜ (period)] symbol are displayed on the display unit 12 and input. The numerical data “4-8” and “5-13” are displayed in sequence (step S6).

そして、例えば、後から入力された月日“5−13”に対応した数値データが被演算数として前記計算式データエリア22bのXレジスタに記憶され、先に入力された月日“4−8”に対応した数値データが演算数として前記計算式データエリア22bのXレジスタに記憶され、演算子[−]に対応した演算データが演算データレジスタに記憶される(ステップS7)。   Then, for example, numerical data corresponding to the month and day “5-13” input later is stored as the operand in the X register of the calculation formula data area 22b, and the previously input month and date “4-8”. "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, FIGS. 6 (F) and 6 (G) show how to calculate the total number of tablets (days × 3 (/ 1 day)) necessary for the period (days) in which the patient needs the medicine. In this way, the operator key [×] and the numeric key [3] are operated.

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

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

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

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

そして、今回入力された演算子[×]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。   Then, the calculation data corresponding to the operator [×] 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. 6G, 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) and 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 [÷ remainder] calculation data is input (step S9 (Yes)), the post-AC state flag area 22e. It is determined that the post-AC status flag is set to OFF instead of ON (step S10 (No)). In addition, the numerical data “35” (number of days) as the number of operands, the numerical data “3” (number of pieces) as the number of operations, and the calculation are stored in the X register, Y register, and calculation data register of the calculation formula data area 22b It is determined that the operation data corresponding to the child [×] has been input (stored) (step S15 (Yes)).

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

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

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

そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。   Then, the operation data corresponding to the operator [÷ remainder] input this time is stored in the operation 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 numerical data “42” corresponding to the number of medicines in the one box (a total of 42) is input (step S5 (Yes)), the input is performed. The numerical data “42” is displayed (step S6) and 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 in the calculation formula data area 22b [ ÷ Remainder] is determined to be stored (steps S32 and S33 (Yes)).

すると、前記演算データレジスタに記憶されている演算データ[÷余り]に従い、前記Xレジスタに記憶された数値データ“105”(患者に必要な薬の総個数)を前記Yレジスタに記憶された数値データ“42”(1箱に入った薬の個数)で除算する計算が実行され、前記患者に必要な薬の箱数とこれに加えて必要な薬の個数とに対応する計算結果の商の数値データ“2”と余りの数値データ“21”とが表示される(ステップS34)。   Then, according to the operation data [÷ remainder] stored in the operation 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. A calculation is performed to divide by the data “42” (the number of medicines in one box), 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. Numerical data “2” and remainder numerical data “21” are displayed (step S34).

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

なお、前記ステップS35において、商利用モードに設定されていると判断された場合は(ステップS35(No))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは“0”)に対して、前記計算結果である商の数値データ“2”が加算され、更新された加算結果データ“2”として前記総合計(GT)メモリエリア22dに記憶される(ステップS37)。   If it is determined in the step S35 that the commercial use mode is set (step S35 (No)), the addition result data (here, “No”) stored in the grand total (GT) memory area 22d. 0 ”) is added to the numerical value“ 2 ”of the quotient as the calculation result, and is stored in the grand total (GT) memory area 22d as 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. 6K, when the [÷ remainder] key 11b is operated and [÷ remainder] calculation data is input (step S9 (Yes)), the post-AC state flag area 22e. It is determined that the post-AC status flag is set to OFF instead of ON (step S10 (No)). Further, it is determined that numerical data and calculation data have not been input (stored) in the X register, Y register, and 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, the quotient and remainder display state is “2-21” (step S26 (Yes)), and it is determined that the remainder use mode is set (step S26). S27 (Yes)), the remaining 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 operands for the next calculation. It is stored in the X register of the formula data area 22b (step S28).

そして、今回入力された演算子[÷余り]に対応した演算データが前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。   Then, the operation data corresponding to the operator [÷ remainder] input this time is stored in the operation 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 quotient use mode is set (step S27 (No)), the numerical data “2” of the quotient is displayed on the display unit 12 and subjected to the next calculation. The number of operations is stored in the X register of the calculation formula data area 22b (step S29). Then, the operation data corresponding to the operator [÷ remainder] input this time is stored in the operation 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))。   For the total number “105” of medicines (tablets) necessary for the patient, as calculated and displayed as shown in FIG. 6 (H), there are two medicine boxes containing 42 medicines. In addition, when it is known that it corresponds to the number of necessary medicines, the operation of the [=] (calculation execution) key shown in FIG. 6 (J) is omitted, and the operation shown in FIG. Then, after the numerical data “42” is input (steps S5 to S8), as shown in FIG. 6K, the [÷ Remainder] key 11b is operated to calculate the [÷ Remainder] operation data. May be input (steps S9 (Yes), S10 (No)).

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

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

そして、現在、余り利用モードであると判断され(ステップS18(Yes))、前記余りの数値データ“21”(前記薬2箱に加えて患者に必要な薬の個数)が、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶され(ステップS19)、前記表示部12に表示される(ステップS20)。   Then, it is determined that it is currently in the surplus use 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 as follows. The number of operands 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 operation data corresponding to the operator [÷ remainder] input this time is stored in the operation data register of the calculation formula data area 22b (step S21).

なお、前記ステップS18において、商利用モードに設定されていると判断された場合は(ステップS18(No))、前記商の数値データ“2”が、次の計算の被演算数として前記計算式データエリア22bのXレジスタに記憶され(ステップS22)、前記表示部12に表示される(ステップS23)。   When it is determined in step S18 that the quotient use mode is set (step S18 (No)), the numerical value data “2” of the quotient is used as the operand of the next calculation. The data 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 (14) of medicines contained in the one sheet is input (step S5 (Yes)), the input is performed. Numerical data “14” is displayed (step S6) and 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 [pending in the calculation data register of the calculation formula data area 22b [ ÷ Remainder] is determined to be stored (steps S32 and S33 (Yes)).

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

これにより、前記患者が必要とする薬の総個数(105個)と、当該必要個数が2箱+1シート+ばら7個になることを、簡単に見通し良く求めることができる。   Thereby, it can be calculated | required easily with good prospect that the total number (105) of the medicine which the said patient requires, and the said required number will be 2 boxes + 1 sheet +7 pieces.

なお、前記[=](計算実行)キーが操作された際に(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データが[÷余り]以外の演算データであると判断された場合は(ステップS32,S33(No))、当該計算式データエリア22bに記憶されている計算式データに対応した計算が実行され、計算結果の数値データが表示される(ステップS38)。   When the [=] (calculation execution) key is operated (step S31 (Yes)), the operation data held in the operation data register of the calculation formula data area 22b is operation data other than [÷ remainder]. Is determined (steps S32, 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 grand total (GT) memory area 22d, and the sum total (GT) memory area 22d is updated as the addition result data. Stored (step S39).

また、前記[=](計算実行)キーが操作された際に(ステップS31(Yes))、前記計算式データエリア22bの演算データレジスタに保留された演算データが無いと判断された場合は(ステップS32(No))、前記表示部12に現在表示されている数値データがそのまま計算結果の数値データとして前記計算結果(=)データエリア22cに記憶され一時保存される(ステップS40)。そして、前記同様に、前記総合計(GT)メモリエリア22dに記憶されている加算結果データが更新される(ステップS39)。   When the [=] (calculation execution) key is operated (step S31 (Yes)), when it is determined that there is no operation data held in the operation data register of the calculation formula data area 22b ( In step S32 (No), the numerical data currently displayed on the display unit 12 is stored as it is in the calculation result (=) data area 22c as the numerical data of the calculation result as it is (step S40). Similarly to the above, the addition result data stored in the grand 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-described configuration, the total number of medicines required for the patient is calculated based on, for example, the dose period (35 days) and the number of doses per day (3). (105), [÷ Remainder] calculation data is input, the number of medicines per box (42) is input and calculation is performed, and the numerical data of the calculation result is the medicine box required for the patient. The quotient numerical data “2” (box) and the remainder numerical data “21” (pieces) corresponding to the number and the number of loose pieces are calculated. At this time, if the remainder use mode is set, the remainder numeric data “21” (pieces) is stored in the X register of the calculation formula data area 22b as the number of operands for the next calculation. When the calculation data of ÷ remainder] is input and the number of medicines per sheet (14) is entered and the calculation is executed, the numerical data of the calculation result is the number of sheets and the number of loose medicines required in addition to the two boxes. Are calculated as numerical data “1” (sheet) and remainder numerical data “7” (pieces).

このように、除算により得られた余りの数値データを容易に次の計算に用いて連続した計算を行なうことが可能になるので、例えば薬局において、前記患者に対し必要な薬が何箱+何シート+ばら何個になるかを、簡単に見通し良く求めることができる。   In this way, it is possible to easily use the surplus numerical data obtained by the division for the next calculation, so that continuous calculation can be performed. The number of sheets + loose pieces can be easily determined with good prospects.

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

この第2実施形態では、前記[÷余り]の計算機能を利用して、複数の患者にそれぞれ必要な薬を何シート+ばら何個と求めて渡して行くときに、単純に患者の順番で前記シートをばらして行くと、例えば1個のばらが出て纏めにくく、患者側でも無くし易い場合が出る。このため、各患者に渡すばらのシートの部分をできるだけ大きな纏まりにして見通し良く分けることができるように、予め、各患者に渡すばらの個数を合わせて何シート+ばら何個になるかを求めることを仮定する。   In the second embodiment, using the [÷ remainder] calculation function, when a plurality of patients are required to obtain the required number of sheets and the number of loose drugs, they are simply in the order of the patients. When the sheets are separated, for example, one piece of looseness comes out and is difficult to bundle, and the patient may easily lose it. For this reason, in order to be able to divide the portions of the loose sheets delivered to each patient into as large a group as possible and to separate them with a good view, the number of loose pieces to be delivered to each patient is determined in advance to determine how many sheets + loose pieces. Assume that.

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

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

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

また、今回入力された前記演算子[×]の演算データが、前記計算式データエリア22bの演算データレジスタに記憶される(ステップS21)。   Further, the operation data of the operator [×] 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)。   Subsequently, the input numerical data “3” (see FIG. 7C) is stored in the Y register of the calculation formula data area 22b as the operation number (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 obtained by executing the calculation of the inputted calculation formula data “12 [×] 3”, the number of medicines “14” in one sheet is used as a target. In order to calculate the [÷ remainder], as shown in FIGS. 7D and 7E, the [÷ remainder] key 11a is operated to input the calculation data of [÷ remainder], and the one sheet is calculated. 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 [÷ remainder] calculation data (see FIG. 7D) (step S9 (Yes)), the post-AC state flag (22e) is not ON (step S10 (No)). The calculation formula data “12 [×] 3” has already been input (step S15 (Yes)), and the calculation data [×] stored and held in the calculation data register is the calculation data of [÷ remainder]. It is determined that there is not (step S16 (No)). Then, the calculation formula data “12 [×] 3” is calculated according to the pending calculation data [×], and the numerical data “36” of the calculation result is displayed on the display unit 12 (step S24), the number of operands for the next calculation is stored in the X register of the calculation formula data area 22b (step S25). In addition, the [÷ remainder] calculation data 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. 7E), 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. 7F, when the [=] (calculation execution) key is operated (step S31 (Yes)), the operation data of [÷ remainder] held in the operation data register is stored. Therefore (steps S32 and S33 (Yes)), the numerical data “36” (total number of medicines required for patient A) stored in the X register is stored in the Y register in accordance with the calculation data [÷ remainder]. Calculation is performed to divide by the numerical data “14” (number of medicines in one sheet), and the calculation result corresponding to the number of medicine sheets necessary for the patient A and the number of necessary medicines in addition to this. Numerical data “2” and remainder numerical data “8” are displayed (step S34).

ここで、現在、余り利用モードに設定されているので(ステップS35(Yes))、前記総合計(GT)メモリエリア22dに記憶されている加算結果データ(ここでは“0”)に対して、前記計算結果である余りの数値データ“8”が加算され、更新された加算結果データ“8”として前記総合計(GT)メモリエリア22dに記憶される(ステップS36)。   Here, since the remainder use mode is currently set (step S35 (Yes)), with respect to the addition result data (here, “0”) stored in the grand total (GT) memory area 22d, The remainder numerical data “8” as the calculation result is added and stored as updated addition result data “8” in the grand total (GT) memory area 22d (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)。   For patient B, as in patient A, calculation data “25 (day) [×] 3 (pieces)”, calculation data [ ÷ Remainder], numerical data “14” (pieces / sheet), [=] key are sequentially input, and the total number “75” of medicines necessary for the patient B is calculated and displayed (step S14). , S15 (No)-> S26 (No)-> S30-> S21-> S5-S8-> S9, S10 (No)-> S15, S16 (No)-> S24). In addition, the numerical value “5” of the quotient corresponding to the total number of medicines “75” necessary for the patient B 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)。   Also in this case, since the remainder use mode is currently set (step S35 (Yes)), the addition result data stored in the grand 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 roses other than the medicine sheet to be delivered to the patient B, is added to the number of roses other than “8”), and the total sum is obtained as updated addition result data “13”. (GT) 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 well as patients A and B, as shown in FIGS. 7 (J), (K), and (L), calculation formula data “18 (day) [×] 3 (pieces)”, calculation By sequentially inputting data [÷ remainder], numerical data “14” (pieces / sheet), [=] key, the total number “54” of medicines required for the patient C is calculated and displayed ( Steps S14, S15 (No)-> S26 (No)-> S30-> S21-> S5-S8-> S9, S10 (No)-> S15, S16 (No)-> S24). The quotient numerical data “3” corresponding to the total number “54” of medicines required for the patient C 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)。   Similarly to the above, since the remainder use mode is set (step S35 (Yes)), the addition result data stored in the grand total (GT) memory area 22d (here, passed to the patients A and B) The remaining numerical data “12”, which is the number of roses other than the medicine sheet to be delivered to the patient C, is added to the total number of roses other than the medicine sheet “13”), and the updated addition result data “25” is added. "Is stored in the grand 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 an operation for instructing display of the grand total is performed with the [GT] key 11d (step S41 (Yes)), the total is stored in the grand total (GT) memory area 22d. The added addition result data “25” is read and displayed, and the total number of roses other than the medicine sheets to be delivered to the patients A, B, and C can be confirmed.

そして、前記各患者A,B,Cに渡す薬のシート以外の合計のばら個数“25”について、何シート+ばら何個に相当するかを求めるため、図7(N)(O)(P)に示すように、前記同様に[÷余り]キー11bにより[÷余り]の演算データを入力し、前記1シートに入った薬の個数である数値データ“14”を入力し、前記[=]キーにより計算の実行を指示する。   7 (N) (O) (P) in order to determine how many sheets + the number of roses corresponds to the total number of roses “25” other than the medicine sheets to be delivered to the patients A, B, C. As shown above, [÷ Remainder] key 11b is used to input [÷ Remainder] calculation data, numerical data “14” representing the number of medicines in one sheet is input, and [= Use the] key to instruct the execution of the 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” (the total number of roses other than the sheets to be handed over to each patient) (see FIG. 7 (N)) is the calculation formula data area as the number of operations. The calculation data of [÷ remainder] stored in the X register 22b and input this time is stored in the calculation data register of the calculation formula data area 22b (steps S9, S10 (No) → S15 (No) → S26). (No) → S30 → S21). Also, the numerical data “14” (the number of medicines contained in one sheet) (see FIG. 7 (O)) inputted and displayed is stored in the Y register of the calculation formula data area 22b as the number of operations. (Steps S5 to S8).

そして、前記各患者A,B,Cに渡す薬のシート以外の合計のばら個数“25”が、何シート+ばら何個になるかに対応する商の数値データ“1”と余りの数値データ“11”として算出されて表示される(ステップS31〜S34)。   Then, the numerical value “1” of the quotient corresponding to how many sheets + the number of loose pieces other than the medicine sheets to be delivered to the patients A, B, and C, and the remaining numerical data. 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個の纏まりとして見通し良く分けて渡せるようになる。   Accordingly, 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 + roses 12 Not only can you easily know how to deliver medicines (see FIG. 7 (L)), but you can also know in advance that the total number of roses delivered to each patient will be 1 sheet + 11 roses. it can. Thus, for example, the patient C can be divided into 12 pieces, the patient A can be bundled with 8 pieces, and the patient B can be divided into 2 pieces and 3 pieces with good visibility.

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

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

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

なお、前記各実施形態において記載した計算装置(電卓10)による各処理の手法、すなわち、図3,図4,図5のフローチャートに示す計算処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、そして、電子式計算機のコンピュータ(CPU)は、前記外部記録装置の媒体に記憶されたプログラムを記憶装置に読み込み、読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した[÷余り]の計算機能を実現し、前述した手法による同様の処理を実行することができる。   Note that each processing method by the calculation apparatus (calculator 10) described in each of the embodiments, that is, each method such as the calculation processing shown in the flowcharts of FIGS. 3, 4, and 5 is executed by a computer. Programs that can be recorded on media 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 calculator 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, so that it has been described in each embodiment. It is possible to realize a calculation function of [÷ remainder] and execute the same processing by the method described above.

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

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention when it is practiced. Further, each of the embodiments includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in each embodiment or some constituent elements are combined in different forms, the problems described in the column of the problem to be solved by the invention If the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.

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

[1]
ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定する初期設定手段と、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する初期設定対応商余り入力手段と、
を備えたことを特徴とする計算装置。
[1]
Either the quotient usage state using the quotient numerical data of the calculation result of the remainder division calculating the quotient and the remainder according to the user operation, or the remainder usage state using the remainder numerical data of the calculation result Initial setting means for initial setting of the state;
For numeric data input in response to a user operation, a quotient display for displaying the quotient numeric data and the remainder numeric data corresponding to the entered numeric data when the user specifies the quotient division Control means;
When calculation is specified by the user in a state where the numerical value data of the quotient and the numerical value data of the remainder are displayed by the quotient remainder display control means, the numerical value data of the quotient according to the initial setting by the initial setting means Or an initial setting corresponding quotient remainder input means for inputting the remainder numerical data so as to be usable for the specified calculation;
A computing device comprising:

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

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

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

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

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

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)
DESCRIPTION OF SYMBOLS 11 ... Key input part 11a ... [AC] key 11b ... [÷ remainder] key 11c ... [days] key 11d ... [GT] key 12 ... Display part 21 ... CPU
22 ... Memory 22a ... Calculation processing program 22b ... Calculation formula data area 22c ... Calculation result (=) data area 22d ... Grand total (GT) memory area 22e ... State flag area after AC 23 ... External recording medium 24 ... Recording medium reading unit 25 ... Communication unit 30 ... Web server N ... Communication network

Claims (6)

ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定する初期設定手段と、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する初期設定対応商余り入力手段と、
を備えたことを特徴とする計算装置。
Either the quotient usage state using the quotient numerical data of the calculation result of the remainder division calculating the quotient and the remainder according to the user operation, or the remainder usage state using the remainder numerical data of the calculation result Initial setting means for initial setting of the state;
For numeric data input in response to a user operation, a quotient display for displaying the quotient numeric data and the remainder numeric data corresponding to the entered numeric data when the user specifies the quotient division Control means;
When calculation is specified by the user in a state where the numerical value data of the quotient and the numerical value data of the remainder are displayed by the quotient remainder display control means, the numerical value data of the quotient according to the initial setting by the initial setting means Or an initial setting corresponding quotient remainder input means for inputting the remainder numerical data so as to be usable for the specified calculation;
A computing device comprising:
前記初期設定手段は、ユーザの初期表示操作後に、ユーザにより複数回以上の前記商余り除算の指定がされることにより、前記商利用状態、又は前記余り利用状態の何れかの状態を初期設定する、
ことを特徴とする請求項1に記載の計算装置。
The initial setting means initializes either the quotient use state or the remainder use state when the user designates the quotient division more than once after the initial display operation. ,
The computing device according to claim 1, wherein:
前記初期設定手段は、ユーザの初期表示操作後に、ユーザにより前記商余り除算の指定が1回行われると、前記初期設定されている前記商利用状態を示す表示、又は前記初期設定されている前記余り利用状態を示す表示を行う状態表示制御手段を備える、
ことを特徴とする請求項1又は請求項2に記載の計算装置。
The initial setting means, when the user designates the remainder division once after the initial display operation, the initial setting means displays the initial quotient use state or the initial setting Comprising a state display control means for performing a display indicating a surplus usage state;
The calculation apparatus according to claim 1, wherein the calculation apparatus is a computer.
前記商余り表示制御手段により商の数値データと余りの数値データとが表示される毎に、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを加算して記憶する加算記憶手段と、
前記加算記憶手段により記憶された前記商の数値データ又は前記余りの数値データを加算した加算結果の数値データについて、前記加算結果の数値データに対応する商の数値データと余りの数値データとを表示させる加算結果商余り表示制御手段と、
を備えたことを特徴とする請求項1乃至請求項3の何れか1項に記載の計算装置。
Each time the quotient numerical data and the remainder numerical data are displayed by the quotient remainder display control means, an addition for adding and storing the quotient numerical data or the remainder numerical data according to the initial setting by the initial setting means Storage means;
For the numerical data of the addition result obtained by adding the numerical data of the quotient stored by the addition storage means or the numerical data of the remainder, the numerical data of the quotient corresponding to the numerical data of the addition result and the residual numerical data are displayed. Addition result quotient display control means,
The computing device according to claim 1, further comprising:
ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定し、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させ、
前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する、
ようにした計算方法。
Either the quotient usage state using the quotient numerical data of the calculation result of the remainder division calculating the quotient and the remainder according to the user operation, or the remainder usage state using the remainder numerical data of the calculation result Initialize the state,
For numerical data input in response to a user operation, when the user specifies the quotient division, the numerical data of the quotient corresponding to the input numerical data and the numerical data of the remainder are displayed.
In the state where the numerical data of the quotient and the remainder of the numerical data are displayed, when calculation is designated by the user, the numerical data of the quotient or the remainder of the numerical data according to the initial setting is specified. Input available for computation,
The calculation method.
コンピュータを、
ユーザ操作に応じて、商と余りとを計算する商余り除算の計算結果の商の数値データを利用する商利用状態、又は前記計算結果の余りの数値データを利用する余り利用状態の何れかの状態を初期設定する初期設定手段と、
ユーザ操作に応じて入力された数値データについて、ユーザにより前記商余り除算の指定がされると、前記入力された数値データに対応する商の数値データと余りの数値データとを表示させる商余り表示制御手段と、
前記商余り表示制御手段により前記商の数値データと前記余りの数値データとが表示された状態で、ユーザにより演算の指定がされると、前記初期設定手段による初期設定に応じた商の数値データ又は余りの数値データを、前記指定された演算に利用可能に入力する初期設定対応商余り入力手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
Computer
Either the quotient usage state using the quotient numerical data of the calculation result of the remainder division calculating the quotient and the remainder according to the user operation, or the remainder usage state using the remainder numerical data of the calculation result Initial setting means for initial setting of the state;
For numeric data input in response to a user operation, a quotient display for displaying the quotient numeric data and the remainder numeric data corresponding to the entered numeric data when the user specifies the quotient division Control means;
When calculation is specified by the user in a state where the numerical value data of the quotient and the numerical value data of the remainder are displayed by the quotient remainder display control means, the numerical value data of the quotient according to the initial setting by the initial setting means Or an initial setting corresponding quotient remainder input means for inputting the remainder numerical data so as to be usable for the specified calculation,
A computer-readable program that allows it to function as a computer.
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 true JP2018005534A (en) 2018-01-11
JP2018005534A5 JP2018005534A5 (en) 2019-08-08
JP6819097B2 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)

Cited By (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
JP2020042456A (en) * 2018-09-07 2020-03-19 カシオ計算機株式会社 Computer, calculation confirmation method, information registration method, and program
JP7517543B2 (en) 2023-06-28 2024-07-17 カシオ計算機株式会社 Input support device, input support method and program

Citations (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
JPH0916525A (en) * 1995-06-30 1997-01-17 Casio Comput Co Ltd Electronic computer with check function
JP2015219730A (en) * 2014-05-19 2015-12-07 瑞起 久保 Calculator and program

Patent Citations (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
JPH0916525A (en) * 1995-06-30 1997-01-17 Casio Comput Co Ltd Electronic computer with check function
JP2015219730A (en) * 2014-05-19 2015-12-07 瑞起 久保 Calculator and program

Cited By (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
JP2020042456A (en) * 2018-09-07 2020-03-19 カシオ計算機株式会社 Computer, calculation confirmation method, information registration method, and program
JP7517543B2 (en) 2023-06-28 2024-07-17 カシオ計算機株式会社 Input support device, input support method and program

Also Published As

Publication number Publication date
JP6819097B2 (en) 2021-01-27

Similar Documents

Publication Publication Date Title
JP2017174225A (en) Tax calculator, tax calculation method and program
CN102541800A (en) Electronic calculator and calculation result displaying method
JP2018005534A (en) Calculation device, calculation method, and program
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP2018049491A (en) Calculation device, calculation print method, and program
JP7176603B2 (en) Computing device, computing method, and program
JP6460057B2 (en) Calculation device, calculation method, and program
JP2018106320A (en) Calculation device, calculation method, and program
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP7163705B2 (en) Calculators, calculation methods, and programs
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP7517543B2 (en) Input support device, input support method and program
JP7416138B2 (en) Calculator, setting support method and program
JP7314925B2 (en) ELECTRONIC DEVICE, INPUT DATA PROCESSING METHOD, PROGRAM
JP6485144B2 (en) Computer processing apparatus and program
JP7196958B2 (en) Computing device, print control method and program
JP5979212B2 (en) Electronic equipment and programs
JP7349148B2 (en) calculator
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP2020057374A (en) Computer, computing method, and program
JP5381152B2 (en) Formula arithmetic device and program
JP2016173763A (en) Computation processing device and program
JP2011118535A (en) Computer for pharmacy
JP2022048317A (en) Electronic apparatus, control method for electronic apparatus, and control program for electronic apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

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 Request for written amendment filed

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