Subscribe to Subscribers

Resources » Code Snippets » C# Syntax

Convert farenheit to celcius


Posted Date:     Category: C# Syntax    
Author: Member Level: Silver    Points: 5



This code is used to convert celcius to farenheit.


Function CelsiusToFahrenheit(ByVal value As Single) As Single
CelsiusToFahrenheit = value * 1.8 + 32
End Function


This code used to convert farenheit to celcius.


Function FahrenheitToCelsius(ByVal value As Single) As Single
FahrenheitToCelsius = (value - 32) / 1.8
End Function





Did you like this resource? Share it with your friends and show your love!


Responses to "Convert farenheit to celcius"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Showing only selected country that is stored in database
    Previous Resource: Saving excelsheet in Database using Fileupload C#
    Return to Resources
    Post New Resource
    Category: C# Syntax


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    (No tags found.)

    Awards & Gifts
    Talk to Webmaster Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2013 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.