Skip to content

Instantly share code, notes, and snippets.

@jpsim
Created March 12, 2013 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpsim/5147981 to your computer and use it in GitHub Desktop.
Save jpsim/5147981 to your computer and use it in GitHub Desktop.
- (double)convertFarenheitToCelsius:(double)farenheit {
double celsius = 0;
celsius = (5/9) * (farenheit - 32);
return celsius;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment