formattedBMI function

String formattedBMI(
  1. double bmi
)

Implementation

String formattedBMI(double bmi) {
  /// The variable that contrains the formatter
  final formatter = NumberFormat('###.#');
  return formatter.format(bmi);
}