PLEASE FULLY READ THE RULES! Sorry for all caps, I had to get your attention. Welcome to the thirteenth codegolf challenge! In this challenge, you will have to write a block that converts a number n to the shortest possible string in Roman numerals. Try to minimize your block count! Limits: n will be a positive integer. 0<n<1001 I=1 V=5 X=10 L=50 C=100 D=500 M=1000 To subtract, put a number before the following one. You may NOT use any elements of the project containing predefined data including costumes, backdrops, variables, lists, and long strings. Test cases: 1=>"I" 3=>"III" 4=>"IV" 24=>"XXIV" 501=>"DI" 999=>"CMXCIX" 1000=>"M"
Have fun! I hope this isn't too hard... Entries so far: