static String formatNumber(double number, {decimalPattern = 'id_ID'}) { final f = new NumberFormat.decimalPattern(defaultDecimalPattern ?? decimalPattern); return f.format(number); }