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 pascal code to c ?     -  
 convert hexadecimal to decimal     -  
 Convert outputstream to inputstream     -  
 convert XMLGregorianCalendar to GregorianCalendar     -  
 convert word, Excel to PDF     -  
 convert lowercase to uppercase     -  

Topic Tags

ASP Basics