PHP code example of nahid940 / number-to-words

1. Go to this page and download the library: Download nahid940/number-to-words 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/ */

    

nahid940 / number-to-words example snippets


 composer 

  

    use NumberToWords\NumberToWords;
    $nnumber_to_words=new NumberToWords();

   $nnumber_to_words->convertToWords(number,currency);

convertToWords(number,currency)