getProteinMass static method

double getProteinMass(
  1. double weight,
  2. double pp
)

蛋白量 @param: weight(kg) @param: pp(蛋白率 protein rate) @result: (kg)

Implementation

static double getProteinMass(double weight, double pp) {
  return weight * pp / 100;
}