Skip to content

React calculator with additional functionality to save values in memory and also calculate VAT (the value can be modified).

License

Notifications You must be signed in to change notification settings

Katia-Toboleva/react-calculator-with-vat-and-memory

Repository files navigation

React Calculator with VAT and Memory

Description:

The calculator has all the basic functionality (add, subtract, multiply, divide, calculate % and convert into negative and positive values). In addition to that, the values can be stored and retrieved from memory. The app can also be used to calculate VAT values (both for calculating net and gross figures). VAT per cent can be customized

Technologies:

React, JavaScript, TDD testing (Jest, Enzyme), GitHub branches, SCSS and CSS modules, Webpack, Babel, Eslint, Stylelint.

Demo:

  1. Divide, multiply, add, subtract

calculator-1

  1. Calculate percent, change from positive to negative and vice versa, clear the calculations

calculator-2

  1. Memory functionality:
  • MS: save displayed value in memory
  • MR: get the saved value from memory
  • M+: add the displayed value to the value saved in memory
  • M-: subtract the displayed value from the value saved in memory

calculator-3

  1. VAT calculation: calculate net (value without VAT) and gross (add VAT to net value)

calculator-4

  1. Customize VAT

calculator-5

  1. AC and C

calculator-6

About

React calculator with additional functionality to save values in memory and also calculate VAT (the value can be modified).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published