format method

String format(
  1. String format
)

format the current number using NumberFormat ex. #.0#

Implementation

String format(String format) {
  if (this == null) return '';
  return formatWith(NumberFormat(format));
}