Formats an action cost for display (the app owns the currency).
typedef NmCostFormatter = String Function(num cost);