Table of Contents

Interface IPriceFormatter

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Interface for price formatting.

public interface IPriceFormatter
Extension Methods

Methods

Format(decimal, PriceFormatConfiguration)

Formats the price.

string Format(decimal price, PriceFormatConfiguration configuration)

Parameters

price decimal

Price to format.

configuration PriceFormatConfiguration

Object containing settings for formatting the price.

Returns

string