PHP Classes

File: example.php

Recommend this page to a friend!
  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: 18 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);

?>