tryjs_celsius 在线代码实例
<p></p><b>Insert a number into one of the input fields below:</b><p></p>
<form>
<input id="c" name="c" onkeyup="convert('C')"> degrees Celsius<br>
equals<br>
<input id="f" name="f" onkeyup="convert('F')"> degrees Fahrenheit
</form>
<p>Note that the <b>Math.round()</b> method is used, so that the result will be returned as an integer.</p>