question: public static String formatTemperature ( Context context , double temperature , boolean isFarhenheit ) { if ( isFarhenheit ) temperature = 1.8 * ( temperature - 273 ) + 32 ; else temperature = temperature - 273 ; return String . format ( context . getString ( R . string . format_temperature ) , temperature ) ; }
target:  Helper method to format the Temprature returned by the OpenWeatherMap call. The default is Celsius.