Android Fahrenheit to Celsius Convert getTempInCelsius(float fahrenheit)

Here you can find the source of getTempInCelsius(float fahrenheit)

Description

get Temp In Celsius

License

Apache License

Declaration

private static float getTempInCelsius(float fahrenheit) 

Method Source Code

//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
}

Related

  1. convertFromFahrenheitToCelsius(float value)
  2. getTempIntInCelsius(int fahrenheit)
  3. FahrenheitToCelcius(int temp)