PHP code example of e64f / money2text
1. Go to this page and download the library: Download e64f/money2text 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/ */
e64f / money2text example snippets
64f\money2text\Money2Text;
$money2text = new Money2Text();
$money2text->setCurrency('RUR');
$summ = 456789.45;
$text = $money2text->getText($summ);
echo $text;