|
-
Nov 15th, 2000, 06:04 PM
#1
Thread Starter
New Member
I need to know how to (cleanly) convert dates (i.e. 03/23/89) into a word-filled phrase (i.e. "March Twenty Three Eighty Nine")
While I have some idea how to go about this, I keep running into problems with messy code. My question is, What is the best way to go about writing this code?
Should I use select case?
Certain loops?
Thanks for your help ahead of time!
-
Nov 15th, 2000, 06:08 PM
#2
Hyperactive Member
select case..
I would use select case but im sure someone has a better idea!
Matt 
-
Nov 15th, 2000, 11:03 PM
#3
Hyperactive Member
yup ... i would use select case for this because it probably be much neater to read then a bunch of if...then codes
you should store the numbers in a string then read the numbers with the mid statement
then depending on what that number is you would give it a word value
-
Nov 15th, 2000, 11:13 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|