PHP Classes

In Lettere: Spell number amounts using Italian words

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 83 All time: 10,061 This week: 36Up
Version License PHP version Categories
inlettere 1.0.3GNU General Publi...5.0Localization, PHP 5, Text processing, F...
Description 

Author

This package is specific mainly for applications used in Italy Italy .

This class can spell number amounts using Italian words.

It can take a given number and returns words that spell the number in Italian as mandated by Banca d'Italia (Central Bank of Italy).

The class can take number amounts of up to billions.

Picture of Alessio Felicioni
  Performance   Level  
Name: Alessio Felicioni <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 43
All time rank: 3635143 in Italy Italy
Week rank: 44 Up2 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Details

php-inlettere

Quick repo to get number translated in italian words for a known amount

why

Needed a way to get suggestion for amount to be written in words on bank cheque (as mandated by [Banca d'Italia / Central Bank of Italy (ECB member)][1]).

usage

Used as a static method.

The parameter for amount is based on cents (so if you need to translate 1.23 EUR to uno/23 EUR, you have to pass 123).

Second parameter is optional, letting specify a custom separator.

Should be nice from 0.01 EUR up to 999999999999.00 EUR

license

See [LICENSE][2]

[1]: https://www.bancaditalia.it/servizi-cittadino/servizi/accesso-cai/faq-assegno/index.html [2]: LICENSE


  Files folder image Files (5)  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file GPL-v.2.0 Lic. License text
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (5)  /  src  
File Role Description
Files folder imageInLettere (1 file)

  Files folder image Files (5)  /  src  /  InLettere  
File Role Description
  Plain text file Cifra.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:83
This week:0
All time:10,061
This week:36Up