is it possible

1. Senior Member
Join Date
Dec 1969
Posts
141

## is it possible

is it possible to use asp to generate<BR>for example<BR>7,500 =&#062; seven thousand five hundred???

2. Senior Member
Join Date
Dec 1969
Posts
2,225

## no <eop>

.

3. Senior Member
Join Date
Dec 1969
Posts
11,334

## Yes it is <nm>

boo

4. Senior Member
Join Date
Dec 1969
Posts
2,225

## OK, Prove it. <eop>

.

5. Senior Member
Join Date
Dec 1969
Posts
999

## OK

http://www.clearviewdesign.com/NEWBIE/NumToWords.asp<BR><BR>blatently someones homework tho

6. Senior Member
Join Date
Dec 1969
Posts
16,931

## Of course it can...

..it&#039;s just string manipulation...<BR><BR>You convert it to a number (remove the commas etc), then back to a string, and then just analyse it.<BR>You find the length, that gives you the ^10 of each number, and then you go through each character and find the value of it. Then you have an array of what each set is called ("hundred", "thousand", etc). Tens and single digits obviously class slightly different, but you could get around it...<BR><BR>Craig.

7. Senior Member
Join Date
Dec 1969
Posts
2,225

## Now do the opposite...

and turn the words into numbers.. You will have to do that for comparision.

8. Senior Member
Join Date
Dec 1969
Posts
2,225

## You are focusing

on turning the numbers into words...<BR><BR>to do the comparision she wants, you have to turn the words into numbers...

9. Senior Member
Join Date
Dec 1969
Posts
16,931

## Again, just analysis of the string...

Come on, ok, it may be quite hard to get working perfectly... But it&#039;s not theoretical nuclear physics. The string will have a syntax, so it&#039;s just a matter of decomposing it...<BR><BR>Craig.

10. Senior Member
Join Date
Dec 1969
Posts
1,686

## I like

the fact that the word "TEEN" is in it *giggle*

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•