String toCurrency({String pattern = '#,##0.00', String? locale}) { return NumberFormat(pattern, locale).format(this); }