Interface: IPriceFormatter
Interface to be implemented by the object in order to be used as a price formatter
Methods
format(price
): string
Formatting function
Parameters
• price: number
Original price to be formatted
Returns
string
Formatted price