Here you can find the source of getTempInFahrenheit(int celsius)
public static int getTempInFahrenheit(int celsius)
//package com.java2s; //License from project: Apache License public class Main { public static int getTempInFahrenheit(int celsius) { return getIntWithRound((float) (celsius * 1.8)); }/*from w w w .ja v a 2 s. c o m*/ public static int getIntWithRound(float f) { return Math.round(f); } }