format property

String get format

Implementation

String get format {
  switch (this) {
    case NumFormat.defValue:
      return "#,###,##0.##";
    case NumFormat.one:
      return "#,###,##0.0#";
    case NumFormat.two:
      return "#,###,##0.00";
    case NumFormat.three:
      return "#,###,##0.000";
    case NumFormat.four:
      return "#,###,##0.0000";
    case NumFormat.five:
      return "#,###,##0.0000";
    case NumFormat.shortDef:
      return "#,###,##0.#";
    case NumFormat.shortOne:
      return "#,###,##0.0";
    case NumFormat.longDef:
      return "#,###,##0.###";
    case NumFormat.longOne:
      return "#,###,##0.0##";
    case NumFormat.longTwo:
      return "#,###,##0.00#";
    case NumFormat.longThree:
      return "#,###,##0.000";
  }
}