This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2015-133841, filed on Jul. 2, 2015, and the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The disclosure relates to an electronic device, a computational processing method, and a storage medium having a computational processing program recorded therein.
2. Description of the Related Art
In the related art, a calculation check calculator capable of displaying a computation history for check and correcting a part thereof for recalculation has been developed. Also, a twice pressing calculator having a calculation verification function, which can preserve a first computation history and compare the same with a second computation, has been developed.
Also, JP-A-H08-227399 discloses an electronic calculator which is configured to record previous data and current data, which are input for calculation, and notifies inconsistency when the previous data and the current data are not consistent with each other and ends a correction operation when a right input, which is the same as the previous input, is made.
In the conventional technologies, the first computational data is registered and compared with the second input computational data for calculation verification, and the second computational data is corrected. That is, even when it is necessary to correct the first input computational data while the second computational data is input, it is not possible to correct the first computational data registered already.
The disclosure has been made in view of the above situation, and an object of the disclosure is to provide an electronic device and a computational processing program capable of correcting first computational data while inputting second computational data for calculation verification of the first computational data.
An electronic device of the present invention includes a display, a memory and a processor. The processor is configured to: register a plurality of pieces of first computational data in input order, each piece of the first computational data including numerical value data input by a user's operation and calculation data input by a user's operation; register at least one or more pieces of second computational data each time the second computational data is input, the at least one or more pieces of second computational data corresponding to the plurality of pieces of first computational data registered in the input order, and each piece of the second computational data including numerical value data input by a user's operation to verify the first computational data and calculation data input by a user's operation to verify the first computational data; when at least one piece of second computational data is registered, determine whether the registered second computational data is consistent with the first computational data in input order corresponding to the registered second computational data; when the determination determines that the registered second computational data is inconsistent with the first computational data, correct the first computational data determined as inconsistent with the registered second computational data, by a user's operation; and resume the registration of the second computational data after the first computational data is corrected.
According to the disclosure, it is possible to correct the first computational data while inputting the second computational data for calculation verification of the first computational data.
Hereinafter, an illustrative embodiment of the disclosure will be described with reference to the drawings.
In the meantime, the electronic device can also be configured as a personal computer, a tablet type computer, a smart phone, a portable phone, a touch panel type PDA (personal digital assistants), an electronic book, a portable gaming machine and the like, which have a computational function (a computational processing program is mounted therein), in addition to the electronic calculators 10A, 10B. Also, an electronic device having no physical keys (buttons) mounted thereon, unlike the electronic calculator 10, is configured to display the same software keyboard as the keys of the electronic calculator 10, and to execute computational processing in accordance with a key operation on the software keyboard.
The electronic calculators 10A, 10B shown in
A front surface of the housing of the electronic calculator 10A is provided with a key input unit 11 including a plurality of keys and a display unit 12.
The key input unit 11 is provided with numerical value input keys, calculation keys, and function keys. The numerical value input keys include numeric keys of [00] and [0] to [9], a decimal key [.], an [MR] key for displaying memory contents, and the like, for example. When the key is operated one or more times, numerical value data is input. The calculation keys include operator keys of [+] (addition), [−] (subtraction), [x] (multiplication) and [÷] (division), a calculation execution key [=], memory computation execution keys [M+]/[M−] (addition/subtraction of a computational result to/from the memory), and the like, for example. When any one of the keys is operated, calculation data (operator data, calculation execution data) is input. The function keys include an all clear key ([AC] key 11a), a clear key ([C] key), a plurality of memory keys ([MC]), a ground total key ([GT] key), a root key ([√] key), a percentage key [%], an upper key 11b, a lower key 11c, a shift key 11d and the like, for example.
Also, the key input unit 11 of the electronic calculator 10 is provided with a calculation verification key ([Re-check] key) 11e for instructing execution of a calculation verification function, a correction key ([correct] key) 11f for instructing correction of any one computational data (numerical value data or calculation data) of a series of computational data (a plurality of “numerical value data and calculation data”) input already in the calculation verification function, and an auto review key ([AUTO] key) 11g.
The display unit 12 is configured by a dot matrix-type liquid crystal display unit. On the display unit 12, an equation input by a key operation on the key input unit 11 is displayed. Also, a computational mode under being set, a variety of setting states, and characters or symbols indicating input history steps of computational data and calculation verification data are displayed in a state display area provided along sides of the display unit 12.
The electronic calculator 10B shown in
The CPU 21 is configured to control operations of the respective units of the circuit and to execute a variety of calculation processing in accordance with key input signals from the key input unit 11 by executing a computational processing program 22a stored in a memory 22. The CPU 21 controls the operations of the respective units of the circuit in accordance with commands described in the computational processing program 22a and the software and the hardware operate in cooperation with each other, so that the electronic calculator 10 implements computational processing including processing, which is to be executed in accordance with a calculation verification function (which will be described later).
The computational processing program 22a may be stored in advance in the memory 22, may be read from an external storage medium 23 such as a memory card via a storage medium reading unit 24 or may be downloaded from a server on a communication network (including the Internet and the like) via a communication unit 25.
The memory 22 is configured to store therein the computational processing program 22a and is provided with areas for storing therein a variety of data, such as a computational mode storage area 22b, a correction mode storage area 22c, a data mode storage area 22d, a current data buffer 22e, a previous data buffer 22f, a computational input buffer 22g, a computational data storage area 22h and the like.
The computational mode storage area 22b is an area for storing therein any one of (1) a computation registration (usual) mode, (2) a calculation verification mode, and (3) a check (review) mode, which are mode data indicative of a current computational mode of the electronic calculator 10. (1) The computation registration (usual) mode is a mode where computational data including numerical value data and calculation data sequentially input in accordance with a user's key operation is sequentially stored (registered) in the computational data storage area 22h. In the meantime, the computation is executed by the input computational data, so that computational result data is displayed, and the computational result data is also stored (registered) in the computational data storage area 22h. (2) The calculation verification mode is a mode where respective computational data (numerical value data and calculation data) sequentially input in the calculation verification mode and the corresponding computational data (numerical value data and calculation data) of the plurality of computational data (numerical value data and calculation data) registered in the computation registration mode are sequentially compared and consistency or inconsistency therebetween is notified. (3) The check (review) mode is a mode where the respective computational data (numerical value data and calculation data) registered in the computational data storage area 22h and the computational result data are displayed.
The correction mode storage area 22c is an area for storing therein ON/OFF states of a correction mode during the calculation verification mode.
The data mode storage area 22d is an area for storing therein any one data mode of a previous (Prev) data mode where computational data of the calculation verification data, which is a correction target, is the corresponding computational data (previous data (first input data)) already registered and a current data mode where computational data, which is a correction target, is computational data (which is a second input when the input in the computation registration mode is a first input) input in the calculation verification mode.
The current data buffer 22e is a buffer for storing therein one set of computational data (current data), which includes the numerical value data and calculation data currently (second) input for calculation verification during the calculation verification mode and set as check targets. The current data buffer 22e is a buffer for storing therein computational data, which is to be input during the current data mode of the calculation verification mode. Therefore, a storage capacity of the current data buffer 22e is considerably smaller than the computational data storage area 22h for storing therein computational data already registered (which will be described later) (previous data: a series of computational data (numerical value data and calculation data) already registered).
The previous data buffer 22f is a buffer for storing therein computational data (one set of numerical value data and calculation data), which is a current check target upon sequential comparison, of the computational data previously (first) input and set as a calculation verification target during the calculation verification mode.
The computational input buffer 22g is a buffer for storing therein computational data, which includes the numerical value data and calculation data input by a user's operation on the key input unit 11, and computational result data (numerical value data) associated with the input data. The computational input buffer 22g includes an area (X register) for storing therein first numerical value data, an area (Y register) for storing therein second numerical value data, and an area (register) for storing therein operator data, for example. The first numerical value data and the second numerical value data, which are to be stored in the computational input buffer 22g, are to be used for calculation associated with the operator data, and calculation result data up to the second numerical value data is to be obtained. The calculation result data is stored as the first numerical value data, and is used for calculation with next numerical value data (second numerical value data).
The computational data storage area 22h is an area for storing therein computational data of an equation, which is to be input for usual calculation in the computation registration mode. More specifically, the computational data, which includes the numerical value data and calculation data sequentially input in accordance with a user's key operation, is sequentially registered in the computational data storage area 22h. Also, the computation is executed by the input computational data, so that computational result data is displayed. The computational result data is also stored (registered) in the computational data storage area 22h. In the calculation verification mode, the corresponding computational data of the series of computational data stored in the computational data storage area 22h is read as previous data (registered data) and is stored (registered) in the previous data buffer 22f. In the computational data storage area 22h, a plurality of input steps (for example, 300 steps) is secured, and computational data, which includes the numerical value data and the calculation data input by the user's key operation, is sequentially stored (registered).
Meanwhile, in the illustrative embodiment, when calculation data is input by an operation on the calculation key, the numerical value data and calculation data, which are input before the input of the calculation data, are stored in the same input step.
Also, the electronic calculator 10 has a sound output unit 27 configured to output electronic sounds having a variety of patterns through the control of the CPU 21 based on the computational processing program 22a.
In the below, operations of the electronic calculator 10 of the illustrative embodiment are described.
First, the user operates (presses) the [AC] key 12 so as to clear the display before starting the computation. When it is determined that the [AC] key 12 is operated (step A1: Yes), the CPU 21 sets the computational mode to the computation registration mode where the usual computation is to be executed. That is, the CPU 21 records the mode data indicative of the computation registration mode in the computational mode storage area 22b, and turns off the calculation verification symbol/review symbol in the state display area of the display unit 12. In the meantime, at an initial state, the step number is set to “000” (step A6).
Then, when the numerical value key is operated by the user so as to input the numerical value, which is the computation target (step A3: Yes), the CPU 21 inputs the numerical value data associated with the input-operated numerical value key and stores the same in the computational input buffer 22g. Also, the CPU 21 updates (+1) the step number to change the step number of the state display area and displays the input numerical value on the display unit 12 (step A8).
Subsequently, when it is determined that the calculation key is operated (step A4: Yes), the CPU 21 inputs the calculation data (operator data) associated with the input-operated calculation key, stores the same in the computational input buffer 22g, and displays a calculation symbol of the input calculation in the state display area of the display unit 12 (step A9).
In case of the computation registration mode (step A11: Yes), the CPU 21 registers the numerical value data and the calculation data, which have been stored in the computational input buffer 22g, in the computational data storage area 22h, and increases the step number by one so as to input next computational data (step A12). The CPU 21 executes the calculation on the basis of the input calculation data and the numerical value data already input, and displays an intermediate result of the calculation on the display unit 12 (step A13).
Thereafter, when the numerical value data and the calculation data are repeatedly input, the CPU 21 sequentially records the input numerical value data and calculation data in the computational data storage area 22h while increasing the step number, in the same manner.
When it is determined that a “=” (equal) key is operated by the user (step A5: Yes), the CPU 21 inputs the calculation data (calculation execution data) associated with the input-operated calculation key (“=” key), executes the computation associated with the numerical value data and calculation data (calculation execution data) input until then, and displays a computational result on the display unit 12 (step A10). The CPU 21 registers the numerical value data and calculation data (calculation execution data), which have been stored in the computational input buffer 22g, in the computational data storage area 22h, and increases the step number by one so as to input next computational data (step A12). The CPU 21 executes the calculation on the basis of the input calculation data and the numerical value data already input, and displays an intermediate result of the calculation on the display unit 12 (step A13).
Also, since the calculation data (calculation execution data) associated with the “=” key has been input (step A14: Yes), the CPU 21 stores the computational result data and the calculation data (calculation result mark), which are being displayed on the display unit 12, in the target step of the computational data storage area 22h, and increases the step number of the history input step by one for next input (step A15).
Herein, a specific example of the computational processing is shown. For example, as shown in
Subsequently, when the user operates on the numerical value keys “2” and “0” and the “+” key (addition key) to input the numerical value data and the calculation data, the CPU 21 displays the numerical value data “30”, which is a computational result until then, and the calculation symbol “+”, as shown in
By the above processing, the first computational data is input, and the computational result is obtained. The first computational data (registered data in
Next, a calculation verification function of the illustrative embodiment is described.
First, when it is determined that the calculation verification key 11e ([Re-check] key) is operated (step A2: Yes), the CPU 21 sets the computational mode to the calculation verification mode (step A7), and displays a calculation verification symbol “RECHECK” in the state display area so as to explicitly indicate the calculation verification mode. Also, the CPU 21 sets the step number of the designated step to the initial value [000] for inputting new computational data for calculation verification. In the meantime, upon the shift to the calculation verification mode, the default (initial) data mode is the current data mode.
The user starts to input computational data (current data) for same computation so as to verify the previously executed computation (first computation) in the computation registration mode.
When it is determined that the numerical value key is operated by the user so as to input a numerical value, which is a computation target for calculation verification (step A3: Yes), the CPU 21 inputs the numerical value data associated with the input-operated numerical value key, and displays the input numerical value data on the display unit 12. Then, the CPU 21 updates the display of the step number to [001] (step A8). Subsequently, when it is determined that the calculation key is operated (step A4: Yes), the CPU 21 inputs the calculation data associated with the input-operated calculation key, and displays a calculation symbol of the input calculation in the state display area 16a of the display unit 12. When the continuous computation is being executed (during the computation), the CPU 21 executes the calculation associated with the calculation data, and displays an intermediate result of the calculation on the display unit 12 (step A13).
In case of the calculation verification mode (step A16: Yes), the CPU 21 stores the input numerical value data and calculation data in the current data buffer 22e. That is, the numerical value data and calculation data input in the calculation verification mode are treated as the current data. Also, the CPU 21 reads out the numerical value data and calculation data registered in the designated step number [001] of the computational data storage area 22h, and stores the same in the previous data buffer 22f (step A17).
The CPU 21 compares the numerical value and calculation code of the previous data stored in the previous data buffer 22f and the numerical value and calculation code of the current data input for calculation verification and stored in the current data buffer 22e. Herein, when it is determined that the previous data and the current data are consistent with each other (step A18: Yes), the CPU 21 displays the input data (current data), and also displays an intermediate result (numerical value) of the calculation, which is calculated on the basis of the code stored in the computational input buffer 22g, under the state where the calculation is being performed (the “=” key is not operated yet) (step A19).
When it is determined that the calculation verification is not over until the final step of the previous data (computational data) (step A20: Yes), the CPU 21 inputs the numerical value and the calculation code in accordance with the user's operation on the key input unit 11, and compares the same with the corresponding numerical value and calculation code of the previous data, in the above-described manner.
In this way, when it is determined by the calculation verification until the final step that there is no inconsistency (step A20: Yes), the CPU 21 notifies the computation completion (calculation verification completion) of the computational data, which was input for calculation verification (step A21). As an output form of the notification, an “OK” symbol indicative of the calculation verification completion may be displayed in the state display area of the display unit 12 or a sound of a specific pattern (for example, “pip-pip”) may be output, for example. In the meantime, the notification may be made by any one of the display and the sound output, and the output form thereof may be selected in advance by the user.
Herein, when it is determined that the upper key 11b or the lower key 11c of the key input unit 11 is operated (step A22: Yes), the CPU 21 switches and displays the computational result of the previous data (computational data already registered) and the computational result of the current data (computational data) (step A23). That is, when the upper key 11b or the lower key 11c is operated while the calculation result (numerical value) of the current data is currently being displayed, the CPU 21 displays the calculation result of the previous data, instead of the calculation result of the current data. Also, the CPU 21 displays the preview (Prev) symbol on the display unit 12 so as to explicitly indicate that the calculation result of the previous data is being displayed.
Also, when the upper key 11b or the lower key 11c is operated while the calculation result of the previous data is currently being displayed, the CPU 21 displays the calculation result of the current data, instead of the calculation result of the previous data, and deletes the preview (Prev) symbol.
In this way, it is possible to simply switch and display the calculation result of the current data input in the calculation verification data and the calculation result of the previous data. In the above descriptions, since the calculation verification is correctly executed, the calculation results of the current data and the previous data are the same. The electronic calculator 10 of the illustrative embodiment can correct the current data and the previous data by different numerical values and calculations in the calculation verification mode, as described later. In this case, the calculation results of the current data and the previous data can be switched and displayed, so that it is possible to easily compare the corrected calculation results.
On the other hand, when it is determined that the previous data and the current data are not consistent (step A18: No), the CPU 21 notifies that the previous data and the current data are inconsistent (step A24). As an output form of the notification, an “NOT OK” symbol indicative of an error may be displayed in the state display area of the display unit 12 or a sound of a specific pattern (for example, “beep”) may be output, for example. By the notification, the user can recognize that the key operation upon the previous (first) input of the computational data and the key operation upon the current (calculation verification (second)) input of the computational data are inconsistent, i.e., that the key operation is erroneous.
Herein, the CPU 21 sets the data mode to the current data mode. Then, when it is determined that the calculation verification key 11e is operated (step A26: Yes), the CPU 21 sets the computational mode to the calculation verification mode (step A7), and sets the step number of the designated step to the initial value “000” so as to input new computational data for calculation verification. That is, the computational data (current data) for calculation verification can be re-input from the first. In this case, the current data is input in the above-described manner by the user's operation.
Also, when it is determined that the correction ([correct]) key 11f is operated by the user (step A27: Yes), the CPU 21 sets the correction mode to the ON state and displays a correction symbol “CRT”, which indicates that the correction mode is set, in the state display area of the display unit 12 (step A30).
Herein, when it is determined that the numerical value key is operated (step A31: Yes), the CPU 21 inputs the numerical value data associated with the input-operated numerical value key, and displays the input numerical value data on the display unit 12 (step A32). Subsequently, when it is determined that the calculation key is operated (step A33: Yes), the CPU 21 inputs the calculation data associated with the input-operated calculation key, and displays the calculation symbol of the input calculation data in the state display area of the display unit 12.
Also, when it is determined that the correction key 11f is operated (step A34: Yes), the CPU 21 determines that the input completion of the numerical value data or (and) the calculation data is instructed by the user. At this time, when it is determined that the data mode is the current data mode (step A35: No), the CPU 21 inputs the display data (the numerical value data and operator data input at the last time) as corrected right data (current value), and displays a numerical value, which is a calculation result based on the current value (step A37). After displaying the corrected calculation result, the CPU 21 turns off the correction mode, and deletes the correction symbol “CRT” in the state display area (step A39).
When it is determined that the step number of the designated step, which is a target of the calculation verification, is not the final step (step A40: No), the CPU 21 increases the step number by one (step A41), inputs the numerical value data and calculation data by the user, and compares the previous data (data in the previous data buffer 22f: the same data as the numerical value data and calculation data registered in the designated step number of the computational data storage area 22h) and the current data in the above-described manner.
On the other hand, when it is determined that the step number of the designated step is the final step of the computational data storage area 22h (step A40: Yes), the CPU 21 notifies the computation completion (calculation verification completion) of the computational data, which was input for calculation verification (step A21). Also, when the upper key 11b or the lower key 11c is operated, the CPU 21 displays a review on the current data including the corrected data, in the above-described manner (step A23).
In the above descriptions, the current data is corrected in the current data mode. However, the electronic calculator 10 of the illustrative embodiment may be configured to correct the previous data (the computational data of the designated step number already registered in the computational data storage area 22h: the same data as the data in the previous data buffer 220 in the calculation verification mode by switching the data mode to the previous data mode.
When it is determined that the current data input in the calculation verification mode is not consistent with the previous data (step A18: No), if it is determined that the upper key 11b or the lower key 11c is operated by the user (step A28: Yes), for example, the CPU 21 switches the current data mode to the previous data mode. Also, the CPU 21 displays the previous data (computational data) with the switching to the previous data mode, and displays the preview (Prev) symbol on the display unit 12 so as to explicitly indicate that the previous data is a processing target (step A29). In this way, the previous data can be subjected to a correctable state.
After the switching to the previous data mode, the CPU 21 inputs the numerical value and the calculation code in accordance with the user's operation and can correct the previous data (the computational data of the designated step number already registered in the computational data storage area 22h: updated to the same data as the data in the previous data buffer 220 in the same manner as the above-described current data mode (steps A27 to A33). After the previous data is corrected, when the correction ([correct]) key 11f is further operated by the user, the CPU 21 turns off the correction mode (returns to the usual calculation verification mode). At this time, since the operations are different depending on whether the correction mode is off during the previous mode or during the current mode, the CPU 21 executes following processing.
When it is determined that the correction ([correct]) key 11f is operated by the user and an instruction to turn off the correction mode is issued in the previous data mode (step A34: Yes, step A35: Yes), the CPU 21 sets the previous data as the correction target (it is necessary to correct the previous data; error) and corrects the display data (the numerical value data and calculation data input at the last time) as the previous data (the computational data of the designated step number already registered in the computational data storage area 22h: the same data as the data in the previous data buffer 22f) (step A36). When the correction of the previous data is completed, the CPU 21 sets the data mode to the current data mode (step A38). The CPU 21 turns off the correction mode, deletes the correction symbol “CRT” in the state display area, and displays the computational result data (or the intermediate result data of the computation) obtained from the computational data of the target step of the current data on the display unit 12 (step A39). Thereby, after the correction of the previous data is completed, it is possible to continuously input a next step of the current data.
In this way, according to the calculation verification function of the electronic calculator 10 of the illustrative embodiment, it is possible to simply verify the computational data (previous data) already registered, which was first input, on the basis of the second re-input computational data (current data). When the inconsistency of the computational data is detected, it is possible to continue the calculation verification by correcting the first previous data or the second current data through the simple operation. For example, when the first previous data is erroneous and the second current data is right, it is possible to continue the calculation verification by correcting the first previous data. Also, when the first previous data is right and the second current data is erroneous, it is possible to continue the calculation verification by correcting the second current data.
Herein, a specific example of the computational processing that is to be carried out upon the execution of the calculation verification function is described.
For example, as shown in
Herein, when the numerical value “10” is input and the calculation code is input by the “+” key (addition key) for calculation verification of the previous data, the CPU 21 displays the input numerical value “10” and also displays the “+”symbol in the state display area, as shown in
Then, when the numerical value “80” different (wrong) from the previous data is input and the “+” key is operated, the CPU 21 outputs a sound ‘beep” indicative of the inconsistency and displays the “NOT OK” (OK is deleted with a diagonal line) symbol because the previous data and the current data are inconsistent.
Subsequently, an example where the input (
In this case, when the correction key ([correct] key) 11f is operated at the state of
Then, when the right numerical value “20” is input and the calculation data is input by the “+” key (addition key), the CPU 21 displays the input numerical value “20” and displays the “+” symbol in the state display area, too, as shown in
When the input for correction is completed and the correction key 11f is again operated, the CPU 21 displays a calculation result “30”, which results from the input numerical value “20” and the addition calculation data (+), as shown in
Next, an example where the input of the current data shown in
In this case, when the correction key 11f is operated at the state of
Then, when the numerical value data “5” for change is input and the calculation data is input by the “+” key (addition key), the CPU 21 displays the input numerical value “5” data and the “+” symbol in the state display area, as shown in
When the input for change is completed and the correction key 11f is again operated, the CPU 21 displays a calculation result “15”, which results from the input numerical value “5” and the addition calculation data (+), as shown in
Herein, when the upper key 11b or the lower key 11c is operated, the CPU 21 switches and displays the computational result data “70” of the previous data shown in
Next, an example where the previous data is to be corrected in conformity to the current data is described. For example, it is assumed that the numerical values shown in
In this case, when the upper key 11b is operated at the state of
Herein, when the correction key 11f is operated by the user, the CPU 21 turns on the correction mode, and displays the correction symbol “CRT”, as shown in
Then, when the corrected numerical value data “80” is input and the calculation data is input by the “+” key (addition key), the CPU 21 displays the input numerical value data “80”, and displays the “+” symbol in the state display area, too, as shown in
When the input for correction is completed and the correction key 11f is again operated by the user, the CPU 21 switches the data mode from the previous data mode to the current data mode, and deletes the preview (Prev) symbol, as shown in
Subsequently, when the numerical value data “40” is input and the “=” (equal) key is operated, the CPU 21 displays the input numerical value data “40” (
Herein, when the upper key 11b or the lower key 11c is operated, the CPU 21 switches and displays the computational result data “130” of the current data shown in
Next, an example where the previous data is corrected to the computational data different from the current data is described. For example, it is assumed that the numerical values shown in
In this case, when the upper key 11b is operated at the state of
Herein, when the correction key 11f is operated, the CPU 21 turns on the correction mode, and displays the correction symbol “CRT”, as shown in
Then, when the corrected numerical value data “18” is input and the calculation code is input by the “+” key (addition key), the CPU 21 displays the input numerical value data “18” and displays the “+” symbol in the state display area, too, as shown in
When the input for correction is completed and the correction key 11f is again operated by the user, the CPU 21 switches the data mode from the previous data mode to the current data mode, and deletes the preview (Prev) symbol, as shown in
Subsequently, when the numerical value data “40” is input and the “=” (equal) key is operated, the CPU 21 displays the input numerical value data “40” (
Herein, when the upper key 11b or the lower key 11c is operated, the CPU 21 switches and displays the computational result data “130” of the current data shown in
Next, a check (review) function of the illustrative embodiment is described.
When the [AC] key 12 is operated, the CPU 21 sets the computational mode to the computation registration mode (step A1: Yes). Thereafter, when the upper key 11b or the lower key 11c is operated (
When the computational mode is set to the check mode, the CPU 21 displays a review (REV) symbol, which indicates a check mode state, in the state display area of the display unit 12. The CPU 21 sets the step number, which indicates the designated step in which the numerical value data and calculation data (check targets) are stored, to the initial value “001” (step A51).
The CPU 21 reads out and displays the numerical value data and calculation data recorded in the step number of the designated step of the computational data storage area 22h on the display unit 12 (step A52). Herein, when it is determined that the upper key 11b or the lower key 11c is operated (step A54: Yes), the CPU 21 updates the step number of the designated step (step A55), and reads out and displays the numerical value data and calculation data of the updated step number on the display unit 12 (step A52). That is, when the upper key 11b is operated, the CPU 21 displays the numerical value data and the calculation symbol, which have been input immediately before the numerical value being currently displayed, and when the lower key 11c is operated, the CPU 21 displays the numerical value data and the calculation symbol, which have been input immediately after the numerical value being currently displayed.
In this way, the user can sequentially read out the set of the numerical value data and the calculation data, which are included in the computational data already registered, by the operation on the upper key 11b or the lower key 11c, and display and check the contents of the calculation process on the display unit 12 (steps A52, A54 and A55).
When it is determined that the correction key 11f is operated at the state where the numerical value, which is a correction target, is displayed (step A53: Yes), the CPU 21 sets the correction mode and displays the correction symbol “CRT”, which indicates the correction mode, in the state display area of the display unit 12 (step A53).
Herein, when it is determined that the numerical value key is operated (step A56: Yes), the CPU 21 inputs the numerical value data associated with the input-operated numerical value key, and displays the input numerical value data on the display unit 12 (step A57). Subsequently, when it is determined that the calculation key is operated (step A58: Yes), the CPU 21 displays the calculation data associated with the input-operated calculation key, and displays the calculation symbol of the input calculation data in the state display area of the display unit 12.
Also, when it is determined that the correction key llf is operated (step A59: Yes), the CPU 21 determines that the input completion of the numerical value data and calculation data is instructed by the user. The CPU 21 inputs the display data (the numerical value and operator input at the last time) as the corrected right data, and corrects the same as the data of the target step of the registered computational data (step A60). The CPU 21 displays the computational result of the computational data, which includes the corrected numerical value data and the calculation data, on the display unit 12.
In this way, in the check (review) function, it is possible to read out and correct any numerical value from the computational data already registered. The user can perform the correction, as required, while checking the contents of the computational data.
Next, an automatic check (auto review) function of the illustrative embodiment is described. In the check function, the numerical value of the computational data already registered is switched and displayed in accordance of the user's operation on the upper key 11b or the lower key 11c. However, in the automatic check function, the display is switched without the user's operation.
When the [AC] key 12 is operated, the CPU 21 sets the computational mode to the computation registration mode (step A1: Yes). Thereafter, when the auto review key 11g is operated (
The CPU 21 reads out the numerical value data and calculation data, which are recorded in the step number of the designated step recorded in the computational data storage area 22h, and displays the same on the display unit 12 (step A63). When predetermined time (for example, 2 seconds) elapses, the CPU 21 increases the step number of the designated step by one (step A64), and when it is determined that the display of the final step is not completed (step A65: No), the CPU 21 reads out the numerical value data and calculation data of the updated step number and displays the same on the display unit 12 (step A63). That is, whenever the predetermined time elapses, the CPU 21 sequentially reads out the set of the numerical value data and calculation data included in the computational data already registered, and displays the contents of the computation process on the display unit 12 (steps A63 to A65).
In this way, according to the automatic check function, it is possible to read out and display the numerical value in order from the head of the computational data already registered. The user can check the contents of the computational data without performing the display change operation.
Meanwhile, in the automatic check function, the contents of the computational data are just displayed. However, like the check function, the contents of the computational data may be corrected by the user's operation. That is, when the correction key 11f is operated with any one numerical value of the computational data being displayed, the CPU 21 turns on the correction mode, and corrects the computational data by inputting the corrected numerical value data and the calculation data, in the above-described manner. When the correction completion is instructed by the operation on the correction key 11f, the CPU 21 resumes the display switching every predetermined time, and displays the numerical values from the corrected numerical value or the first numerical value of the computational data.
Thereby, it is possible to correct the computational data already registered while reducing the user's operation.
Herein, a specific example where the computational processing is carried out upon the execution of the check function is described. Herein, an example where the computational data (corrected already) already registered and shown in
Herein, when the lower key 11c is operated, for example, the CPU 21 sets the check mode, displays the review symbol and reads out and displays the numerical value data “10” and the calculation data “+” of the step number “001” of
As shown in
Herein, when the correction key 11f is again operated, the CPU 21 displays the calculation result data “113” associated with the corrected numerical value “85” and deletes the correction symbol “CRT”, as shown in
In the meantime, as described above, after the computational data already registered is corrected to the numerical value shown in
In this way, it is possible to correct the computational data already registered (
In this way, according to the electronic calculator 10 of the illustrative embodiment, it is possible to correct the first computational data while inputting the second computational data (current data) so as to verify the first computational data (previous data) already registered. That is, since the calculation verification processing is used, it is possible to obtain the computational result by correcting a part of the computational data already registered with the simple operation and preparing the separate computational data. Therefore, even when it is necessary to prepare a plurality of estimations, as described above, it is not necessary to input all the respective computational data from the first.
In the meantime, the methods described in the illustrative embodiment, i.e., the respective methods such as the processing shown in the flowcharts of
Also, the program data for implementing each method may be transmitted as a form of a program code via a network (Internet), and the program data may be received from a computer (a server apparatus and the like) connected to the network (Internet), so that the same functions as the illustrative embodiment can be implemented.
In the meantime, the disclosure is not limited to the illustrative embodiment, and can be diversely modified at a state of the implementation without departing from the gist thereof. Also, the illustrative embodiment includes inventions in a variety of stages, and a variety of inventions can be extracted by appropriately combining a plurality of the disclosed configuration requirements. For example, if the described advantage is provided to solve the problems even when some of all the configuration requirements shown in the illustrative embodiment are omitted or some configuration requirements are combined, the configuration where the configuration requirements are omitted or combined can be extracted as an invention.
Number | Date | Country | Kind |
---|---|---|---|
2015-133841 | Jul 2015 | JP | national |