Skip to content

Instantly share code, notes, and snippets.

@LisaBee224
Created April 12, 2016 02:54
Show Gist options
  • Save LisaBee224/58be0baf246ff78743a1074abc33c31a to your computer and use it in GitHub Desktop.
Save LisaBee224/58be0baf246ff78743a1074abc33c31a to your computer and use it in GitHub Desktop.
def convert_to_roman(arabic)
numeral = ""
number = arabic
$letters.each do |key, value|
numerals += value * (number / key)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment