Giter Club home page Giter Club logo

calculator's Introduction

Hi there ๐Ÿ‘‹

I'm Josh, a frontend web developer from the Philippines ๐Ÿ‡ต๐Ÿ‡ญ

I love making beautiful, responsive, and accessible web interfaces with clean and reusable code.

โšก Skills

My Skills

๐Ÿ”ญ I'm currently...

๐Ÿ“ซ Get in touch

Feel free to send me an email or connect with me on LinkedIn.

calculator's People

Stargazers

 avatar

Watchers

 avatar

calculator's Issues

What is kept internally vs what is displayed, causes unexpected results

To replicate:
I did 3.025 * 9, which displays rounded to two digits: 27.22. Then I subtract 27, and get 0.2250

I suspect the issue is that the full value is being kept (which isn't a bad thing), which can then cause unexpected results (for example, 27.22 * 100 is very different from 27.2249999 * 100).

Perhaps keeping an internal precision that is "good enough"? For example, while the resulting object contains 27.24999999999, rounding that to even six decimal places (rather than truncating it) might be a "good enough" solution.

Not an issue [feedback]

You write beautiful documentation! โœจ

I could really tell that you love your work. Kudos!

[Feature Request] Keyboard support

The calculator is really nice to use, and I think the addition of keyboard listeners for each of the buttons would really take it to the next level of usability. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.