Adobe interview question

Write a function that accepts an integer and converts the result to Roman numerals.