Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

shit challenge: numerics to words

Name: Anonymous 2010-07-25 3:01

Weekly Challenge: Programmatically convert any1 string of digits, such as "1234567" to word form, "one million, two hundred thirty-four thousand, five hundred sixty-seven"

Here is mine: http://codepad.org/gyqbaKxx

Criticize my code.  I know it sucks anus.  I would like to make it better.  Submit your own versions as well.

Use whatever language you like[i]!/i]

_____________________________________
1. Up to 18 significant digits is fine.

Name: Anonymous 2010-07-26 19:51

Saying "twenty-sixth of July" (which I often do) or "July twenty-sixth" isn't really as useful as it sounds since months don't have the same calendar organization.  We should start a new shorthand date system that includes and starts with the day of the week.
"Monday, July 26th 2010" becomes 1/07/26/2010, for example.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List