Philip,

If you include the and it implies a decimal.

101.50 is  one hundred one and fifty

Thank You,
Peter

Peter J. MacDonald II
Creative Computing, Inc.
100 Middle Street
Lincoln, RI 02865
Phone: 401.727.0183 x123
Fax: 401.727.4998
Portable: 401.965.3661
E-MAIL: [EMAIL PROTECTED]
Web Page: www.creatcomp.com



-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 12:47 PM
To: CF-Talk
Subject: RE: Numbers to Text


> > Anyone know of a custom tag available or a means within CF to convert
> > numbers to text... 2 to two, 100 to one hundred, etc.?
>
> http://www.tei.or.th/eic/ under the free link.

Nice tag apart from it's gramatical problems...

101 should be "one hundred and one" and not "one hundred one"

Also, it treats billions in American and ignores British... so for UK sites
it'd be wrong

In case anyone is wondering, an American Billion is 1,000,000,000 (10^9)
while a British Billion is 1,000,000,000,000 (10^12)
Similarly, an American Trillion is 10^12 while a British Trillion is 10^18

The British version is seen as "Bi-million" as in "Million million" and
"Tri-million" as in "Million million million" - the further you take this
the bigger the different...

Strange but often ignored number fact...

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to