Converts kilograms to pounds. - Android java.lang

Android examples for java.lang:Math Convert

Description

Converts kilograms to pounds.

Demo Code


//package com.java2s;

public class Main {
    /**/* ww  w  .  ja v  a 2s  .  c  o m*/
     * Converts kilograms to pounds.
     * 
     * @param weight  to be converted.
     * @return value converted to kgs.
     */
    public static double kgToPounds(double weight) {
        return weight * 2.2;
    }
}

Related Tutorials