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 18:32

>>31
You're not thinking outside your Pentium II box. In the real world, nobody says “In the year 2010, the month of July, the twenty-sixth day”.
It's “The twenty-sixth of July, 2010” (or “July [the] twenty-sixth, 2010” but we've already ruled this out as ludicrous).

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