Java Fahrenheit to Celcius fahrenheitToCelsius(double temp)

Here you can find the source of fahrenheitToCelsius(double temp)

Description

fahrenheit To Celsius

License

Open Source License

Declaration

public static double fahrenheitToCelsius(double temp) 

Method Source Code

//package com.java2s;
/*/*  www.j a  va2 s . com*/
 * Intake, a command processing library
 * Copyright (C) sk89q <http://www.sk89q.com>
 * Copyright (C) Intake team and contributors
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

public class Main {
    public static double fahrenheitToCelsius(double temp) {
        return (temp - 32) * 5.0 / 9.0;
    }
}

Related

  1. fahrenheit2celcius(double f)
  2. fahrenheitToCelsius(double fahrenheit)
  3. fahrenheitToCelsius(float fahrenheit)
  4. toCelsius(double f)