PHP Classes

Roman: Convert between roman and decimal representation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 201 All time: 8,476 This week: 555Up
Version License PHP version Categories
roman 1.0GNU General Publi...5.0PHP 5, Conversion
Description 

Author

This class can be used to Convert between roman and decimal representation.

It can take a number and convert it to a string that represents it in the Roman notation.

The class can also do the opposite, i.e. take a string with a number represented in Roman and converts it back to decimal.

Picture of Christoph Kappestein
Name: Christoph Kappestein <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 2735164 in Germany Germany
Week rank: 227 Up10 in Germany Germany Up

Details

roman - general This class is for encoding decimal numbers to roman numbers and roman numbers to decimal numbers i.e. encode: 5 => V and decode: V => 5 etc.

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file readme.txt Doc. documentation
Plain text file roman.php Class main class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:201
This week:0
All time:8,476
This week:555Up