format abstract method

String format({
  1. bool thousands = true,
  2. String thousandsDelimiter = ',',
})

Formats this number to a String.

  • If thousands is true it will use thousands delimiters for the wholePart.
  • thousandsDelimiter is the thousands delimiter.

Implementation

String format({bool thousands = true, String thousandsDelimiter = ','});