convert Kelvin To Celsius - Android java.lang

Android examples for java.lang:Math Convert

Description

convert Kelvin To Celsius

Demo Code


//package com.java2s;

public class Main {
    public static float convertKelvinToCelsius(float kelvin) {
        return (float) (kelvin - 273.15);
    }/*  ww  w.j a  v a  2  s  .c  om*/
}

Related Tutorials