You can just do a
<cfset setLocale("English (Australian)")> on every request (or
application.cfm) and 'bobs ur uncle mate' J
No need to worry about what the admin has set the server to be.
Pat
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of wikiwikiman
Sent: Wednesday, 9 July 2008 5:55 PM
To: [email protected]
Subject: Re: [Reactor for CF] DecimalFormat comma causing problems
That is OK if your application is only used in a single "locale".
Unfortunately we can't be sure which "locale" is set up by the server
administrators (don't ask me why, because I can't explain that either - but
it is a real problem), so I prefer to force it to a single value and work
from there.
W.
On Wed, Jul 9, 2008 at 9:38 AM, Barry Beattie <[EMAIL PROTECTED]>
wrote:
what on earth is wrong with the inbuilt LSCurrencyFormat() function?
use the type of "none" to get rid of the symbol at the front.
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa27.htm
and the good thing is that it will adjust to the locale standard.
even adjusts whether the locale is Dutch (Belgian) or English (Australian)
(see the diff between how the "," and "." are used in each)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --