toCurrency method
Converts the number to a currency string format with an optional symbol prefix.
Example:
print(123456.78.toCurrency(symbol: '€')); // Outputs: €123,456.78
Implementation
String toCurrency({String symbol = '\$'}) => formatMoney(symbol: symbol);