Switch to full style
ASP/ASP.net examples
Post a reply

convert from celsius to fahrenheit or vice versa

Sun Apr 03, 2011 9:35 pm

Following code convert from celsius to fahrenheit or vice versa
Code:
<% 
'Functions declaration 
'
convert Fahrenheit to Celsius 
Function degreeCelsius 
(ByVal fahrenheit ) 
' conversion equation to celsius
degreeCelsius = (fahrenheit - 32) / 1.8 
End Function 
'
 conversion equation celsius to Fahrenheit 
Function degreeFahrenheit
(ByVal celsius) 
degreeFahrenheit
= celsius* 1.8 + 32 
End Function 
%>

 




Post a reply
  Related Posts  to : convert from celsius to fahrenheit or vice versa
 convert from degrees to radians and vice versa     -  
 Browser Celsius to Fahrenheit Converstion applet     -  
 How to Convert WMV to AVI on Mac     -  
 convert lowercase to uppercase     -  
 convert to binary number     -  
 convert string into binary     -  
 Convert To Upper Case in C++     -  
 convert timestamp using javascript     -  
 Convert String to Date     -  

Topic Tags

ASP Basics