How to make a simple calculator in JavaScript and SCSS/Sass. Still subject to rounding errors! :)
Grab the code from GitHub: https://github.com/GeekLaunch/calculator
More about rounding errors in JavaScript: https://stackoverflow.com/questions/1458633/how-to-deal-with-floating-point-number-precision-in-javascript
http://geeklaunch.net/
Follow GeekLaunch on Twitter: https://twitter.com/Geek_Launch
Support GeekLaunch on Patreon: https://www.patreon.com/GeekLaunch
GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), Java programming, tips for power users, among many others. Subscribe: New video every Wednesday!
Not a geek? Start today!