Converts the weight value from kilogram to pounds (lbs). - Java java.lang

Java examples for java.lang:Math Convert

Description

Converts the weight value from kilogram to pounds (lbs).

Demo Code


//package com.java2s;

public class Main {
    /**/*from   www.  j a va 2s.  c om*/
     * Converts the weight value from kilogram to pounds (lbs).
     *
     * @param kilogram weight value in kilogram
     * @return value in pounds
     */
    public static double convertKilogram2Lbs(double kilogram) {
        return kilogram * 2.2046d;
    }
}

Related Tutorials