Skip to content

Commit

Permalink
added page2.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhatyadav60 authored Jun 23, 2023
1 parent fb2ce80 commit 3c5fe31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions page2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


function temperatureConverter(valNum) {
valNum = parseFloat(valNum);
document.getElementById("outputCelcius").innerHTML=(valNum-32)/1.8;
}

0 comments on commit 3c5fe31

Please sign in to comment.