calculator
A plain four-function calculator: ten digits, a decimal point, add, subtract, multiply, divide, percent, sign flip and clear. It chains left to right the way a pocket calculator does, so 2 + 3 x 4 comes out as 20, not 14. Results are rounded to twelve significant digits, and dividing by zero shows Error instead of pretending.
Using
- Tap digits, then an operator. Tapping a second operator settles the one still pending and shows the running total.
- = finishes the sum. AC clears the display and everything held behind it.
- % divides what is on screen by 100. +/- flips its sign.
- Tap the readout to copy it.