Home > widget-integration > PredictiveBundleService > formatPrice

PredictiveBundleService.formatPrice() method

Formats a monetary value using the current shop currency settings.

Signature:

formatPrice(params: FormatPriceParams): string;

Parameters

Parameter

Type

Description

params

FormatPriceParams

Formatting configuration.

Returns:

string

Localized currency string.