Skip to content

levan-ted/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

calculator

EPAM, RS School task 3. Javascript Calculator

Link to deployment

Screenshot

TASKS

  • Basic operations (+ - *) with positive integers (2 + 2 = 4)
  • Division (/) with positive integers (the result might be a float) (3 / 2 = 1.5)
  • If the result has more than 10 digits, it must be rounded down to show only the first 10 digits in total at all times (Digits/decimals are rounded after the dot)
  • Chaining operations (2 + 2 = 4 + 2 = 6 ...)
  • Result clear button
  • Error message for invalid operations (10 / 0 = Error)

Additional math operations

  • Square root: This calculator calculates any level of root. For example, for calculating a square root, enter the number, then press ROOT button and then number 2.
  • Exponentation (15 ^ 3 = 3375)
  • Actions with negative numbers
  • Actions with decimals

About

EPAM, RS School task 3. Javascript Calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors