int to string js

JavaScript
var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"//You can call .toString() on every defined variable.

var x1 = Boolean(0); x1.toString(); // --> false
var x2 = Boolean(1); x2.toString(); // --> true
var x3 = new Date("2020/03/13"); x3.toString(); // --> Fri Mar 13 2020 00:00:00 GMT+0100
var x4 = "12345"; x4.toString(); // --> 12345
var x5 = 12345; x5.toString(); // --> 12345var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"    var num=213; 
    document.write("Output : " + num.toString());   // convert to integer string        
    document.write("Output : " + num.toString(2));   // convert to binary string       
<script language="JavaScript" type="text/javascript"> 
var a = "3.3445";
var c = parseInt(a);
alert(c);
</script>
Source

Also in JavaScript: