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 PROTECTED]

Reply via email to