Skip to content

formatPrice()

Formats a numeric price using locale and currency options.

Example:

ts
formatPrice(1990, 'ru-RU', 'RUB');

Released under the MIT License.