Skip to main content
Version: 5.0

Interface: IPriceFormatter

Interface to be implemented by the object in order to be used as a price formatter

Methods

format()

format(price): string

Formatting function

Parameters

price: number

Original price to be formatted

Returns

string

Formatted price