{{theTime}}

Search This Blog

Total Pageviews

Java script to convert to Celsius

<!DOCTYPE html>
<html>
<body>

<h2>Learn JavaScript </h2>

<p>Convert To Celsius: c = (f-32)*(5/9)

95 Celsius=
</p>
<p id="result"></p>

<script>
function converttoCelsius(f) {
return (5/9) * (f-32);
}
document.getElementById("result").innerHTML = converttoCelsius(95);
</script>

</body>
</html>

No comments:

gradlew : The term 'gradlew' is not recognized as the name of a cmdlet, function, script file , or operable program

The command gradlew was not found, but does exist in the current location.  Windows PowerShell does not load commands from the current locat...