mini\I18n\Fmt::currency() Method

public static

Signature

public static function currency(float $amount, string $currencyCode): string

Parameters

Name Type Default Description
$amount float required Documentation missing
$currencyCode string required Documentation missing

Returns

string

Documentation

Format currency with explicit currency code

Currency must be explicitly provided - no defaults to prevent pricing errors

Source

src/I18n/Fmt.php:47-51