Difference between revisions of "Calculator Tool"
(Created page with '{{Breadcrumb|Table of Contents|Functionality|next=Calendar Tool}} Category:Functionality Category:User documentation The Calendar Tool is a small and simple calendar tha…') |
m (The power of peer review.... :)) |
||
Line 3: | Line 3: | ||
[[Category:User documentation]] | [[Category:User documentation]] | ||
− | The | + | The Calculator Tool is a small and simple calculator that provides simple math support to data entry. |
== Access == | == Access == |
Revision as of 08:31, 23 August 2010
⇐ Table of Contents{{#if: Functionality| | Functionality }}{{#if: | | [[{{{3}}}]] }}{{#if: | | [[{{{4}}}]] }}{{#if: | | [[{{{5}}}]] }} | Calculator Tool{{#if: Calendar Tool| | Calendar Tool }} ⇒
The Calculator Tool is a small and simple calculator that provides simple math support to data entry.
Access
Icon: | |
Menu: | →Calculator }}{{#if: | → }}{{#if: | → }} |
Short Cut: | (none) |
Menu Tree: (none) |
Restrictions
None.
Description
The calculator tool is a simple calculator that provides support for the following operators: + - * / %. Is also can be used to perform currency conversions by clicking the '$' button. (Bottom, left. It is hard to see in yellow.)
The calculator is activated by the Tools{{#if: Calculator | →Calculator }}{{#if: | → }}{{#if: | → }} command, by clicking on the calculator iconin any number field.
The calculator can be operated by the mouse but it is most effective with a number pad and keyboard. The following keys are accepted:
- 0-9 - standard digits are added to the end of the display
- '.' and ',' are both treated as decimals and replaced by '.' in the display.
- / * - + operands are added to the end of the display. If there is already an operand in the last position, it is replaced by the one just typed. If there is an operand between two numbers, the calculation is completed before the new operand is added.
- % operand is not working properly. There is a bug.
- = or <Enter> will complete the calculation. If the calculator was opened from a number field, the equal sign will close the calculator tool and the result will appear in the number field.
- 'A' or <Delete> will clear the display.
- 'C' or <Backspace> will remove the last character typed.
- <Esc> or clicking the red Cancel button will abort the calculation and close the Calculator Tool.
- '$' or clicking the $ button will display the currency conversion buttons. Selecting and double clicking either currency will convert the currently displayed number.
For Developers
The code the controls the Calculator can be found in
- client/src
- org.compiere.grid.ed.Calculator.java