JavaScript Hilfe?

1 Antwort

Vom Fragesteller als hilfreich ausgezeichnet
let secondNumber = parseInt(prompt("Enter your second number!"))

...oder parseFloat (bei allen).

Ich tippe mal, der vergleicht sonst Strings.

Woher ich das weiß:Studium / Ausbildung – Informatiker
MrOsmo 
Fragesteller
 15.11.2023, 21:12

Dankeschön!!!

0