Skip to content

Instantly share code, notes, and snippets.

@lazyval
Created March 4, 2013 21:50
Show Gist options
  • Select an option

  • Save lazyval/5086004 to your computer and use it in GitHub Desktop.

Select an option

Save lazyval/5086004 to your computer and use it in GitHub Desktop.
val tens = Map (
'2' -> "Twenty",
'3' -> "Thirty",
'4' -> "Fourty",
'5' -> "Fifty",
'6' -> "Sixty",
'7' -> "Seventy",
'8' -> "Eighty",
'9' -> "Ninety"
) withDefaultValue("")
val everyThingElse = Map (
'1' -> "One",
'2' -> "Two",
'3' -> "Three",
'4' -> "Four",
'5' -> "Five",
'6' -> "Six",
'7' -> "Seven",
'8' -> "Eight",
'9' -> "Nine"
) withDefaultValue("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment