I don't know if there's an "official" standard for this, but I would have
thought that each group (of three digits) would include an and:

$1,253,812 =>
One million two hundred and fifty three thousand eight hundred and twelve
dollars

Tore.

-----Original Message-----
From: Bleier, Brenda G (SAIC) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 9:12 AM
To: ActiveServerPages
Subject: RE: Currency to Words function for ASP


you are correct Chris!

-----Original Message-----
From: Chris Tifer [mailto:[EMAIL PROTECTED]]
Sent: August 28, 2002 10:54 AM
To: ActiveServerPages
Subject: Re: Currency to Words function for ASP


Just so you're aware, I believe "and" is only used when
describing the cents portion. The current output you showed
is correct.

Anyone else think differently?

Chris Tifer
http://www.emailajoke.com



----- Original Message -----
From: "Matthew Tarzwell" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 5:14 PM
Subject: Currency to Words function for ASP


Hi Everyone,

This is a great list and always has interesting discussions.

My questions is, does any one have an VBScript or Visual Basic function
that converts a currency variable to a written string? The current one
we have works well, but it is doesn't handle every situation.

For example when using his number $1,302,200.00
it prints "One Million Three Hundred Two Thousand Two Hundred Dollars"

But we are looking for one that properly includes an "and" where
appropriate. So the above example would read
"One Million Three Hundred and Two Thousand Two Hundred Dollars"

We are not really sure which (if either) is considered proper. But it is
for an insurance application, if it sees rather picky. Thanks for you
help!

Matthew



---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to