Converts pounds to kilograms. - Android java.lang

Android examples for java.lang:Math Convert

Description

Converts pounds to kilograms.

Demo Code


//package com.java2s;

public class Main {
    /**//w w w.j a  v  a2s.c  om
     * Converts pounds to kilograms.
     * 
     * @param weight to be converted.
     * @return value converted to punds.
     */
    public static double poundsToKg(double weight) {
        return weight / 2.2;
    }
}

Related Tutorials