getLeanBodyMass static method
去脂体重 @param: weight(kg) @param: bfr(体脂率 body fat rate) @result: (kg)
Implementation
static String getLeanBodyMass(
double weight,
double bfr, {
int fractionDigits = 1,
}) {
double fatMass = weight * bfr / 100;
return (weight - fatMass).toStringAsFixed(fractionDigits);
}