We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Helper class for currency formatting.
Formats a currency value to string.
Definition: public function Format($amount, $use_plain=false, $only_value=false)
public function Format($amount, $use_plain=false, $only_value=false)
Returns: string Formatted currency string
string
Parameters:
float $amount Value to format
float $amount
bool $use_plain If true will use curreny code instead of symbol
bool $use_plain
bool $only_value If true totally skips currency code or symbol
bool $only_value
Converts a string formatted as supposed in this currency back to float.
Definition: public function StrToCurrencyValue($str)
public function StrToCurrencyValue($str)
Returns: float|false The value or false on error
float|false
string $str