■スクリプト
<HTML> <HEAD> <TITLE>Sample</TITLE> </HEAD> <BODY bgColor="white"> <CENTER> <H1>最も小さい整数を求めます</H1> </CENTER> <TABLE BORDER="1"> <SCRIPT Language="JavaScript"> <!-- theValue = -1969.215; document.write("<TR><TD>Math.floor(1969.215)</TD><TD>",Math.floor(1969.215),"</TD></TR>"); document.write("<TR><TD>Math.floor(",theValue,")</TD><TD>",Math.floor(theValue),"</TD></TR>"); // --> </SCRIPT> </TABLE> </BODY></HTML>