Bug 86893 - [NEW PORT] devel/pear-Numbers_Words: package provides methods for spelling numerals in words.
Summary: [NEW PORT] devel/pear-Numbers_Words: package provides methods for spelling nu...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 14:40 UTC by Piotr Rybicki
Modified: 2005-10-07 20:59 UTC (History)
0 users

See Also:


Attachments
file.shar (3.41 KB, text/plain)
2005-10-04 14:40 UTC, Piotr Rybicki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Rybicki 2005-10-04 14:40:22 UTC
With Numbers_Words class you can convert numbers
written in arabic digits to words in several languages.
You can convert an integer between -infinity and infinity.
If your system does not support such long numbers you can
call Numbers_Words::toWords() with just a string.

With the Numbers_Words::toCurrency($num, $locale, 'USD') method
you can convert a number (decimal and fraction part) to words with currency name.

The following languages are supported:
* bg (Bulgarian) by Kouber Saparev
* cs (Czech) by Petr 'PePa' Pavel
* de (German) by me
* dk (Danish) by Jesper Veggerby
* ee (Estonian) by Erkki Saarniit
* en_100 (Donald Knuth system, English) by me
* en_GB (British English) by me
* en_US (American English) by me
* es (Spanish Castellano) by Xavier Noguer
* es_AR (Argentinian Spanish) by Martin Marrese
* fr (French) by Kouber Saparev
* fr_BE (French Belgium) by Kouber Saparev and Philippe Bajoit
* he (Hebrew) by Hadar Porat
* hu_HU (Hungarian) by Nils Homp
* id (Indonesian) by Ernas M. Jamil and Arif Rifai Dwiyanto
* it_IT (Italian) by Filippo Beltramini and Davide Caironi
* lt (Lithuanian) by Laurynas Butkus
* pl (Polish) by me
* pt_BR (Brazilian Portuguese) by Marcelo Subtil Marcal and Mario H.C.T.
* ru (Russian) by Andrey Demenev
* sv (Swedish) by Robin Ericsson

WWW: http://pear.php.net/package/Numbers_Words
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-10-07 20:59:24 UTC
State Changed
From-To: open->closed

New port added in textproc category.