Run ยป
<!DOCTYPE html> <html> <body> <script> var a = "5"; a = parseInt(a); var b ="5.5"; b = parseFloat(b); alert(a + b) </script> </body> </html