eMI NumberToWord Library
Developer: | eMedia Intellect |
---|---|
Initial release: | |
Stable release: | 2.0 () |
Written in: | C++ (UTF-8) |
Operating system: | Cross-platform |
Size: | 103724 bytes |
Development status: | Active |
Available in: | English |
Type: | Converter library |
Licence: | GNU GPLv3 |
Download: | github.com root.emi.is |
eMI NumberToWord Library is a simple library that converts a number represented in digits (e.g. 500) into the equivalent in words (e.g. five hundred).
Overview
The following options can be combined as need be:
- --noand
- Do not use the word and in the number.
- --nocapitalise
- Do not capitalise the first letter of the number.
- --nocomma
- Do not use commas in the number.
- --nofullstop
- Do not end the word with a full stop.
On Linux:
user@computer:/ NumberToWord 9999 Nine thousand, nine hundred and ninety-nine.
user@computer:/ NumberToWord 9999 --noand Nine thousand, nine hundred ninety-nine.
user@computer:/ NumberToWord 9999 --noand --nocomma Nine thousand nine hundred ninety-nine.
user@computer:/ NumberToWord 9999 --noand --nocomma --nocapitalise nine thousand nine hundred ninety-nine.
user@computer:/ NumberToWord 9999 --noand --nocomma --nocapitalise --nofullstop nine thousand nine hundred ninety-nine
On Microsoft Windows:
C:\> NumberToWord.exe 9999 Nine thousand, nine hundred and ninety-nine.
C:\> NumberToWord.exe 9999 --noand Nine thousand, nine hundred ninety-nine.
C:\> NumberToWord.exe 9999 --noand --nocomma Nine thousand nine hundred ninety-nine.
C:\> NumberToWord.exe 9999 --noand --nocomma --nocapitalise nine thousand nine hundred ninety-nine.
C:\> NumberToWord.exe 9999 --noand --nocomma --nocapitalise --nofullstop nine thousand nine hundred ninety-nine
Directory contents
Directory index
- eMI NumberToWord Library directory
- Build directory
- Linux directory
- eMI NumberToWord Library.makefile file
- Microsoft Windows directory
- Build-project.cmd file
- Clean-project.ps1 file
- eMI NumberToWord Library.msbuild file
- Linux directory
- Library directory
- NumberToWord directory
- Converter.cpp file
- Converter.hpp file
- ProcessedTriplet.hpp file
- main.cpp file
- NumberToWord directory
- gpl-3.0.txt file
- Build directory
Build directory
The Build directory contains the project files for Make and MSBuild.
Library directory
The Library directory contains the C++ library.
Authorship
Stefán Örvar Sigmundsson, programmer
Licence
eMI NumberToWord Library by eMedia Intellect is licensed under GNU General Public License version 3.