Converting from Centigrade to Fahrenheit and Vice Versa

Use the following code to convert from Centigrade to Fahrenheit and vice versa:

Function CentToFaren(ByVal cent As Double) As Double        Return cent / 0.55555555556 + 32End FunctionFunction FarenToCent(ByVal faren As Double) As Double        Return (faren - 32) * 0.55555555556End Function
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Related Posts