Comments (2)
The % operator is always doing operation with 100 only .It should be do operation like other (+,-,/) operators are doing .
Thank you
AFAIK, "%" means percent, not modulus. So effectively it divides into 100 and this is expected behavior
from calculator.
Good point - closing
from calculator.
Related Issues (20)
- Error: [big.js] Division by zero
- Not showing percentage result HOT 1
- After build and deploy to firebase, it doesn't work. HOT 2
- Zero added before input number
- New logo HOT 6
- Calculation error HOT 5
- Calculator makes the sum of the two previous numbers before multiplying HOT 1
- Error while double click in divide button HOT 2
- Class binding in Button.js HOT 1
- The leftmost zero in a number
- Issue with Regex in isNumber.js HOT 1
- Error while double clicking on the multiply button after entering only one number
- duplicating of tier 5 seeds HOT 1
- Does not calculate the percentage after addition or subtraction or multiplication or division
- The site is not up to date
- Numbers are padding off the screen HOT 1
- doesn't support key presses
- Error while dividing by zero HOT 1
- Input "." First The Result is not decimals HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calculator.