toFixed<T extends num> function

String toFixed<T extends num>(
  1. T x,
  2. int l
)

Implementation

String toFixed<T extends num>(T x, int l) {
  return x.toStringAsFixed(l);
}