Here you can find the source of kelvinsToFahrenheit(double k)
Parameter | Description |
---|---|
k | The temperature in kelvins. |
public static double kelvinsToFahrenheit(double k)
//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; } }