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
| Name | Type | Description |
|---|
price | number | Original price to be formatted |
Returns
string
Formatted price