Numbertext.org

Home of Soros Programming Language

Learn More Spell Out Numbers

About Us


Spelling out numbers and money amounts in LibreOffice Calc

From Numbers to Number Names

We provide easy to configure, lightweight open source C++, Java, JavaScript, Python libraries and a LibreOffice Spreadsheet extension for number to number name conversion, including cardinal and ordinal numbers, ordinal indicators and money amounts with currencies in more than 30 languages and numeral systems.

Join the Numbertext/LibreOffice development: please, check the Soros language tutorial in the integrated language module development environment, fix bugs or missing parts of the language modules, or create new modules based on the existing ones!

Background

NUMBERTEXT/MONEYTEXT functions and Soros programming language was developed in 2009 for generalization of BAHTTEXT spreadsheet function, a function of Microsoft Excel for number to Thai number name and currency conversion, standardized by ECMA–376 and ISO/IEC 29 500:2008 Office Open XML format.

Soros programming language is based on regular expressions, just like its small interpreters (in Python: less, than 120 lines). Despite its simplicity, it can handle language variants, complex spelling functions and rules in a concise manner.

Download


LibreOffice

Extension with NUMBERTEXT and MONEYTEXT spreadsheet functions: numbertext-1.0b2.oxt (description)

C++

Source distribution (1.0 beta 2): libnumbertext-1.0.1-3.tar.xz (installation)

Java

JAR package: numbertext.jar (1.0 beta 2). Usage: java -jar numbertext.jar

Python & JavaScript

Interpreters: Soros.py and Soros.js. For usage, see source distribution (zip or tar.gz).

Sources

Repository on GitHub: Numbertext/libnumbertext

Add a new language

module or fix an old one in the integrated development environment.

Soros language

Specification and Tutorial.

Feedback

Please, use GitHub Issues to report problems in code and language data.

Developer

LÁSZLÓ NÉMETH

Language module developers

MIHAIL BALABANOV (Bulgarian) • ALEX BODNARU (Hebrew) • ASTERISKS (Latvian) • MIKE KAGANSKI (Russian) • EDUARDO MORENO (Portuguese) • EKO PRASETIYO (Indonesian) • GORAN RAKIĆ (Serbian) • RANDEM (Turkish) • OLIVIER RONEZ (Belgian and Swiss French) • MIHOVIL STANIĆ (Croation) • SUOKUNLONG (Simplified Chinese) • MICHEL WEIMERSKIRCH (Luxembourgish)

Contributors

LIUDAS ALIŠAUSKAS • MUSHTAQUE ASGHAR • ATTILAFDD • RUUD BAARS • ADOLFO JAYME BARRIENTOS • STEPHAN BERGMANN • CLAUDIO COLOMBO • DÁNIEL DARABOS • SUSANA SOTELO DOCÍO • RENE ENGELHARD • SOPHIE GAUTIER • GEORGEPYH • LUCIAN ADRIAN GRIJINCU • JMZAMBON • KENT KARLSSON • MANTAS KRIAUČIŪNAS • RIMAS KUDELIS • MIKE8P • MARCIN MIŁKOWSKI • PETR MLADEK • JOAN MONTANÉ • JULIEN2412 • BERNARD MARCELLY • JERZY MORUŚ • MRW • VALTER MURA • JULIEN NABET • STEPHAN NILSSON • NICOLAS PAGNI • GWENAËL QUENETTE • EIKE RATHKE • MODESTAS RIMKUS • ROGERCLC • JOHANNA SØRENSEN • MARCIN STĘPNIAK • SUPAPONG • KÁLMÁN SZALAI • TANTAI THANAKANOK • XHYDROGENE • LAIMONAS VĖBRA • WASOW • FRIEDEL WOLFF

Donors

FSF.hu Foundation, Hungary • NLNet Foundation, Netherlands

Spell out number     as