Front End Development Libraries Projects - Build a JavaScript Calculator

Tell us what’s happening:
Tests not passing. Pictures for reference. 5.0 is automatically changed to 5 but the test specifically needs 5.0 to pass. Evrything is okay, it’s just this test. Will i still get certification?


Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Challenge: Front End Development Libraries Projects - Build a JavaScript Calculator

Link to the challenge:

You should not be able to input 5..0

You are only allowed to submit the project when it is passing all the tests.

I should not be able to input 5…0?
But the tests clearly state that inputting 5…0 should return a 5.0?

If I input 5..0 it accepts that as a valid input and shows it.

The test is definitely not asking for 5..0 as a valid input as that doesn’t make any sense. If the current input is 5. and the next input is . that second input should be ignored.