int to string js
snippet in javascript

Javascript string to int

user450

var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256

int to string js

user1687

var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"

change no to string in js

user5637

var num = 15;
var n = num.toString();

javascript string to integer

user3868

<script language="JavaScript" type="text/javascript"> 
var a = "3.3445";
var c = parseInt(a);
alert(c);
</script>

how to turn number into string javascript

user7151


var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"

tostring js

user6517

var num = 15;
var n = num.toString(); /* now */ "15"