On this page you can test drive some of the new features that I am currently working on. Feel free to leave a comment if you have any thoughts on how the calculator could be improved.
Warning: This version of the calculator is for testing purposes only! It may have bugs and may return false results. If you want to get reliable results, please use the calculator on the main page, which has been thoroughly tested.
The script that powers the new calculator has been completely rewritten. This was necessary in order to make future additions to the functionality easier to implement.
The layout has been slightly changed to accommodate a larger output field with larger numbers.
One addition to the functionality is the Not-Necessarily-Awesome-But-Nonetheless-Useful-History-Bar. You can use it to jump to a previous step in your calculation by clicking on the history bar and selecting the last entry (number or function) that you would like to keep in your calculation.
Another new feature is the % button. It is not so much an operator as a shorthand notation. With it, you can make calculations like:
50 + 5% (which will return 52.5)
- or -
(20 + 30) + (1 + 4)% (which will also return 52.5)
- or -
2500[square root] + 25[square root]% (which will also return 52.5)
How it works: after pressing the % symbol, the calculator looks for two "terms" separated by an operator that takes two values (like +, -, etc.) directly preceding the % symbol. Any operator that takes two values will work. If x is the first term and y the second term, then at that point the calculator computes y % of x. After pressing [equals] it then does with the computed value whatever is designated by the separating operator. A term is any of the following three:
In this version, after clicking the [equals] button, the entry of a number will start a new caclulation instead of modifying the result.