It shows the wrong number when I type in a large number

Use this template to make awesome bug reports:

Your username: C.H.Rissole

What kind of device are you using?:

1 sentence description of the problem (I was doing typing in a large number , and then it shows the wrong number happened):

Steps that the Hopscotch team can take to reproduce my problem every time:
Way 1
1.Add an object
2.Set text to a large number

Way 2
1.Save input or set text to input
2.Type in a large number

I expected this to happen:
Show the correct number
But instead this happened:
It doesn’t.
Here’s a sweet screenshot:

13 Likes

Never heard of this bug. I’m pretty sure I read somewhere that hopscotch has a limit of writing 16 numbers correctly before it starts to make the wrong numbers.
Edit: I just counted how many of ur numbers are displayed correctly and it’s 16. So I think that this is the bug.

8 Likes

Ah, this bug again - maybe a link ?

4 Likes

Hmm
Weird

Hs has always been kinda strange around large numbers

4 Likes

maybe the large number wrecked the system for hopscotch to correctly output numbers (is the app in javascript?) so hopscotch instead outputs the opposite

4 Likes

doing this with large decimals happens too

you can fix that by making the number a string unless you need the precise number

4 Likes

I’ve had this bug before. Hopscotch can’t handle very large numbers, I think this has something to do with rounding and scientific notations. Normally it would display a large number like that as 1.1111111e6 but since it’s text, it displays like that. I still don’t know why it would round and it should display every digit.

3 Likes

I haven’t had this bug before, but it’s weird.

3 Likes