用户工具

站点工具


在线工具:温度转换器

<html> <head> <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”> <meta name=“Author” content=“Christian Schlup”> <meta name=“Description” content=“A temperature converter for Celsius and Fahrenheit”> <meta name=“Keywords” content=“temperature, converter, Fahrenheit, Celsius, Centigrade, conversion, unitconversion, thermometer, weather”> <title> 温度换算器(华氏度/摄氏度) </title> <style type=“text/css”> h1 {} h2 {font-size:17pt; font-family:verdana; text-align: center; color:#323296} p {font-size:9pt; font-family:verdana; text-align:center} p.conv {font-size:9pt; font-family:verdana; text-align:center; color:#000000} p.link {font-size:7pt; font-family:verdana; color:#323296} p.free {font-size:7pt;} a:link {color:#323296} a:visited{color:#323296} a:hover{color:#AAAAFF} a:active{color:#323296} a.cal:link {color:#000000} a.cal:visited{color:#000000} a.cal:hover{color:#000000} a.cal:active{color:#000000} a.cal {text-decoration: none} </style> </head>

<center> <table border=“0” width=“350” cellpadding=“0”> <tr> <td width=“350”> <h2>温度换算器</h2> </td> </tr> <tr> <td width=“350”> <p>将华氏度换算成摄氏度及其相反 <br><br><br><br> </p> </td> </tr> <tr> <td width=“350”>

<center> <FORM> <INPUT type=hidden value=“(Math.round1)/100” name=F_expr> <INPUT type=hidden value=“(Math.round2)/100” name=C_expr> <INPUT type=hidden value=“(Math.round(C.value * 9/5 + 32))” name=F_exprrnd> <INPUT type=hidden value=“(Math.round3)” name=C_exprrnd> <table border=“0” width=“300” cellspacing=“0” cellpadding=“8” bgcolor=“#AAAAFF”> <tr> <td width=“100%” colspan=4> <p class=“conv” style=“letter-spacing: 2px; margin-top: 10px; margin-bottom: 10px”> 温&nbsp;度&nbsp;换&nbsp;算&nbsp;器 </p> </td> </tr> <tr> <td width=“5%”></td> <td width=“45%” bgcolor=“#CCCCCC”> <p class=“conv”>华氏度 <br><br> <INPUT maxLength=12 size=5 value=32 name=F> <br><br> <input type=“button” name=“Taste” value=“换算” onclick=“if (rounded.checked == true) eval('C.value = ' + this.form.C_exprrnd.value)

else eval('C.value = ' + this.form.C_expr.value)"> 

</p> </td> <td width=“45%” bgcolor=”#999999“> <p class=“conv”>摄氏度 <br><br> <INPUT maxLength=12 size=5 value=0 name=C> <br> <br> <input type=“button” name=“Taste1” value=“换算” onclick=“if (rounded.checked == true) eval('F.value = ' + this.form.F_exprrnd.value)

else eval('F.value = ' + this.form.F_expr.value)"> 

</p> </td> <td width=“5%”></td> </tr> <tr> <td width=“100%” colspan=4> <p class=“conv” align=“center”> <INPUT type=checkbox name=“rounded” value=“rounded” checked>凑成整数 </p> <p class=“conv” align=“center”> &copy; <a class=“cal” href=“http://www.sotiku.com”>搜题库</a> </p> </td> </tr> </table> </FORM> </center>

</td> </tr> <tr> <td width=“350”> <p class=“link”> </p> <p class=“free”> <br> 搜题库提供各类实用查询 <br><br><br> </p> </td> </tr> </table> </center>

</script></div> </body> </html>

1)
C.value * 9/5 + 32)*100
2)
(F.value - 32) * 5/9)*100
3)
F.value - 32) * 5/9
在线工具/温度转换器.txt · 最后更改: 2019/02/17 14:43 (外部编辑)