Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

alumik/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

version-2.0.3 GitHub License

Instructions

To use keyboard input, you need to click on the answer area to focus it. "KEYBOARD ON" will appear in the top right corner. The key mappings are as follows:

Function Key
C/AC c / C
+/- ~
% %
+ + / NUMPAD +
- - / NUMPAD -
× * / NUMPAD *
÷ / / NUMPAD /
= Enter / NUMPAD Enter / =
0~9 0~9 / NUMPAD 0~NUMPAD 9
. . / NUMPAD .

Pressing the clear key once clears the current step, and pressing it again clears everything.

Supported Browsers

Tested and working in Chrome/Edge browsers; not functional in IE, and not tested in Safari.

Notes

  • For addressing precision issues in floating-point calculations, I have devised a method. It may not be the optimal solution.
  • To prevent data loss, data display is allowed to exceed the boundaries of the display box.

About

A simple calculator made with Vue.js

Topics

Resources

License

Stars

Watchers

Forks

Contributors