getWeightControl static method
体重控制量 @param: weight(kg) @param: sex(1: male; Others: Female) @param: height(cm) @result: (positive number: lose weight, negative number: gain weight), kg
Implementation
static double getWeightControl(double weight, int sex, double height) {
final standardWeight = getStandardWeight(sex, height);
return weight - standardWeight;
}