formatAsScientific method

String formatAsScientific({
  1. String? locale,
})

Formats the number as a scientific value with the given locale.

Implementation

String formatAsScientific({String? locale}) {
  return NumberFormat.scientificPattern(locale).format(this);
}