convert Centimeter to Inch - Android java.lang

Android examples for java.lang:Math Convert

Description

convert Centimeter to Inch

Demo Code


//package com.java2s;

public class Main {
    public static float convertCentimetertoInch(float centimeter) {
        return (float) (centimeter * 0.393701);
    }/*w w  w .  j  ava  2 s  .co m*/
}

Related Tutorials