Code Monkey home page Code Monkey logo

Comments (7)

bitrequest avatar bitrequest commented on September 11, 2024

What if you want to enter eg 550 euro?

from bitrequest.github.io.

nanostos avatar nanostos commented on September 11, 2024

What if you want to enter eg 550 euro?

Then it would be [5] [5] [0] [0] [0]. Have a look next time someone enters the amount into a card machine (where it's not connected to a register that autofills it): this is always the way they do it. I wouldn't take it upon myself to judge which way is better, but I've just observed that this is the standard that seems to prevail.

from bitrequest.github.io.

bitrequest avatar bitrequest commented on September 11, 2024

That doesn't make much sense to me honestly, gonna leave it like it is.
Maybe it's because i'm dutch :-)

from bitrequest.github.io.

trasherdk avatar trasherdk commented on September 11, 2024

@nanostos is right.

Even ATM's had this, until a few years back, they dropped decimals completely. They don't spit out coins anyway 😄

from bitrequest.github.io.

nanostos avatar nanostos commented on September 11, 2024

@nanostos is right.

Even ATM's had this, until a few years back, they dropped decimals completely. They don't spit out coins anyway 😄

@trasherdk Right, in that case it wouldn't make sense, though it does still illustrate the commonality of the practice. But most stores/cafes/restaurants do actually price things with cents included (the $X.95 or $X.99 template especially). So, the idea is just that you express every value as cents, and the decimal appears where it's meant to be to display the amount in dollars/euros/etc. Sort of like auto-filling the '/' when entering a date, so the user doesn't have to manually type the '/'.

But as I said before, my main comment wasn't about which way is better. It was about what store clerks are happen to be accustomed to, which is the more important point. But I can also appreciate that the dev might not be as motivated to make a change unless there's similar feedback from more users.

from bitrequest.github.io.

trasherdk avatar trasherdk commented on September 11, 2024

@nanostos Again, I agree 😆

App's like this should target the end-user. Not the dev, who presumably thinks very differently, compared to some low paid till operator.

from bitrequest.github.io.

Related Issues (18)

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.