Table of Contents

Interface IPriceFormatter

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Interface for price formatting.

public interface IPriceFormatter
Extension Methods

Methods

Format(decimal, PriceFormatContext)

Formats the price.

string Format(decimal price, PriceFormatContext context)

Parameters

price decimal

Price to format.

context PriceFormatContext

Object containing context data for formatting the price.

Returns

string