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