This question already has answers here: Closed 11 years ago. Possible Duplicate: How do you find a roman numeral equivalent of an integer
I have regular expression (IX|IV|V?I{0,3}|M{1,4}|CM|CD|D?C{1,3}|XC|XL|L?X{1,3}) I use it to detect if there is any roman number in text.
I\'m trying to write a function that converts numbers to roman numerals. This is my code so far; however, it only works with numbers that are less than 400. Is there a quick and easy way to do this co
I have text file format like this SKI SKII SKIII SKIV SKV SKVI SKVII I want to convert it with sed command into numerical. Can you help me out?
I am working on a new project that involves government funding. As such we will have objects (classes, properties, methods) that reference government legislation which have names like Title II, Title
This question already has answers here: Closed 11 years ago. 开发者_开发技巧 Possible Duplicate: How to convert integer value to Roman numeral string?
I have an array containing Roman numerals (as strings of course). Like this: $a = array(\'XIX\', \'LII\', \'V\', \'MCCXCIV\', \'III\', \'XIII\');
I\'m trying to figure out how to replace some text in this string: \'some text blah blah XII\' I need to replace the Roman Numerals with an empty string, resulting in:
Using PHP, I\'d like to convert a string containing a Roman number into its integer representation. I need this because I need to make calculations on them.
I need to convert Arabic to Roman. I have a method number(int place), that gets each dig开发者_如何学Cit from a certain number.