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 |
Formatting configuration. |
Returns:
string
Localized currency string.