string html ke int

var myInt = parseInt("10.256"); //10
Lucky Loris