PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dmytro Zarezenko  >  Arabic and Roman Numeral Convertor  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Arabic and Roman Numeral Convertor
Convert numbers between Arabic and Roman formats
Author: By
Last change:
Date: 9 years ago
Size: 238 bytes
 

Contents

Class file image Download
<?php
require ("arroconvertor.class.php");

$ArRo= new ArRoConvertor ();

$Arabic= 6215;
$Roman = "CCXV";

print
$Arabic . " : " . $ArRo->ArabicToRoman($Arabic) . "<br>";
print
$Roman . " : " . $ArRo->RomanToArabic($Roman);

?>