ClassesBigCommerceCurrencyCurrency Formatter

Currency_Formatter

Interface for formatting numeric values into currency strings.

Provides a contract for implementing currency formatting functionality with a standardized method.

  • Full name: \BigCommerce\Currency\Currency_Formatter

Methods

format

Formats a numeric value into a currency string.

public format(string|int|float $value): string

Parameters:

ParameterTypeDescription
$valuestring|int|floatThe numeric value to be formatted.

Return Value:

The formatted currency value.



Automatically generated on 2025-01-21