Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <body> <p>Klicken Sie auf den Button, um den String (Zeichenfolge) zu parsen.</p> <button onclick="myFunction()">Click</button> <p id="demo"></p> <script> function myFunction() { var myString = parseFloat("384.75a") + "<br>"; var pointNum = myString + "<br>"; document.getElementById("demo").innerHTML = pointNum; } </script> </body> </html>