Can somebody help me fix this bug?


Can somebody help me fix this bug?
When I do the calculation of 2/9 the result overlaps the display.

Here is the link :

Thanks

Find the number of decimal places that will fit on your display as you have it styled and then round to that many places.

But don’t forget to consider that as the whole number part grows larger, there are fewer places available. And the sign takes up space too…

Add overflow: hidden to .display css class


Thanks for your quick feedback. …but I still have it on the back screen. :slightly_smiling_face:

Remove line 90 where you have JSON.stringify (I thought you put it for debugging :slight_smile: )

It works…
Thanks so much… :slightly_smiling_face: