views:

203

answers:

2

I am receiving data which I am basically recreating the image of a check for filing purposes. I have the monetary amount of the check coming in, but I need to create the written out value.

i.e $2400.22 >> Two Thousand Four Hundred Dollars and Twenty Two Cents

Was wondering if any one out there knows of a pre-packaged class or something so I don't have to rewrite the wheel.

Cheers.

A: 

It's not hard to write, but a quick search turns up this CodeProject article, for example.

Joey
+2  A: 

You can take a look at BenAlabasters answer in this code golf question for an idea of how to do this.

Brandon
+1 I was looking for that very question; you beat me to it.
Donut
Vastly superior to the CodeProject one.
Robert Harvey