PHP code example of mtferreira / numeroextenso

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

    

mtferreira / numeroextenso example snippets




use Mtferreira\NumeroExtenso\NumeroExtenso;

$extenso = NumeroExtenso::converter(123.45);
echo $extenso;



use Mtferreira\NumeroExtenso\NumeroExtenso;

$negativo = NumeroExtenso::converter(-1);
echo $negativo;