Skip to content

seniorio/roman-numerals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Roman Numerals

Arabic-to-Roman-numerals converter (currently one-way) using regex for a laugh.

require_once __DIR__.'/../vendor/autoload.php';

use Seniorio\Numeralizor;

$numeralizor = new Numeralizor;

echo $numeralizor->arabicToRoman($argv[1])."\n";

exit;

Or:

$ ./bin/roman 10

Warning!

Not a good solution, just a bit of fun with regex.

See comments at https://github.com/seniorio/roman-numerals/blob/master/src/Seniorio/Numeralizor.php for documentation.

About

Roman Numerals conversion from Arabic numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages