Java Kelvin To Fahrenheit kelvinsToFahrenheit(double k)

Here you can find the source of kelvinsToFahrenheit(double k)

Description

Converts a temperature in kelvins to fahrenheit.

License

Open Source License

Parameter

Parameter Description
k The temperature in kelvins.

Return

The temperature in fahrenheit.

Declaration

public static double kelvinsToFahrenheit(double k) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**// w  ww.j a v a  2s.  co  m
     * Converts a temperature in kelvins to fahrenheit.
     * @param k The temperature in kelvins.
     * @return The temperature in fahrenheit.
     */
    public static double kelvinsToFahrenheit(double k) {
        return ((k - 273.15) * 1.8) + 32;
    }
}

Related

  1. kelvinToFarenheit(double value)