Displaying  Source Code(s)  
 

 
DegC Function

--------------------------------------------------------------------------------

Description : The DegC function returns the Celcius equivalent of a Fahrenheit temperature. Use the DegF Function to convert Celcius to Fahrenheit.

<%
Private Function DegC(ByVal fahrenheit)
DegC = (fahrenheit - 32) / 1.8
DegC = Round( DegC, 1 )
End Function
%>
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG