Back to vBulletin 3.8 Add-ons

Dec2Roman
Mod Version: 1.00, by Coroner

vB Version: 3.8.4 Rating: (0 vote - 0 average) Installs: 5
Released: 30 Aug 2009 Last Update: Never Downloads: 40
Not Supported Additional Files Re-usable Code Translations  

This is not a real modification. This is only a php file to convert a decimal number into a roman one.

If this thread is on the wrong place, sorry 'bout this but I haven't permission for Articles - Programming Articles. So move this thread.

How to install it:
Upload the file into you includes folder.
In your PHP file add:
Code:
require_once (DIR . '/includes/dec2romanum.php');
then, you can use the function dec2romanum for converting numbers.

Here is an example:
Code:
$number = 13547;
echo $number . ' => ' . dec2romanum ($number);
Output is:
Code:
13547 => VVMMMDXLVII

Download

File Type: %1$s dec2romanum.php (2.0 KB, 40 downloads)


vblts.ru supports vBulletin®, 2022-2025