PHP Classes

In Lettere: Spell number amounts using Italian words

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 83 This week: 1All time: 10,026 This week: 571Up
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: 42
All time rank: 3627143 in Italy Italy
Week rank: 420 Up17 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  
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  /  src  
File Role Description
Files folder imageInLettere (1 file)

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:83
This week:1
All time:10,026
This week:571Up