Converting words to numbers
From: Bill Gowan (gowan_at_frontiernedotnet)
Date: 03/10/05
- Next message: Fleone: "Re: Solution for conditional formatting issue"
- Previous message: Robin Hammond: "Re: Excel ADO-Bad Field in Access"
- Next in thread: Chip: "Re: Converting words to numbers"
- Reply: Chip: "Re: Converting words to numbers"
- Reply: Bob Phillips: "Re: Converting words to numbers"
- Reply: Bill Gowan: "Re: Converting words to numbers - Thanks!!"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Mar 2005 18:23:59 -0500
I had a teacher ask me if I could write a program that would convert words
to numerical equivalents. It's been a long time since I have done
programming so I am asking for help.
She is going to tell the kids they need to come up with a word that equal
(lets say) 30.
We always assume that a=1 b=2 c=3 d=4 etc.
Can anyone help me?
I managed to get the word that was entered and the length of the word. I
think the next think I have to do is convert the word into an array and then
convert each letter into a number.
The place I am stuck is converting the word into an array that I can work
with.
Thnaks in advance for any help!
- Next message: Fleone: "Re: Solution for conditional formatting issue"
- Previous message: Robin Hammond: "Re: Excel ADO-Bad Field in Access"
- Next in thread: Chip: "Re: Converting words to numbers"
- Reply: Chip: "Re: Converting words to numbers"
- Reply: Bob Phillips: "Re: Converting words to numbers"
- Reply: Bill Gowan: "Re: Converting words to numbers - Thanks!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|