Here you can find the source of getTempInCelsius(float fahrenheit)
private static float getTempInCelsius(float fahrenheit)
//package com.java2s; //License from project: Apache License public class Main { private static float getTempInCelsius(float fahrenheit) { return (fahrenheit - 32) * 5 / 9; }// w w w . ja v a 2s . c om }