codingtcher.com
Theme Night
Home
Login

Jquery int code example

//to int jquery
parseInt("100");

//Javascript string to int
var myInt = parseInt("10.56"); //10
var myFloat = parseFloat("10.56"); //10.56

Related Code