Back to Hector's Climbs and Hikes Page

Celcius to Farenheit


Celcius to Farenheit (and vice versa) - using javascript.

 Farenheit
 Celcius


<form>
<table>
   <tr>
   <td>
   <input type="text" size="5" name="F" value="32" onChange="C.value = 100/(212-32)* (this.value - 32)"><br>
   </td>
  <td>
   Farenheit<br>
  </td>
  </tr>
  <tr>
  <td>
  <input type="text" size="5" name="C" value="0" onChange="F.value = (212-32)/100 * this.value + 32"><br>
  </td>
  <td>
  Celcius
  </td>
  </tr>
</table>
</form>