Source for file I18N_Number.php
Documentation is available at I18N_Number.php 
    require_once 'I18N/Number.php';   
    $locales = array ('de_DE','en_US','fr_FR','it_IT');   
    foreach( $locales as  $aLocale )  
        myPrint(" <h1>\$number = new I18N_Number( '$aLocale' );</h1>" );   
        myPrint( $number->format ( 1000000  ) );   
        myPrint( $number->format ( 100000.99  ) );   
        // set some sencesless format, which has  
        // 4 - digits behind the decimal seperator  
        // ; - as the decimal seperator  
        // : - as the thousands seperator  
        $myFormat =  $number->setFormat (array ( 4  , ';' , ':' ));   
        myPrint( $number->format ( 1000000.99  ) );   
        // using all currently available formats, including myFormat, which we defined above  
        myPrint( $number->format ( pi() , $myFormat ) );   
 
 
        
		    
 
		    Documentation generated on Mon, 11 Mar 2019 15:36:11 -0400 by  phpDocumentor 1.4.4. PEAR Logo Copyright ©  PHP Group 2004.
	        
       |