加载中...

将数字转换为字符串


调试运行

<html>
<head>
<title>将数字转换为字符串</title>
</head>
<body>
<script language="javascript">
<!--
	num = 3.14;
	str = "" + num;
	document.write(0 + str);
-->
</script>
</body>
</html>

还没有评论.