Preface
I recently had need to convert a number to Roman Numerals and wrote a universal function for the task. Please feel free to use this function without credit.
Usage
string=romanNumeral(integer)
Limitation
The Roman Numeral for 5,000 is not present in the ASCII table, therefor the function can only return a value of 3,999 or less.
There's a 1000 diference? That is because the numeral for 4,000 actually uses the numeral for 5,000 to depict it.
The numeral itself is a V with a horizontal line above it, I have tried to use extended ASCII characters to reposition the cursor but DBPro doesn't seem to support that. This is not a failing of DBPro really as such conventions have not existed in the Windows era.
The Romans had no numeral for the number 0 and therefor cannot express negative numbers.
The function therefor is limited to the range 1-3999.
Pneumatic Dryll
http://www.users.globalnet.co.uk/~thane/char01.jpg[/img]