convert Kilometer To Meter - Android java.lang

Android examples for java.lang:Math Convert

Description

convert Kilometer To Meter

Demo Code


//package com.java2s;

public class Main {
    public static float convertKilometerToMeter(float kilometer) {
        return (float) (kilometer * 1000);
    }/*w  w  w  .j a va 2s  .c om*/
}

Related Tutorials