Conversion into roman numbers
In this tutorial we’ll see how to convert a number into roman numbers. To reach our goal we’ll use a function built up for our purpose. If you don’t know what a function is I suggest to read the first part of this tutorial published on this site too.
Our function will be call roman_number(), and will work just with one parameter $number.
The variable that stores the value in roman numbers is called $roman
The following table reassumes roman numbers chars and values compared with ours.

| Hits: | 101 | Last Updated: | 2006-07-08 |
VIEW ALL
PHP Tutorials