Re: "Four" to 4
- From: "Tom Leylan" <gee@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Nov 2006 15:44:32 -0500
This has been done countless times in the last few decads and you should be
able to find examples on the Internet. You may or may not find one in
VB.Net but you should be able to convert the few lines of Java, VB6 or what
have you if you don't locate one in your language of choice.
As for Roman Numeral conversion (somebody else posted about it) I would
suggest reading a thread from 2003. It is a great esample of how one guy
learned by constant refining of the process. Cor was in on it along with
Fergus Cooney (whatever happened to him Cor?) and me along with a few
others. Before you grab the code, read the thread and note that I have a
completed set of functions near the end of the thread so you shouldn't grab
the interim versions.
Search for "Looping for user input in a textbox" or use this link:
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/browse_frm/thread/f94daee1c21157f5/0f55f44be05b50b5?lnk=st&q=%22Looping+for+user+input+in+a+textbox%22&rnum=1#0f55f44be05b50b5
"Bubba" <nate_p_smith@xxxxxxxxxxx> wrote in message
news:eaXwcdYDHHA.4832@xxxxxxxxxxxxxxxxxxxxxxx
Has anyone ever run into a problem converting a text version of number to
it's whole number equivalent? If so, can someone please post an example
in 2005 of how this is handled?
ex. "Four" to 4 or "Forty-Five" to 45
Thank you
.
- Follow-Ups:
- Re: "Four" to 4
- From: Cor Ligthert [MVP]
- Re: "Four" to 4
- References:
- "Four" to 4
- From: Bubba
- "Four" to 4
- Prev by Date: Re: How to identiy numerics in a string?
- Next by Date: Re: Visual Basic to be discontinued in 2008??
- Previous by thread: Re: "Four" to 4
- Next by thread: Re: "Four" to 4
- Index(es):
Relevant Pages
|