Skip to main content
Version: 4.1

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

NameTypeDescription
pricenumberOriginal price to be formatted

Returns

string

Formatted price