PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Stefan Jibrail Froelich   PHP Roman Numeral to Number   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example usage of the Numeralo class
Class: PHP Roman Numeral to Number
Convert numbers between Roman and decimal system
Author: By
Last change:
Date: 9 years ago
Size: 158 bytes
 

Contents

Class file image Download
<?php

for($i=1;$i< 10001; $i++) {

   
$n = Numeralo::number_to_numerals($i);
   
$r = Numeralo::numerals_to_number($n);
    echo
$n . ' : ' . $r . '<hr />';
}