time-calculator
v1.0.8
Published
A JavaScript calculator for adding and subtracting time.
Downloads
2
Maintainers
Readme
Time Calculator
A JavaScript calculator for adding and subtracting time.
Installation
via NPM
npm install time-calculator
Now, all the files you need are in the node_modules/time-calculator
directory
manually
Download the .zip file of this repository. Extract the contents into a separate directory and open the index.html
file in your browser.
Usage
- Do all the maths!
- The
:
,+
,-
,=
and all the number keys are mapped to the calculator as expected. - The
esc
key is mapped to theClr
button. - The
delete
/backspace
key is mapped to theDel
button. - Pressing
enter
will trigger the=
operation. - Pressing
enter
after simply entring a number will convert that number into the correct time segments (try entering1000000
then pressing enter).