1var myNumber=120;
2var myString = myNumber.toString(); //converts number to string "120"
1var myInt = parseInt("10.256"); //10
2var myFloat = parseFloat("10.256"); //10.256
1<script language="JavaScript" type="text/javascript">
2var a = 3.3445;
3var c = a.toString();
4alert(c);
5</script>
6