fixedFraction static method

double fixedFraction(
  1. double? data
)

Implementation

static double fixedFraction(double? data) {
  return double.parse((data ?? 0.0).toStringAsFixed(6));
}