parseISO javascript code example Example: parseint javascript var myInt = parseInt("10.256"); //10 var myFloat = parseFloat("10.256"); //10.256