PHP code example of development-x / currency
1. Go to this page and download the library: Download development-x/currency library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
development-x / currency example snippets
echo Currency::convertToText(1.23, Currency::LANG_BG);
echo Currency::convertToText(1.23, Currency::LANG_EN);