1var myNumber=120;
2var myString = myNumber.toString(); //converts number to string "120"
1<script language="JavaScript" type="text/javascript">
2var a = 3.3445;
3var c = a.toString();
4alert(c);
5</script>
6
1 new Date().toISOString().slice(0, 16).replace('T', ' ')
2 // "2020-11-28 00:40"
3