<cfset cursym = '€'>
<cfoutput>#replace(dollarformat(price), '$', cursym, 'ALL')#</cfoutput>
i was just wondering if anyone had a better way of doing this; and what about currencies where the symbol is at the end, or they use a comma instead of a period to delimit dollars and cents. my replace statement is going to get huge!
<cfset cursymbol = '€'>
<cfset curdelimiter = ','>
<cfset dsp_price = '#replace(replace(dollarformat(price), '$', cursym, 'ALL'), '.', curdelimiter, 'ALL')#'>
<cfoutput>#dsp_price#</cfoutput>
Thanks
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

