Skip to content

aaafly/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CALCULATOR

Features

  • Keyboard or interface typing.
  • Reuse of the previous answer if start typing an operator.
  • Supports double negation (--).
    • Example: 9--9 = 18.
  • Supports directly opening parenthesis (multiplication).
    • Example: 9(9) = 81
  • Detect & prevent unbalanced parenthesis
  • Will not submit an unfinished statement
  • Won't fail on big numbers (1e+21)

Installation

Nothing to install.

Just put the files on a server for the links to work (css, js).

Browse to:

  • http://localhost/index.html

Tests

Browse to:

  • http://localhost/tests/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published