convert Celsius To Kelvin - Android java.lang

Android examples for java.lang:Math Convert

Description

convert Celsius To Kelvin

Demo Code


//package com.java2s;

public class Main {
    public static float convertCelsiusToKelvin(float celsius) {
        return (float) (celsius + 273.15);
    }//from  w w w .  j  a v  a  2 s. co  m
}

Related Tutorials