how to get numeric value from string in javascript code example
Example: javascript convert string to number
var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256
var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256