formatCurrency function
Formats a double value to a currency string using the _kCurrencyFormatterSymbolWithCents.
Returns 'n/a' if the value is null.
Implementation
String formatCurrency(double? value) {
if (value == null) return formatNullable(value);
return formatNullable(_kCurrencyFormatterSymbolWithCents.format(value));
}