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.
|