Helper for formatting amount in currencies available in Dotpay.
| package |
Default |
|---|
format(float $amount, string $currency, boolean $rounded = true) : string
floatAmount to format
stringCurrency code
booleanFlag if amount should be rounded by round() function
string
DEFAULT_PRECISION
CURRENCY_PRECISION :