Shahzad.Butt wrote: > > <CFSet a = "0"> > <cfoutput>#LSCurrencyFormat(a, "local")#</cfoutput> > WORKS > > but > > <CFSet a = ""> > <cfoutput>#LSCurrencyFormat(a, "local")#</cfoutput> > Doesn' WORK.
CFML Reference: LSCurrencyFormat LSCurrencyFormat(number [, type ]) Considering an empty string is not a number, I am not surprised and would not call it a bug. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

