Login   Register  
PHP Classes
elePHPant
Icontem

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nikola Posa  >  Dec2RomanNumConverter  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: Dec2RomanNumConverter
Convert numbers between decimal and roman
Author: By
Last change: minor changes
Date: 4 years ago
Size: 1,000 bytes
 

Contents

Class file image Download
Dec2RomanNumConverter is a PHP class which enables conversion of 
decimal numbers to Roman numerals and vice-versa. Maximal decimal
number which can be handled by Dec2RomanNumConverter::dec2roman()
method is 3999 as larger numbers require a bar above the base numeral.

AUTHOR
------
Nikola Posa <posa.nikola@gmail.com>

FEATURES
--------
- Conversion of decimal numbers to Roman numerals and vice-versa

INSTALLATION
------------
Dec2RomanNumConverter source code is placed in the "libs" dir, so you
should simply copy its content to some of your project's folder, for
example, in folder where you keep your libraries. Path to that folder
should be in the include_path.

USAGE
-----
echo Dec2RomanNumConverter::dec2roman(1987); //MCMLXXXVII
echo Dec2RomanNumConverter::roman2dec('DCCXXIX'); //729

SYSTEM REQUIREMENTS
-------------------
PHP 5 or later.

LICENSE
-------
The files in this archive are released under the GNU General Public License.
You can find a copy of this license in LICENSE.txt.