Difference between revisions of "User talk:SteveBaker"

From Wikiid
Jump to: navigation, search
(Replacing page with '{{User:SteveBaker/fc.js}}')
Line 1: Line 1:
<nowiki>
+
{{User:SteveBaker/fc.js}}
<SCRIPT LANGUAGE="JavaScript">
+
 
+
 
+
function CF(){
+
        var c = document.convert.Celsius.value;
+
 
+
        document.convert.fahrenheit.value = 9*c/5 + 32;
+
 
+
}
+
 
+
function FC(){
+
 
+
        var f = document.convert.fahrenheit.value;
+
 
+
        document.convert.Celsius.value = (f-32)* 5/9;
+
 
+
}
+
 
+
 
+
</SCRIPT>
+
</nowiki>
+

Revision as of 21:32, 19 November 2007

User:SteveBaker/fc.js