Interface IPriceFormatter
Interface for price formatting.
public interface IPriceFormatter
- Extension Methods
Methods
Format(decimal, PriceFormatContext)
Formats the price.
string Format(decimal price, PriceFormatContext context)
Parameters
pricedecimalPrice to format.
contextPriceFormatContextObject containing context data for formatting the price.
Returns
- string