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
price
decimalPrice to format.
context
PriceFormatContextObject containing context data for formatting the price.
Returns
- string