46
mahaDev
6y

I was playing Science trivia with Google assistant. Looks like she didn't want me to get all 5 answers right.

Also, 0.62 != 0.62

Comments
  • 4
    How do I talk to her
  • 12
    Clearly they used JavaScript to evaluate your input!

    Example:
  • 2
    @gintko thorough response, and true. I was merely ripping on JavaScript as a joke. Despite its quirks, I love JavaScript.
  • 2
    Hmm... Sounds like JavaScript to me
  • 0
    He detect your input as string
  • 1
    @gintko nice answer, I know the concept being float arithmetic, but in cases like I one I encountered, why don't they store the values as Strings? All the other questions were. Besides, I had to choose from 3 options!
  • 1
    Probably you gave the answer as float, but she wanted a str!
  • 6
    So I tried and this happened. Maybe it's comparison algorithm has some bugs.
  • 0
    JavaScript?
Add Comment