# Class Opencart\System\Library\Cart\Currency

Class Currency

Located at system\library\cart\currency.php

Methods
`public` | `__construct(Registry $registry)` Constructor Constructor | #
`public` | `format(float $number, string $currency, float $value = 0, bool $format = true): float|string` Format Format | #
`public` | `convert(float $value, string $from, string $to): float` Convert Convert | #
`public` | `getId(string $currency): int` getId getId | #
`public` | `getSymbolLeft(string $currency): string` getSymbolLeft getSymbolLeft | #
`public` | `getSymbolRight(string $currency): string` getSymbolRight getSymbolRight | #
`public` | `getDecimalPlace(string $currency): int` getDecimalPlace getDecimalPlace | #
`public` | `getValue(string $currency): float` getValue getValue | #
`public` | `has(string $currency): bool` Has Has | #

OpenCart API API documentation generated by ApiGen dev-master